Slashdot Mirror


Which OS Makes the Best VMWare Host?

astrojetsonjr asks: "A few days ago, Trillian_1138 asked about running Linux on a laptop. Yagu started a thread suggesting the use of VMWare to allow running multiple flavors of Linux and Windows at the same time. Lots of readers then posted their success stories using VMWare . My primary machine is an IBM laptop and I'm getting ready to move to using VMWare to allow me run Linux, Solaris and Windows at the same time. First, what is the OS/distro with which you have had the best success hosting VMWare? Finally, what host OS install and setup tips do suggest?"

8 of 141 comments (clear)

  1. Priorities first. by Ant+P. · · Score: 5, Informative

    Pick whichever supports most of the physical hardware, since whatever it can't see the emulated OS can't either. If you're left with more than one choice there, narrow it down further depending on which matters to you more: speed, stability, security etc. Of course in a perfect world you wouldn't need to choose between those, but then you wouldn't need a virtual machine either.

  2. Let me answer your question with a question by El+Cubano · · Score: 5, Informative

    Which OS Makes the Best VMWare Host?

    Why do you want to run VMWare? I have used both VMWare and qemu (as well as Xen, but I don't think that will work if you are interested in running Windows), and have found qemu to be the superior of the two. Sure, there is no built in GUI, but there are external 3rd party GUIs available if you want. Seriously, qemu makes networking much easier thatn VMWare does. No need to mess with modules (unless you want the accelerator, which I recommend), no need for services or daemons running like with VMWare. Additionally, it is open source, which I consider a huge plus. You can also emulate other CPUs. Want to emulate a PowerPC so that you can test compiling your app on FreeBSD on a PowerPC processor? How about Sparc? The *only* way in which I would see VMWare as being superior is if you are using one of their server consolidation products (GSX or ESX, I think). For workstation-level stuff, qemu is the way to go.

    1. Re:Let me answer your question with a question by inflex · · Score: 4, Insightful

      >>Why do you want to run VMWare? I have used both VMWare and qemu (as well as Xen, but I don't think that will work if you are interested in running Windows)

      What is it with people and their desire to try and disseminate your reason for having or wanting to, God forbid, purchased a software package. Mostly I hear it from people who -

      - don't use VM's for business work
      - don't like commercial software
      - don't understand that time == money
      - have more time on their hands than pending tasks

      It's one thing to not want to purchase software, fair enough - but let's not try and stone people.

      Fact is, vmware out of the "box" runs and runs very well. It's a dead simple system to use even with an unsupported distro like Slackware linux. It's $199 USD (for workstation) and the cost of the purchase is long forgotten after the ease of use has saved you many times more. There's a lot more "messing around" with other solutions. You can burn up $199 in wages in half a day.

      The difference between a functional package and a usable -and- functional package often isn't a lot but it's a small difference that a lot of people are more than happy to pay for.

  3. Don't forget coLinux by spiritraveller · · Score: 4, Informative

    If Windows is the host, coLinux is a worthy solution. It runs almost as fast as a native install. And you can download a preconfigured Debian or Gentoo root image from the website.

    Basically, it is a Linux kernel patched to run under Windows.

  4. Linux and XFS by jtatum · · Score: 4, Informative

    I've run Workstation and GSX (Server) on Windows and Linux. The best performance by far was Linux with XFS. Ext3 does not cut it (regardless of writeback option used). XFS support is a little tricky to find in VMWare supported distros. For less critical servers, I prefer Centos 4 with the Centosplus kernel (see the Readme). Centos isn't supported by VMWare but Red Hat is.

    VMWare Server supports Ubuntu as a host. It's a little easier to setup XFS and VMWare on Ubuntu. VMWare server claims experimental support for Ubuntu Dapper. I am running it on two servers for testing and it is performing very well. As Ubuntu gains popularity, the choice may be clearer. For right now, Google University has more help for VMWare on Red Hat^W^WCentos than Ubuntu.

    If your system is AMD64/EM64T, you may be tempted to load a 64-bit OS. Resist the temptation. VMWare now claims official support for x64 host operating systems, but in practice these are more trouble to get working than they are worth (MUI, authentication, and even stability can be problematic IMO). With hardware that supports 64-bit virtualization (many new Pentiums and Opterons), 64-bit guests can be run on both 32- and 64-bit hosts. Determining whether your CPU supports it is so difficult, VMWare made a tool to do it for you called the processor check utility. (It's about halfway down this page.) Down the road when 4GB+ is standard on laptops, VMWare's x64 support will probably be a lot better.

    1. Re:Linux and XFS by fimbulvetr · · Score: 4, Insightful

      Which is exactly why I quit using XFS. For production systems that reboot semi-often and cleanly, XFS is good. When XFS is up for quite some time (On 2.4.x at least, it can tend to get messy after 1yr+ of uptime with heavy writes. Eventually you'll have to umount and do an xfs repair just to get it back to normal.) it's not too good.

      Even worse story for crashes. I've had to go to backup many times because a heavily used system locks up and XFS gets into it's unable to find superblocks or another one of it's infamous cryptic, non documented bugs/errors. I don't recall ever having to do this on a ext3 system unless the disk went bad or it crashed multiple times without a fsck.

      That said, XFS is an excellent choice is some areas, such as realtime (soft guarentee) systems, etc.

  5. Depends on what you need... by ID10T5 · · Score: 5, Informative
    Having run VMware (I'm assuming workstation) on both Windows and Linux hosts, I have seen plusses on both.

    VMware needs kernel hooks to provide its virtualization services. Under Linux, there are only a few supported Linux distros (and specific versions at that) that have pre-built modules installed as part of VMware. I run my personal VMware on an FC5 Linux host, and had to download an unsupported "patch" (from one of the VMware developers -- not even hosted on the VMware web site) to allow the vmware-config.pl script to build the necessary modules for my specific kernel. Every time I upgrade kernels, I must then rebuild the modules to get VMware working again. Also, under FC5 with SELinux enabled, I had to manually change the context of one of the VMware files after install before SELinux would even allow VMware to run. Under Windows, all of the above "just works".

    Under Linux, I get better performance when running multiple VM's at the same time. I have had three 384MB VM's running at the same time, and because of memory management under Linux I only saw an increase of approximately 600MB vs. not running the VM's (no swap increase either). I also have better I/O performance as well. When installing the 3 VM's above, I had the CD's mapped to ISO files on the same disk that my VMware files were being created on. During the install, my load average was constantly around 15 and my system was definitely slower, but it was still functional. I have brought a Windows host (with enough memory to host both VM's fully in RAM -- no swapping) to its knees trying to install just 2 VM's simultaneously in the same way (ISO files on the same disk as the VMware files). It was so unresponsive, it took almost 5 minutes to bring up Task Manager to see what was going wrong -- and Task Manager didn't really show me what was wrong, just that the CPU was pegged and the VMware processes were doing all the work.

  6. Re:VMWare ESX by OiBoy · · Score: 4, Insightful

    And would be absolutely useless on a laptop since ESX requires SCSI.

    --
    `fortune -o`