Recommendations For Home Virtualization?
An anonymous reader writes "I'll have to upgrade my home computers sometime in the next few months and I'm thinking it's time to swallow the virtualization pill. Besides the ease of switching between Windows and Ubuntu, I'm looking mainly for the ability to save machine state in order to be able to revert to a known working state. Googling turns up mostly guides from 2009 and earlier. Is VMWare ESX pretty much the way to go? Performance does matter — not for gaming but I am heavily into photography, so apps like Lightroom and Photoshop need to run well. Thanks for any insight."
http://www.virtualbox.org/
I have used VirtualBox quite a bit and I find it completely satisfactory. I have run both Win XP on Ubuntu hosts and Ubunutu on Win XP hosts and it has always worked very well. http://www.virtualbox.org/ I think it would do everything you want.
That depends...do you want one that functions autonomously, or do you want a cardboard cutout?
See here for research****
****Note: Sarcasm
Living With a Nerd
I use VMWare Workstation for much of each day to run MS Office Apps, and it's very useful - but no VM performs well graphically.
For stable server virtualization vmWare ESXi is pretty much the king at the moment, unless you want to pay an insane amount. It's free (as in beer) stable, easy to manage, fast and scalable. Sadly the management tools are windows only, I highly recommend it, if you have suitable hardware.
For workstations it's a bit less clearcut. Generally you want a primary OS in your workstation where you do most of your work, and secondary OS that you boot up in a virtualized environment. The three primary choises are KVM, XEN and OpenVS. They all have performance penalties, and I am not aware of any clear cut advantage for any of the three. I would suggest you go with what is default in your favourite linux distribution, as maintaining virtualization infrastructure isn't an especially fun task.
You mean desktop virtualization? Do you need to run 2+ OSes at the same time? That's what virtualization is for. Or do you need to just suspend and restore states? You can get away with hibernation for that. Or do you mean go back in time to a known working configuration? Windows can do that (System Restore), but I don't really see why you would need that on your main machine. If you're trying stuff out, you should try it inside the VM anyway (you use Workstation or VirtualBox for that).
ESX is nice, but it's not what you think. You don't get a local console (last time I checked, anyway), you're supposed to access it from SSH or VNC. It also designed for datacenter stuff (like SAS disks and controllers. It doesn't support IDE for example). You're looking for VMWare Workstation (Paid) or VirtualBox (free for non-commercial use), which are pretty fast. Paravirtualization (ESX or XEN) will give ~98% speed on Linux (on a PV kernel) and Windows only works well if you use GPLPV drivers, otherwise is slow as hell.
I'd just recommemd you stay away from virtualization if you're just a desktop user. Unless you're trying out shareware/malware/stuff that can break your install. If you're upgrading, why not use the old machine to try ESX, XEN and other stuff and figure out yourself how you want to use it? Stick to dual-boot for now.
the new ver's of Photoshop does use video cards for speed up. You can make images and save the VM over head and have the easy fall back.
Your question gives me pause on a few different levels:
A) You're not familiar with this technology. This is probably not the best way to get indoctrinated with VM's.
B) Other options for 'ease of switching' exist, like a KVM, Wubi, etc. These are likely to give you a more satisfactory result.
C) "Performance does matter" - yeah, no. Nobody uses VM's to increase their performance. They use them to save money, increase density, etc.
The tech is cool and has a number of really novel applications, but 'home use' and 'performance' are probably not among them unless you're some kind of super nerd. And if you were, you'd be too busy trying things out to spend time asking slashdot... :)
RHEL6 dumping Xen is actually a mistake. Not that KVM is bad, but Xen is actually really good and works well in production. The community is at fault for not trying to do more to integrate Xen into the kernel better.
But such is the way with open source. Dump a working solution in favor of an up and coming newbie with its own set of problems.
I'm running 64-bit linux host with VMware Workstation and a Windows XP guest.
Performance all around is very very good. If you full screen the guest, you can't tell that it's running virtual unless you check for the VMware icon.
Video performance is OUTSTANDING, essentially native. Netflix videos play full screen with very little CPU overhead.
Suspend and resume can be slow if your guest has lots of RAM.
I recommend using XFS for the filesystem containing your VMware images. I've tried other filesystems but nothing can touch XFS when it comes to handling those enormous virtual disk files.
More specifically, the PUEL edition of VirtualBox directly from the VirtualBox web site. Don't bother with the version available through the app repository. VirtualBox is great at releasing bug fixes every 1 or 2 months, the PUEL edition will give you all the extra bits like USB and 2D/3D acceleration. I left the various VMWare products behind many years ago and migrated to VirtualBox both at home and at work, and today I still think I made the right decision.
KVM isn't perfect, and does lack some of the polish and features of products like Xen and VMWare, but in raw performance it kicks serious ass. However, it is not as easy as Virtualbox, so for home or desktop virtualization, VirtualBox gets my vote.
The world's burning. Moped Jesus spotted on I50. Details at 11.
Take a look at proxmox (http://www.proxmox.com), it provides a simple to install distribution bundled with kvm and a gui to manage it from...
It's aimed at server virtualisation which doesn't seem to be what the original poster wanted, but then he mentioned vmware esx which is also a server oriented hypervisor so who knows.
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
Dont do it. And dont ask. Photoshop will always use all avaiable power, and thats good, fast rendering, etc. If your time is like gold dont vm it
I'm running multiple VM systems including VMWare Server, VMWare ESX, VMWare Workstation, xen, KVM and VirtualBox.
VMWare Server is going away and sort of a pain to manage. However, it was free and worked decently. I have since replaced it with VMWare Workstation on my desktop and laptop systems. I use VirtualBox on my Mac laptop because it's free and was the easiest/cheapest to get going.
On my servers I am running VMWare ESX, xen and KVM on AMD systems (mostly dual core, but a couple quad core systems in the mix).
VMWare ESX was the most finicky as to installation but has been pretty simple to manage. The remote console options are simple. The VSphere management client is Windows only though. There is support for command line administration, but it's somewhat of a bear. You can script around it though and many people have done so and provide scripts online. Check out the VMWare community pages. Support is so so..
Xen was my workhorse for the longest time, but since my primary OS is RedHat/CentOS and RH is moving towards KVM, I've also been moving to KVM. The GUI management tools work fine, but are not as polished as VMWare ESX. However, it very much makes up for it in being able to do just about everything from the command line. I can deploy an image with a single command and this works wonderfully for testing. Performance is awesome with both xen and KVM. Well, the caveat is that some network intensive stuff seems to be bottlenecking somewhere, but it only has a single gigabit NIC across 8 VMs. I'll be adding another NIC in the next couple weeks and either bonding the adapter or just splitting them up.
Be aware that client/guest images generally do not have video acceleration so many games will fail to load. If you're running VMWare Workstation on a laptop, or the more recent KVMs then there is some measure of acceleration, but not 100%. Also, sound can be finicky especially across the network.
I have done something similar. Some points. 1. First pay attention to what CPU you get. Some Intel CPU's do not support VT extensions. Most AMD CPU's do. 2. I have always found better performance if the VM virtual disks were on their own disks vs. the OS, and then vs. each other, if possible. 3. I have used Photoshop on a Windows VM with VMware Workstation, and did not see graphics performance issues as described. VMware workstation is not free, but is not too $$$, and has some nice features vs. the free options from VMware. 4. Lots of RAM!!! 5. If you use an option like VirtualBox or VMware workstation that runs on top of an OS, I preferred and went with a Linux Host over Windows, mainly due to stability and CONTROL. Once installed, I did not do ANYTHING with or to the host OS. If I needed Linux, I would run a Linux VM. I also used a lighter window manager (XFCE) for host OS, removed unneeded services, etc. 6. I did run Samba and NFS on the Host OS to share files between.
VirtualBox works very well using Linux as a host, plus you get experimental DirectX/OpenGL acceleration support... (VMware Workstation charges extra for that, though I have no idea how well it actually works)
ESX is for enterprises running servers. You'll be missing out on a lot of hardware support, just to gain a few extra MB of RAM (cheap!) and a few CPU cycles. Also it's a pain :P
Last I checked a few months ago, VMware Workstation / Server on Linux still uses a file on disk to back the virtual machine's memory. This will kill your file I/O performance on your host, since these huge files are constantly being written to. There's a workaround involving moving this to tmpfs, but of course then your virtual machines use twice as much RAM. Anyway, I've been pretty disappointed in VMware ever since they got consumed by EMC^2.
But frankly, virtualization is kinda last year... physicalization is the buzzword now. Get a cheap cluster of ION-based nettops to host all your various servers, and filesystems, and stuff 24x7, and dual boot your beefy application desktops depending upon what game you're trying to play or application you're trying to run... I think you'll be much happier and free to tinker.
I initially read this comment as "I am heavily into pornography."
Would you mind elaborating a bit? FYI, I'm the person maintaining xen-qemu-dm in Debian thanks to the help of people from Citrix and Intel, and I've been in touch with Jeremy quite few times, so I think I know what I'm talking about.
KVM beats Xen on performance nowadays. Take a closer look at a recent version.
libguestfs - tools for accessing and modifying virtual machine disk images