Saw this question and it got me thinking: Is it possible/advisable to run VMware Server ESX/ESXi on a laptop?

Clearly running ESX directly on the laptop metal is not going to work, however I find I do most of my work inside VMWare Workstation and ideally I'd like my base OS to use as little cpu/ram/disk io as possible so my VMs can perform better.

I have found things like TinyXP that would suit me - unfortunetely this is not really legal.

Is there any recommended linux distro with this sort of application in mind? Or can I strip Win7 down to the bones? Win Server 2003/2008 worth looking at?

64 bit would be nice but I'm not sure its essential.

edit: my VMs are mainly windows with and the odd linux 'development appliance' preloaded with LAMP or similar.

link|improve this question
feedback

3 Answers

up vote 1 down vote accepted

I've run Win Server 2008 R2 on a laptop for exactly this purpose before, and it worked fine. Just be sure you mean it when you say that this laptop is "just for" running VMs, because once Hyper-V is enabled, the audio and graphics performance on the parent partition's local console will pretty much suck.

With pretty much everything but Hyper-V turned off, the OS only used about 512MB of RAM (on average). The forthcoming Dynamic Memory feature in SP1 will make scenarios like this even more feasible, as they allow you to oversubscribe the host's RAM and squeeze more VMs onto the laptop.

In my experience, the real performance bottleneck for VMs on laptops isn't the hypervisor -- it's the disk drive. Storing your VMs on an external hard drive is a good way to both improve performance and make your VMs easily portable between machines.

Hope this helps!

link|improve this answer
1  
I should add that there's one big reason not to use ESX or a Server Core Hyper-V host on a laptop -- these solutions provide no way to interact with the VM desktops through the local console, as far as I know. The advantage of a full installation of Server 2008 (or 08 R2) is that you can easily use the virtual machines on the local console using either the Hyper-V management tools or Remote Desktop. – kwbaker Nov 19 '10 at 2:55
Thanks, I'll give Win2008 a shot. I know IO is an issue - SSDs via esata have served me well for drives dedicated to VMs. – Alex Nov 23 '10 at 5:12
feedback

To get the best VM performance you'd need to either run VMWare on the bare metal or try Windows 2K8R2 with the Hyper-V role enabled. I've never played with ESX so I can't comment on that. With enough horse power you should be able to run 2K8R2 though. Maybe a Dell E6510 with a hyper threaded quad core and 8GB RAM. The bottle neck will be disk access regardless of what solution you come up with. An SSD may help.

I see VMWare has something called VMWare Workstation. https://www.vmware.com/products/workstation/

link|improve this answer
VMware Workstation is a great product. I use it on my Windows 7 workstation at work. It's worth noting, though, that it doesn't really get at your goal of having the host OS and/or hypervisor use as little as possible in the way of resources. VMware Workstation isn't a resource hog or anything, but it's nowhere near as lightweight as ESX or Hyper-V on a Server Core. – kwbaker Nov 19 '10 at 2:53
Yes I currently use VMWare workstation. – Alex Dec 26 '10 at 8:39
feedback

VMWare is nice - however you still need to get into the hypervisor somehow - and that can prove difficult if you don't know the CLI or have another system handy to do so.

Approaches to Virtualization (linux)

There are many different approaches to virtualizing a system, each with their own advantages and disadvantages.

Paravirtulization:

In a nutshell, In order to run more efficiently, the guest operating system's kernel is changed out for a kernel that behaves well in a virtualized environment.

Xen, lguest and User Mode Linux do paravirtualization on x86.

Hardware Virtualization

Intel VT and AMD-V CPUs have the ability to run all instructions in an unprivileged virtual machine, and have them behave well. Most of the time much of the resources are emulated (like the clock) However, it allows for a much cleaner implementation of full virtualization.

Xen and KVM do hardware assisted full virtualization.

Operating-System level virtualization - (Containers)

Containers do not run virtual machines at all, but simply segregate multiple user space environments from each other, while everything runs under one kernel. (One major reason many system administrators lvoe this is because they only ever need to patch or maintain 1 kernel vs many.) Container systems tend to have low overhead and high density, but also lower isolation between the different containers. This of course comes at a cost - as container systems only allow 1 kernel running - however they do support various Linux distributions in the different containers at the same time. There are a number of different Container systems - such as Solaris Zones, Linux-VServer and OpenVZ/Virtuozzo. OpenVZ has relatively complete resource isolation between the different containers, the other two have a bit less control. FreeBSD Jails can be seen as a precursor to containers - however Jails of course or make that BSD is not Linux.

Hopefully this helps give you a simple breakdown of Linux virtualization.

IN YOUR CASE I WOULD SUGGEST SOMETHING RUNNING CONTAINERS _ UNLESS YOU REQUIRE WINDOWS:

I would suggest peeking at the Proxmox Project http://www.proxmox.com/products/proxmox-ve It is opensource - and will allow you to test not only KVM but also Container based virtualization on the same system at the same time.

link|improve this answer
3  
Any reason not to link to your initial verbatim copy of this answer? Besides the opening sentence, there is no new information here. – jscott Nov 18 '10 at 8:28
jscott - getting used to the system... strange enough had issues doing so ... so just did a copy and paste - and that is kinda painful on formatting of course new but learning this system thanks for the helpful suggestion – Glenn Kelley Nov 19 '10 at 4:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.