Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Desperately Seeking Xen

Posted by kdawson on Thu Jun 28, 2007 09:32 AM
from the whither-the-gorilla-killer dept.
AlexGr sends us to an excellent article on the state of Xen by Jeff Gould (Peerstone Research). He concludes that the virtualization technology has some maturing to do and will face increasing competition for the privilege of taking on VMWare. Quoting: "What's going on with Xen, the open source hypervisor that was supposed to give VMware a run for its money? I can't remember how many IT trade press articles, blog posts and vendor white papers I've read about Xen in the last few years... The vast majority of those articles — including a few I've written myself — take it as an article of faith that Xen's paravirtualizing technical approach and open source business model are inherently superior to the closed source alternatives from VMware or Microsoft."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by mwilliamson (672411) on Thursday June 28 2007, @09:40AM (#19675883) Homepage Journal
    It seems that VirtualBox.org's product, fully virtualizing a copy of XP on my non-VT machine under a linux host OS, totally runs circles around Xen even on VT hardware as far as performance is concerned. Integration into the host enviroment is also quite beautiful. Why is there seldom a mention of VirtualBox in this arena?
    • virtual box is basically QEMU with a much better KQEMU component that they developed on their own. This isn't very interesting because this is the same thing as VMWare or any other closed source Ring0-in-Ring1 emulation using polymorphic code.
  • Not just for xen - but if you are interested in virtualization in general. Lots of links to many other products - open and closed. So if you aren't into xen, but still want to know about what is going on in this space (to some extent - they don't even touch the stuff IBM is doing really) then it's worth the time.
  • you can't run Windows using Xen as Microsoft won't let you recompile the windows kernel... and this ability of being able to run windows on Linux is one of the things Microsoft allows to be done with the blessed versions of Linux for corporate customers. Normal mortals can't do it and will never be able to do it.

    Personally, I don't give a flying fig about being able to run Windows or windows programs on Linux... there isn't anything I want to do on windows that I can't do on Linux... (note the emphasis, I

    • by stevey (64018) on Thursday June 28 2007, @09:56AM (#19676079) Homepage

      Not true.

      If you have VT-capable hardware then you can run Windows under Xen. You do need the hardware to support it though, and that is a problem for some home users. Recent AMD and Intel chips have slightly differing VT support but both work.

      I run Xen at home along with xen-tools [xen-tools.org] (which I wrote) to easily create new Debian guests on demand. These are used for software testing, hacking, and general service isolation.

      I think Xen is just now reaching "mainstream" in the sense that you don't have to be an early adoptor or major tinkerer to get it working. Now that distributions are including Xen kernels in their newer releases it really us available for all.

      • I've been messing with XEN for a week or two, thought it would help me out with debugging and maintaining multiple systems without the need for them. Picked up an AMD SVM CPU and tried it, running into a wall. The XEN list serv wasn't much help nor were the log files. In comparison Virtual PC 07 / VMWare on Windows worked flawlessly on the first try... I'd still prefer using XEN and might take a stab at KVM but wasting a week just to get to the boot screen without success was a little painful. FYI I tried C
        • Re: (Score:2, Informative)

          by Anonymous Coward
          Yes, but as he already told you, what you know is out of date. You can run an un-modified Windows on top of Xen provided your hardware supports the Intel or AMD VT extensions.
            • Re: (Score:3, Informative)

              Indeed, why would they?

              Because being able to dedicate a "machine" to each service rather than trying to run dozens of different services on the same machine vastly simplifies operations.

              Pay attention now. This is not how Google runs their datacenter.

              How Google runs their datacentre is not relevant to most people, who have vastly different requirements, budgets and capabilities.

              Shop around. One can find power-efficient 1U boxes. Sometimes non-rackmount is better, including weird stuff like the Mac Min

    • Wouldn't it be nice if you could get a Xen rootkit for Windows XP and/or Vista?

      Perhaps it's a silly concept, but it could make work easier.

      But then there's the graphics difficulties.... the need for a hyperthreading CPU....and there's no support of course, for a rootkit ;)>
  • by interiot (50685) on Thursday June 28 2007, @09:48AM (#19676001) Homepage

    If I have to maintain two separate OS's, I'd rather have the outermost OS (host OS) be the one that has the best drivers, the most hardware support. Also, since very few virtualization solutions work with 3D gaming (and even the one that does, it still has large overheads I think), you want your host OS to be the one that has all the games. So, for my purposes anyway, I need Windows as the host OS, and Linux as the guest OS. Xen doesn't run under Windows, only Linux. So that leaves me with either commercial virtualization software, or a few open source projects that haven't matured yet (eg. coLinux).

    (granted, having Windows on the outside makes your machine much less secure than the other way around, but personally, I'm more interested in having all my peripherals work the day they're released, and having all my games available)

    • Then what's the point? What special applications does Linux have that require you to run it in a VM on Windows?

      Usually people run Windows in a VM because they have some app that just doesn't exist on Linux, but that can hardly be the problem as most Linux apps are OSS and thus portable to Windows.
      • Re: (Score:3, Insightful)

        --Running a Linux Squid appliance in a VM, on your Win2k/XP laptop, while browsing wirelessly == Ads blocked + Internet content cached + More secure.

        --Testing (Freebsd / PC-BSD / Nexenta / Solaris / Linux) + ZFS + Samba in a VM when you don't have extra hardware to dedicate to it.

        --If you're not already a VM-type person, you wouldn't understand.
  • Full virtualization, as used in Xen, VMware and VirtualBox, has performance issues that are not yet well understood, but thought to revolve around dramatically increased L2 cache misses. I am not aware that any changes are in the works to fully resolve this.

    Operating system virtualization, as used for instance in OpenVZ has far better performance characteristics. This is the way to go at the moment for efficient and low cost data center support of Linux. The problem is that all virtual environments m

        • by Courageous (228506) on Thursday June 28 2007, @10:26PM (#19685251)
          20 Dell 1955 Blades; 16G ram; 70GB SAS 10K drive (one) on which ESX 3.0 is hosted (or a variety of Xen flavors); four gigabit ethernet controllers per blade; CISCO 4948 48 port switch, with 4 ethernets per blade bonded; CISCO 6504e core with Sup-32; Net App 3020 and 3050 for NFS and iSCSI; some EMC Clarion units, likewise.

          For CPU we used SPEC CPU 2006 and score about 5-6ish % on VMWare as the same test done on those blades in hard metal. Xen is undiscernably different to the subjective eye than hard metal. I would have to break out large batch testing methodology and run the results through inferential statistics to conclude that there was a difference at all.

          I/O is a different story.

          The Xen performance claims and the VZ performance claims aren't really useful. They're theoretical. As in, "theoretically, we can stack 100 operating systems on this blade efficiently." Think about that. That's just plain nuts. I can't think of a real use case for that.

          BTW, if you like OpenVZ, and have the right use case, the commercial Virtuozzo product ranks as the "best virtualization technology that no one has ever heard of" in my book. They really have their IT management story down pat.

          C//
  • Using it... (Score:5, Interesting)

    by dmayle (200765) on Thursday June 28 2007, @09:56AM (#19676087) Homepage Journal

    You can choose to believe the hype or not, as you wish, but I'm using Xen in my production environment, and it's simply fantastic. I've got friends with companies who are doing it as well, and it really changes how you think about administration.

    Of course, there are some learning curves. For example, how you manage 3-7 servers is completely different from how you manage 20-30, even if they are all virtual. There's a lot more emphasis on system images, isolating functionality, reproducing configurations. On the other hand, dev environments are so much easier to build-up and tear down.

    I just wish the OpenBSD port was in a usable state. The mercurial servers hosting it are often down, and even when they're up, I haven't been able to get a working kernel compiled from the sources (even after doing some of my own bugfixes). And last I saw on the Xen lists, Christoph Egger (the guy doing the OpenBSD port) submitted a security patch related to stack slamming, and the Xen guys were kind of like, "meh, security's not really a priority..."... Oh well, here's to keeping my fingers crossed

  • by Aeonite (263338) on Thursday June 28 2007, @10:03AM (#19676177) Homepage
    Is that Gordon Freeman ruined it.
  • by eno2001 (527078) on Thursday June 28 2007, @10:08AM (#19676207) Homepage Journal
    Not only that, but I've been running it in a production environment for about a year and I'm about to deploy a HUGE set of servers as VMs using it. Xen beats VMware in one arena: price. If you use the open source version (which I'm doing) it's free. Only VMWare's ESX can compare to Xen. And unlike some people here have been saying, you DON'T need a special processor for Xen unless you plan to virtualize Windows. In my environment, I'm only virtualizing Linux, so I can use regular x86 CPUs dating back to 1998 for Xen. The only exception is the deployment of Zimbra I'm going to do. It requires Redhat Enterprise Linux 4 and NPTL, so I can't run it paravirtualized, it must run HVM which requires the special processors. However, who today isn't getting new hardware with HVM support?

    Currently my two Xen servers here at work serve out about four VMs (all paravirtualized on older hardware) for critical and I/O intensive tasks like proxy servers for nearly 1000 machines, or the firewall syslog server for a dual T3 link with about 5000 users behind it sucking the bandwidth dry. So you can't claim it doesn't perform either. Now, if you want point and click administration and an easy set up, then yeah, Xen is behind the times. But performance wise it's leaps and bounds above VMWare. Trust me, I was a VMWare fan before you were in virtualization diapers. And I still am for some applications. But for places where I need something to be cost effective AND give me the features of VMWare ESX, Xen is the ONLY answer.
    • by div_2n (525075) on Thursday June 28 2007, @10:45AM (#19676707)
      The only exception is the deployment of Zimbra I'm going to do. It requires Redhat Enterprise Linux 4 and NPTL

      Last I checked, Zimbra runs on Ubuntu 6 [zimbra.com] just fine.

      • It depends on what I'm doing. If you weren't trying to be cute, I'd say you were trolling. In reality, it's very common practice to use LVM to clone a filesystem, make some changes to the various files that set IP and hostname as well as other unique host settings and bring up alternate "Test" VMs on a Xen box. So some days I might be running three VMs other days eight or ten. It all depends on what I need to do.

        As an aside, I forgot to mention that there are NO other products other than VMWare ESX that offer "live migration" of a running VM from one hardware host to another. That's right... you can take a VM that is running with many users actively using it and move it from one physical box to another with only a few milliseconds down time. The users NEVER notice. The free VMWare server can't do that. Micrsoft's Virtual Server can't do that until they have a hypervisor. And there really isn't anything else that can.
        • Re: (Score:3, Insightful)

          The free VMWare server can't do that. Micrsoft's Virtual Server can't do that until they have a hypervisor. And there really isn't anything else that can.

          Well you can try to do that with Xen if you want, but you might be sorry. :) But I suspect you knew that.

          Hopefully the Summer release remedies this situation.

          C//
  • Lies, all lies (Score:4, Informative)

    by C_Kode (102755) on Thursday June 28 2007, @10:08AM (#19676211) Homepage Journal
    Another question hanging over Xen performance concerns the availability of paravirtualized drivers for Windows.

    This isn't true completely. The problem is you cannot get these drivers by downloading the OpenSource Xen. You MUST buy the XenSource version. If you run Windows on the *complete* open source version, your network throughput is going to suck like you would not believe. You have to use the XenSource version to get the paravirtualized drivers that bring the network performance closer to what it should be. Virtual Iron has a set of drivers also. (which I believe are better than Xen's, but don't hold me to that)

    I found a lot of great insight about virtualizing from Xen to VMWare to Virtual Iron and others on this site. http://ian.blenke.com/xen [blenke.com]
  • I've tried both and VMWare is just better. I respect Linux/GPL and the OSS movement, though the main reason I use linux is not just those reasons it's because IT WORKS. So when it comes down to Xen or VMware I use vmware because it works better.

    Xen is FOSS so there is potential for them to catch up and with the nature of FOSS new ideas can be tossed in easier. So when that day comes I'll gladly switch over, it's just not there yet.

  • Guaranteed Results (Score:5, Informative)

    by catdevnull (531283) on Thursday June 28 2007, @10:26AM (#19676421)
    If you want to get a colorful thread of comments started on slashdot, there are 3 ways to do it with guaranteed results:

    1) Say something bad about linux (or about Apple).

    2) Say something good about Microsoft (or about Apple).

    3) Throw a grenade in the room about Open Source software like this:

    The vast majority of those articles -- including a few I've written myself -- take it as an article of faith that Xen's paravirtualizing technical approach and open source business model are inherently superior to the closed source alternatives from VMware or Microsoft.

    I'm not making any value judgements here--I'm just amused.
  • Xen's Maturity (Score:4, Insightful)

    by Krondor (306666) on Thursday June 28 2007, @10:47AM (#19676757)
    He concludes that the virtualization technology has some maturing to do...

    I RTFA and it says very little about the maturity of the actual Xen technology. The article is more a point about several non-related factors;

    1.) There is a lack of pretty management interfaces.

    True, but these are in the works from Red Hat, Novell, XenSource, and various other ends. Already some of them look pretty promising, but if you are a real admin you don't need them in the first place. There is nothing wrong with using the command line tools to manage your Xen virtual guest environment.

    2.) There is a lack of references for companies using Xen.

    How does this relate to the viability of the Xen virtualization? Yeah it makes management feel nice and fuzzy that others are using something, but this does not relate to how well the Xen technology performs. I also suspect that like many open source projects, there are many people using it that do not report it. Novell has personally contacted me and my company to ask us to assist in their new paravirtualized Windows drivers initiative and then be a reference for the technology. It seems that at least some companies are moving to address this, at any rate.

    3.) There aren't many benchmarks about Xen versus VMWare.

    VMWare does not allow benchmarks they do not approve of. It's in that draconian EULA you agreed to by using it.

    4.) It's awkward to paravirtualize Windows.

    Yes, it is. Novell signed the soul sapping agreement with MS and as such is pushing some paravirtualized drivers for Windows. The article continually talks about woes with Xen on Red Hat. Red Hat didn't sign the agreement and will require some much more intelligent coding to make this happen. It might never happen, so for Windows it's full virtualization with VT (or AMD's equivalent) or bust. Sorry, use SUSE for it or use full virtualization. It's an MS issue not a Xen issue.

    5.) MS's new Viridan Virtualization Platform is using paravirtualization as well.

    Yep, that should be a testament to the approach versus VMWare. Though it is interesting that VMWare now has a Linux kernel virtualization implementation similar to KVM. It seems VMWare is headed to paravirtualization as well. Obviously Xen did something right.

    6.) There is a lot of competition.

    True. How again is this relating to Xen as a virtualization technology.

    Again, I'm not saying Xen is perfect. It definitely has issues and room to grow. I'm just saying that the article makes little, if any, relevant points to Xen's virtualization technology.
      • Re: (Score:3, Insightful)

        For example, Xen is a bitch to setup with any sort of non-trivial networking environment (eg: multiple vlans, bonded interfaces, etc).

        I'll agree with this, although it isn't the hypervisor's fault - it's the userland stuff that's at fault. For example, Xen doesn't appear to support IPv6 *at all* in routed mode, I had to hack up my own scripts to do it (and I'm seriously considering moving over to bridged mode in an effort to simplify and standardise my system). But I'm curious - do other virtualisation sy
  • by tji (74570) on Thursday June 28 2007, @11:02AM (#19677001)
    I have been trying to use Xen at home to test it out and compare it to VMWare, which I've used at work. Once you manage to get Xen clients working, it's fine. It does a good job of running VMs, and can be used to partition resources on a powerful machine.

    But, the main problem is the steep learning curve for getting Xen running in the first place. The (python based) management GUIs included with Fedora or Ubuntu are weak at best (although, slowly improving.. the UI in Fedora 7 does manage to make setup easier than the command-line alternative). The ongoing management / monitoring of VMs is okay, but weak in comparison to VMWare.

    There are also a lot of little quirks in Xen. Installing Win2k in a client VM required a lot of searching for how to attach an ISO image to a running VM (it's not a simple GUI operation like in VMWare/Parallels/VirtualPC, it requires a terminal command with unintuitive options, which never worked for me.. I finally dug out my CD and got the physical CD drive to attach to the VM). Windows VMs have an odd issue where the mouse pointer is offset form the actual pointer (it's a known issue, and is helped by turning off mouse acceleration in Windows preferences, but it is still a problem). Installing client VMs can be challenging.. Ubuntu feisty wouldn't install until I set the VM as a Solaris client, and after a few other tweaks it finally installed and worked fairly well.

    Most of the Xen problems are solvable, after playing with command-line tools, figuring out poorly documented parameters, and lots of googling. At the end of the day, it's one of those "Xen is free, if your time has no value" type things. VMWare Server is probably a better option if you just want it to work for home/free uses. For commercial use, VMWare ESX Server is the way to go. It has simple VM setup for many client OS's, excellent management of large groups os Hypervisors and virtual machines.

    The commercial alternative from XenSource (free to use, but limited to 4 VMs; or less restricted versions for increasing $$) offer a better management UI, but are too restricted for my taste. The management app is much better, but not as good as VMWare.. If I'm going to pay for one, I'll go for the best option.
  • Data Center USA (Score:5, Insightful)

    by fyoder (857358) on Thursday June 28 2007, @11:23AM (#19677283) Homepage Journal

    I stopped reading the article with this quote:

    Oh my. Editable XML configuration files, obscure command line interfaces, grayed out options in the GUI? Thanks, but no thanks. This thing doesn't sound like it's ready for prime time in Data Center USA.

    Are sysadmins at "Data Center USA" morons? "Oh nooo, command line time, I hate that. Oh nooo, my option I want is all grayed out! Help me, help me! Oh I am so sad now."

    Deploying vm stuff is not the same as using a word processor. "Data Center USA" is in real trouble if their sysadmins aren't any smarter than regular desktop users.

      • Re: (Score:3, Insightful)

        "Such tools that people want to rely on, oh I don't know, all the time, require good management tools in order to set things up in a straightforward way that can be documented and can be reproduced"

        Like, uh... a script? I had always problems trying to understand the rationale of "documented an reproductible" and "GUI" in the same sentence. Can you really talk about "can be documented and can be reproduced" on bold face when all you have is a doc document an some screen captures? Can you really talk about
  • Two words: OpenVZ (Score:3, Insightful)

    by pyite69 (463042) on Thursday June 28 2007, @11:56AM (#19677745)

    If you are running the same OS on each VM on a server, OpenVZ is the best.

    Performance is great, good control over resources (with the glaring exception of disk IO operations, which they are working on).

  • Xen saved my former employer a bunch of money and gained then great flexibility and reliability. They use an AoE (ATA over ethernet) SAN so the compute nodes are totally diskless and all of the data and root filesystems are on the SAN. Now they have email, database, web serving, nearly all of their critical functions in a highly available xen-aoe cluster. I am working with them to release all of the codes and configs in production and we are setting up a website at xenaoe.org (not up yet, but soon) to host the project.

    Here is something I wrote up about this architecture for the company when the project went live:

    What is Xen?

    Xen is a free virtualization system similar to VMware but different. It allows us to run multiple servers/operating systems all on one physical piece of hardware while providing isolation between them.

    What is AoE?

    AoE is a SAN technology. Similar to Fibrechannel (but far less expensive) or iSCSI (but far simpler and more efficient).

    What are the advantages of Xen and AoE for our company?

    Xen allows us to more efficiently utilize our hardware resources. The majority of cpu power on your average computer goes unused. Even on servers. They just sit there waiting for something to happen. Even if we get a web request every second the time between one request and the next is an eternity for a cpu running at 2 gigahertz. But powerful cpu's are needed for those short bursts of activity. By using Xen to run multiple servers in their own domains (areas of memory) completely isolated from each other on the same physical hardware we can squeeze more utilization out of our existing CPU's/servers. This means we can get by with fewer CPU's, less rackspace, use less power, and require less air conditioning. By encapsulating the servers into this sort of infrastructure it also allows enhanced management capabilities by allowing the administrator (such as myself) to be able to get console access on the server or restart the server while remote instead of having to drive to the datacenter (which in our case is a 30 minute drive down to Kearny Mesa).

    AoE allows us to put a bunch of disk in relatively inexpensive and low CPU powered servers on the network and allow the rest of the servers to access it exactly as if the disk were locally installed in that server. This is advantageous because we can now aggregate all of our disk into one system and treat it like a pool of storage where we can dole out an appropriate amount of disk to each server (often only 10 or 20G is needed) instead of having to put in a dedicated 250G disk which is the minimum you can easily buy these days and waste a lot of disk and power to run it.

    The combination of Xen and AoE allows us all of the above plus some interesting fault tolerance abilities. There are now two levels of redundancy in our disk systems and an extra level of redundancy in the cpu's also in that if one cpu fails (or the associated motherboard, RAM, or network card) we can easily switch the servers that were hosted on that machine over to another cpu on the network with either zero or very minimal downtime whereas previously that kind of failure would have required me to drive down to the datacenter and shuffle hardware around or buy new hardware to replace the failed system which all takes time and can result in prolonged downtime.
    • by Mostly a lurker (634878) on Thursday June 28 2007, @09:40AM (#19675871)
      It is true that Xen requires special hardware to legally run MS Windows. It is also better for performance, generally, to have such hardware. However, there is nothing stopping you from running Xen on pretty much any computer you are likely to own as long as the VMs are Linux based.
    • VirtualBox doesn't require any special hardware.
    • by xzvf (924443) on Thursday June 28 2007, @10:19AM (#19676325)
      While it might be nice if all these things are easy and work well for the hobby crowd, the real money in virtualization is in the enterprise space. Most servers in enterprise environments run 15% max and are refreshed every 3-5 years. The special processor matters less in that case, and the competition is between a mature VMWareESX server (not free), a hardware based IBM and Xen. Microsoft is a surprisingly minior player. VMWareESX server is very good for x86 consolidation and saves customers money, but is very expensive. It is still the best option for Intel based consolidation. Xen has deep penatration in enterprise lab environments. It is just getting the enterprise management tools to move into real production. IBM is very good at virtualization and stability, but on proprietary power and mainframe hardware. Xen will be fine, because the market is very immature, but expect more seamless and non-attrusive virtualization on the desktop.
      • Expensive? Not really, if you compare the costs of actually getting that number of servers. Given the feature set you get, it's pretty modest. If you work in an educational setting, it's even cheaper. You can get VI3 Enterprise and a tier one server - 2U rackmount, dual quad-core system (2.4 ghz) with 16GB of RAM, dual power supply, 6 hour CTR service, an additional NIC and a 4GB fibre channel card and about 512GB of local storage for about $16,000. Depending on the size of the VMs you need to run, you can
    • Virtual Iron has some features,that are important that VMware does not :)
      • Virtual Iron has some features,that are important that VMware does not :)
        Can you expand on this? I never even heard of Virtual Iron before just now, what useful features does it have over XEN/VMWare?

        Thanks

        -Em
        • Virtual Iron uses Xen but does not do para virtualization. It supports 8 CPUs per guest and is a "bare metal" VM hypervisor (does not require a host OS).

          It also comes with the ability to move virtual machines from host to host (based on pools of resources) either by some threshold being met (say, 75% CPU utilization on a Dell PowerEdge server moves it to an HP Proliant which is only 45% utilized ) without the virtual guest OS ever skipping a beat. Vmware does this with VMotion, but that is an add on pa

    • vm ware is feature king at the moment - but competition is a good thing.

      If you want to run multiple linux instances on the cheap then xen is the way to go at the moment.
      Not that I disagree that OSS and competition is a good thing but what am I missing here? Last I checked VMWare Server product was free - so how much cheaper than free can you get?

      -Em

      • server (free) and esx (expensive (to me anyway)) are very different products, and many of the really attractive features exist only in esx.
        • Could you outline some of the features on ESX that you find really attractive? As a home user, I find that VMWare server fits just about all my needs.
          • The major things that makes ESX attractive as far as I know all have to do with Enterprise usage - i.e. bare metal hypervisor (self contained "Host" OS) and ability to live transfer a VM from one server to another via shared storage without shutting down.

            Can't see this impacting a home user, unless I am missing something.

            -Em
            • Right - there is an intersection here of two completely different user groups - I belong to both myself. I use vmware server on my personal/work machine - so that I can have xp available for a couple windows only apps that I must use. In the datacenter we use a mix of aix virtualization on p5s and esx. virtualization in the datacenter is bringing our organization a number of benefits that server can't provide. My understanding is that one feature is moving virtual machines from one host to another on th
    • Re:vm ware (Score:5, Insightful)

      by Per Wigren (5315) on Thursday June 28 2007, @09:50AM (#19676015) Homepage

      If you want to run multiple linux instances on the cheap then xen is the way to go at the moment.
      Except that OpenVZ [openvz.org] is a better way to go in that case. If you are only going to run multiple instances of Linux, with OpenVZ you don't need to preallocate a fixed amount of memory for each VM, the root filesystem can be a subdirectory of the root OS instance's filesystem, among many other things. It can do just about everything that XEN can do, including live migration to other physical nodes.
      • Re:vm ware (Score:5, Informative)

        by gtrubetskoy (734033) * on Thursday June 28 2007, @10:14AM (#19676279) Homepage

        Except that OpenVZ is a better way to go in that case.
        For fairness it should be mentioned that aside from OpenVZ there is also Linux VServer [linux-vserver.org] which does a few things better than OpenVZ (though OpenVZ does some things it does not). Our preference has always been VServer, it's a well-run project with emphasis on quality and well thought through design rather than quantity.
    • True. This is a major problem IMO. Once upon a time I had hoped that I could run VM's *and* have full 3D support, both in a Windows VM and a Linux VM.

      Turns out that 3D accelerated is not an option right now, but Xen was at that time working on something that could (given the right hardware, which at the time was only high end IBM mobo's) isolate PCI cards completely.

      That way, you could have two graphics boards in your system, and when Xen starts up it could assign one graphics board to, for example, a Windo
      • IIRC, the latest (i.e., so-called "Direct3D 10 compatible") graphics cards have MMUs, which would (theoretically) allow multiple OSs to share the card in the same way that they can currently share the CPU.

      • Re:Timely for me! (Score:4, Informative)

        by TheRaven64 (641858) on Thursday June 28 2007, @11:41AM (#19677541) Homepage Journal
        There was some interesting work presented at the XenSummit which should be making it into the main tree eventually on 3D support in Windows. The idea was that the memory layout was adjusted slightly so that Xen and dom0 lived nearer the top, and Windows in an HVM domain lived at the bottom. This allowed Windows to use existing 3D drivers, without having to do any address translation when performing DMAs (not an issue if you have an IOMMU, but hardly anyone does yet).

        The problem with giving access to hardware to guests at the moment is that without an IOMMU, any DMA request the driver issues will read or write memory from a physical address indicated by the driver. In a virtual machine, what the driver thinks is a physical address is actually a virtual address. This means a DMA request will read from or write to an arbitrary memory location. By putting the HVM guest at the start of memory, this translation is the identity function, so the driver will work. The only downside is that you lose protection from other domains; a malicious driver can still damage your other VMs or even the hypervisor.

    • I just think at this stage in the game, as the article implies, the primary focus is the datacenter. And 3d just doesn't matter there in the vast majority of the cases. Certainly not enough to make 3d a top priority.
      • Re: (Score:3, Interesting)

        Well, I've done numerous tests of live migration, and it works for me. Do I know something they don't? I don't think you can say either way. Perhaps on somebody else's network, it might not work. But I've done migration under heavy load and not had any failures, zombies, or crashing of Dom0. I had to clarify the 6ms delay in another post. Here's the way I put it, simplified because I screwed up the formatting...

        ping...64 bytes from xxxx...5 ms
        ping...64 bytes from xxxx...5 ms
        ping...64 bytes from xxxx..
        • Re: (Score:3, Insightful)


          I understand the latency of the switchover. It will be dependent on the size of the volatile set of memory that needs to be transferred between the save/restore cycles. I.e., this will be virtual machine-dependent, and tend to increase linearly with the virtual machine's memory footprint and memory utilization.

          "Data center readiness," to me, does not mean a few servers running Xen. It means many, many servers, taken from at least superset of servers taken from all the mainstream enterprise server vendors, i