Forgot your password?

typodupeerror
Technology

Recommendations For Home Virtualization? 384

Posted by kdawson
from the ganging-up dept.
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."
This discussion has been archived. No new comments can be posted.

Recommendations For Home Virtualization?

Comments Filter:
  • VitrtuaBox (Score:5, Informative)

    by mattver2 (1896634) on Friday October 22, 2010 @11:33AM (#33985632)
    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/ [virtualbox.org] I think it would do everything you want.
  • A few suggestsions (Score:4, Informative)

    by pehrs (690959) on Friday October 22, 2010 @11:37AM (#33985700)

    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.

  • by Joe The Dragon (967727) on Friday October 22, 2010 @11:38AM (#33985714)

    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.

  • Re:Don't do it (Score:3, Informative)

    by davidbrit2 (775091) on Friday October 22, 2010 @11:39AM (#33985722) Homepage
    This. If you're doing heavy photo manipulation, virtualization isn't for you. Just put all your data on a separate drive so if you need to wipe/reinstall the OS, you won't lose anything important. Then you can also use the Previous Versions feature in Windows 7 to roll back any data files you accidentally hose.
  • Re:One acronym: KVM (Score:5, Informative)

    by suso (153703) * on Friday October 22, 2010 @11:40AM (#33985738) Homepage Journal

    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.

  • Virtualbox (Score:3, Informative)

    by mejustme (900516) on Friday October 22, 2010 @11:40AM (#33985744)
    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.
  • Re:VirtualBox (Score:2, Informative)

    by SunSpot505 (1356127) on Friday October 22, 2010 @11:43AM (#33985818)
    Second Virtual Box, however..... OP may want to note that there is limited graphics drivers support. I am able to run Photoshop CS3 in my Win XP VB install, however I would caution recommending it if you (both) use it professionally and do things that rely on GPU acceleration. VB does support pass-through 2d and 3d support, but I'm not sure how to enable that, the option has always been grayed out for me. I run AMD, you may need nVidia drivers. I have heard rumblings too that Windows after XP doesn't work so swell due to the way windows validates its key at startup. Do your research, but this may be a problem for you too.

    Hardware wise, I recommend a quad core and at least 6-8 gb of RAM. You can get by with a dual-core and 4gb, and I did for years, but the price of an amd quadcore is so low these days, there's no excuse not to.
  • Re:VitrtuaBox (Score:3, Informative)

    by jandrese (485) <kensama@vt.edu> on Friday October 22, 2010 @11:44AM (#33985832) Homepage Journal
    I've been pretty happy with VirtualBox too, however, there is one big caveat: The 3D support is really fragmentary and doesn't really do much of anything useful yet. For Photoshop and Lightroom you might be able to get by for now, but those are the kind of apps that are on the cusp of using CUDA and related technologies to speed up processing in the future.

    There are a couple of other caveats to it as well. It doesn't handle USB devices as nicely as VMWare (I was able to run USB EVDO cards from inside of a VM with VMWare for instance, and VirtualBox doesn't appear to have anything similar to that at all), and anything that requires a lot of I/O is going to suffer because that's where VMs always suffer.
  • by powerlord (28156) on Friday October 22, 2010 @11:48AM (#33985882) Journal

    I'll second ESX being a SERVER VIRTUALIZATION ONLY. We use it at work, and it doesn't give you a "Desktop". You need to use RDC, or SSH (or direct connect through their Windows client) to get a desktop on the Virtual Machines.

    As far as DESKTOP VMs solutions:
    I just did a migration of my wife from her XP machine to a new Windows 7 machine (hey, she wants/needs it for her work, I'm happier with Linux/OSX, so to each their own :) ). As part of the migration I turned her old XP laptop into a VM, and installed it on her new Win7 machine w/VMWare Player which is FREE (as in beer), (although I hear VMWare Server is also now).

    I've been using VMWare Fusion on my OSX installation and its been great (running both Linux and Windows), but I haven't done anything in terms of Photo work.

    Since VMWare DOES have a FREE option to try it (their Converter and Player), you might want to give it a shot and see how well/poorly a VM will do what you want (I'd also suggest Converting the image to a USB drive so the image doesn't need to include a copy of itself :) ).

  • Re:Don't do it (Score:4, Informative)

    by bsDaemon (87307) on Friday October 22, 2010 @11:48AM (#33985888)

    You're right in principle, however if he uses Windows as the host OS, then he can run his image software natively, then run Linux in the VM.

  • Re:VitrtuaBox (Score:5, Informative)

    by MBGMorden (803437) on Friday October 22, 2010 @11:49AM (#33985890)

    If your'e looking to have a specialized server that ONLY hosts VM's, then there is some merit to running ESXi. It's free too, and the resource footprint is pretty small. Personally, I would only use VirtualBox or VMWare Server in cases where I still wanted to use the machine running the VM's as a desktop in it's own right. Otherwise, ESXi is the way to go. That said, I DO use my home desktop to serve VM's in addition to regular desktop usage, so it runs Virtualbox :). I use ESXi for virtualizing servers at work though.

  • Re:One acronym: KVM (Score:3, Informative)

    by Bert64 (520050) <.moc.eeznerif.todhsals. .ta. .treb.> on Friday October 22, 2010 @11:53AM (#33985966) Homepage

    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.

  • a simple answer (Score:2, Informative)

    by carlosap (1068042) on Friday October 22, 2010 @11:57AM (#33986014)
    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
  • by JWSmythe (446288) <jwsmythe@jwsm y t h e . c om> on Friday October 22, 2010 @11:57AM (#33986018) Homepage Journal

    I agree, VirtualBox is a lot easier to set up and run, is easy to maintain, and easy to move images between machines. It's what I've been recommending to everyone for a while now.

        He wants to run Photoshop and Lightroom in it though. I don't know how well that does with the virtualized video cards on any platform though. I know there are a lot of games I can't play in a virtualized environment, only for that reason. If I could, I wouldn't have a real Windows bootable partition at all.

  • by digitalhermit (113459) on Friday October 22, 2010 @12:00PM (#33986094) Homepage

    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.

  • by maxxjr (1926944) on Friday October 22, 2010 @12:01PM (#33986106)
    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.
  • Re:Don't do it (Score:1, Informative)

    by Anonymous Coward on Friday October 22, 2010 @12:03PM (#33986134)

    VM->Settings->Display->Accelerate 3D graphics

    This will enable all sorts of DirectDraw/GDI+ and Direct3D APIs that (I'm assuming) your "big image" programs are using.

    If you have a decent video card then performance should not be an issue. Even 720p youtube clips are smooth.

  • Re:VitrualBox (Score:3, Informative)

    by rwa2 (4391) * on Friday October 22, 2010 @12:16PM (#33986284) Homepage Journal

    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.

  • by HeronBlademaster (1079477) <heron@xnapid.com> on Friday October 22, 2010 @12:24PM (#33986400) Homepage

    IMO if he wants to do that sort of thing, he should run Linux in VirtualBox on a Windows 7 host, and run Photoshop and friends on the host. Best of both worlds, right? That's what I do, except I use the Windows host mostly for gaming...

    I also set up an OSX VM so I can write iPhone apps. I just posted a tutorial on setting that up on my blog; click my Homepage link to get there.

  • by taintedkernel (1926962) on Friday October 22, 2010 @12:39PM (#33986652)
    I run Lightroom and occasionally Photoshop on a 2k3 VM under VMWare without any issues. With a few gigs of ram it runs rather well, my biggest performance hit is that my photograph library & catalog is on an NFS share and not locally. PS/LR should be just fine on a VM.
  • by Mark_Uplanguage (444809) on Friday October 22, 2010 @12:59PM (#33987000)
    I've set up all of my kids with Ubuntu Linux boxes running VirtualBox for Windows. Things to note, reverting to a saved state will lose ALL saved documents, files, etc. You need a link from Windows to a folder on Linux for your users so that important files aren't lost. There's another option to set up a 2nd HDD, which would be unaffected by reverting states, but I haven't done that - although the documentation is there. Because Photoshop and Lightroom are memory / performance hogs I'd set up a test linux partition and try it all out before committing. Depending on your needs for Linux a nice lightweight desktop instead of Gnome or KDE would be a smart move for the box running Photoshop. Good luck.
  • by GPLHost-Thomas (1330431) on Friday October 22, 2010 @01:07PM (#33987132)
    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.
  • by FictionPimp (712802) on Friday October 22, 2010 @01:21PM (#33987344) Homepage

    Use the export function. This will export the VM in OVF format, which is a portable format you can move to anywhere, even to vmware.

  • by babyrat (314371) on Friday October 22, 2010 @01:28PM (#33987470)

    yes, that is what esx or esxi are.

  • by TheLink (130905) on Friday October 22, 2010 @01:35PM (#33987562) Journal
    Oops, just realized you have instructions on your homepage...
    Doh.
  • by JWSmythe (446288) <jwsmythe@jwsm y t h e . c om> on Friday October 22, 2010 @01:36PM (#33987578) Homepage Journal

        Export then import. It's easy.

        I made an image for someone on my Windows 7 Ultimate 64 bit machine, so they could use it on their Mac. I exported it, they imported it, and everything ran flawlessly. They were delighted.

        And yes, you can run a machine from the command line. I have OpenVPN Access Server in a virtual machine running on my Linux server. OpenVPN Access Server didn't want to run natively on one of my physical server, so I stuck it in a box. :) Xorg is not running on the server (for obvious reasons), so it just starts at boot time with: /opt/VirtualBox/VBoxHeadless -startvm OpenVPN

  • Re:No it doesn't (Score:3, Informative)

    by Richard W.M. Jones (591125) <rich@ann[ ]a.org ['exi' in gap]> on Friday October 22, 2010 @03:53PM (#33989614) Homepage
    KVM beats Xen on performance nowadays. Take a closer look at a recent version.
  • by HeronBlademaster (1079477) <heron@xnapid.com> on Friday October 22, 2010 @03:55PM (#33989634) Homepage

    If I weren't a PC gamer, I would certainly do it the other way around (Linux host, Windows VM). The reality of PC gaming is such that I have little choice in the matter.

    I used to dual-boot as a solution, but it got tiring having to reboot all the time. Running a Linux VM on a Windows host instead gets me exactly what I need: access to both arbitrary games and arbitrary linux tools without having to reboot :)

"See - the thing is - I'm an absolutist. I mean, kind of ... in a way ..."

Working...