Slashdot Mirror


Red Hat, Novell To Package Xen

robyannetta writes "Watch out VMware and Microsoft. Here comes Xen, an open-source virtualization for the Linux environment being pushed by Red Hat and Novell. Xen has also joined forces with leading Linux distributors, chip vendors and platform vendors to create a consortium that will more broadly enable open-source virtualization development and deployment." We've covered Xen before, but it's cool to see the momentum behind it growing, as more choice is a Good Thing.

233 comments

  1. Giving me a headcrab-ache by SIGALRM · · Score: 4, Funny
    Xen has also joined forces with leading Linux distributors
    Am I missing something or does this mean Vortigaunts might enter Earth through portals ... wearing Fedoras?

    Oh my, it all makes sense now.
    --
    Sigs cause cancer.
    1. Re:Giving me a headcrab-ache by overloadhz · · Score: 0

      does this mean Vortigaunts might enter Earth through portals
      HL2 is a sickness. I'm calling in sick again tomorrow.

    2. Re:Giving me a headcrab-ache by WoBIX · · Score: 1

      As long as they don't bring Gonarch along. Now that would be a terrible mascot.

    3. Re:Giving me a headcrab-ache by edp927 · · Score: 1

      uhmm... no, its not.

    4. Re:Giving me a headcrab-ache by bonzoesc · · Score: 1

      I think LaMarr would make a good mascot, personally.

    5. Re:Giving me a headcrab-ache by Anonymous Coward · · Score: 0

      It's Hedley !

    6. Re:Giving me a headcrab-ache by Anonymous Coward · · Score: 0
  2. Xen? by Anonymous Coward · · Score: 0

    I just hope they get rid of the jumping puzzles this time.

  3. Sad but true by TheIonix · · Score: 0, Offtopic

    This is sad but it's the truth... Where are we going

  4. USE THiS XEN LINK by Anonymous Coward · · Score: 5, Informative
    1. Re:USE THiS XEN LINK by msh104 · · Score: 1

      on the screenshots I see them running.... linux.

      it doesn't seem to run windows...
      this alone rules it out of being an alternative to vmware.

  5. Uhm... by Richard_at_work · · Score: 5, Informative

    'Watch out VMware and Microsoft'? If im correct, Vmware and VPC doesnt require the host operating system to be actually ported to the virtual system, whereas Xen does. This might be fine for specific usage, but its next to useless for what I use vmware for - trying out new and interesting operating systems, configurations or such. The markets may overlap near the top end, but I see no reason why VMware/VPC need watch out, as the main market for these VMs is running Windows, and while there has been a developers port of WinXP to Xen, I severely doubt you will see that in the wild.

    1. Re:Uhm... by interiot · · Score: 4, Informative
      From the article...
      • Xen does not support Windows today because it uses a technique called para-virtualization to achieve high performance that involves modifying the operating system kernel, Pratt said. However, the debut of virtualization features in next-generation CPUs from Intel and AMD will make it easier to support unmodified operating systems, Pratt said.
      • "At that time we will reconsider Windows support," he said.

      And more here:
      • Full virtualization requires no changes to the guest OS. But it is not well suited for x86 architecture as x86 is not virtualizable. x86 has machine instructions that are termed sensitive. Sensitive instructions will fail without trap when executed in the guest OS. This requires dynamic rewrite of guest OS kernel during run time and shadow system structures which results in a performance hit. Para-virtualization solves the above issues but it requires changes to the guest OS kernel although are required for the Application Binary Interface (ABI) and hence applications can run as they are on the guest OS.
    2. Re:Uhm... by mccalli · · Score: 3, Informative
      Watch out VMware and Microsoft'? If im correct, Vmware and VPC doesnt require the host operating system to be actually ported to the virtual system, whereas Xen does.

      You're right. However, for once people are using their terms correctly whereas they normally get mixed together.

      Virtual PC, despite the name, is not virtualisation software. It's an emulator - has the whole chip and other bits of hardware under there to run, even if it's natively running on an x86 anyway. That's why it's useful to me over VMWare, as I swap the same virtual machine between Mac and Windows platforms.

      VMWare is virtualisation software. It doesn't emulate as such, instead it provides hooks to access the native platform as if it were a separate environment. That normally makes it quicker than an emulator, and I believe this is normally borne out in various speed comparisons with Virtual PC.

      I've not encountered Xen, but from how things sound it really is a proper virtualisation package and not any form of emulator. It sounds like it is providing kernel hooks to access its current Linux environment as if there were multiple environments. So it definitely is virtualisation. Think of IBM's zSeries virtualisation - that needs special coding too, from what I recall.

      "I see no reason why VMware/VPC need watch out, as the main market for these VMs is running Windows..." may be how most people think of it, but Virtual PC is not a VM - it's an emulated environment.

      Cheers,
      Ian

    3. Re:Uhm... by interiot · · Score: 2, Informative
      And more here
      • Virtualization technology has been used on mainframes and high-end servers for years, but IT departments are starting to use the technology on low-end servers as well
      • "In order to virtualize technologies within a processor, a little bit of hardware goes a long way," Brookwood said. Users still need virtualization software, but that software will run much faster with hardware support, he said.

        Neither Intel nor AMD has built such technology into their processors for low-end servers, but both are now talking about having that capability available around 2006. Intel has discussed its Vanderpool virtualization technology at recent conferences, but like AMD, has not provided specific details about the technology.

    4. Re:Uhm... by Richard_at_work · · Score: 3, Informative
      Interesting, because the Xen homepage has this to offer:

      1.3 Which OSes run on Xen?

      To achieve such high performance, Xen requires that OSes are ported to run on it. So far we have stable ports of Linux 2.4, Linux 2.6, and NetBSD. Ports of FreeBSD and Plan 9 are nearing completion.

      1.4 Does Xen support Microsoft Windows?

      Unfortunately there are no plans to support any versions of Windows in the near future. Furthermore, a port of Windows would be encumbered by licensing issues. Longer term, virtualisation features in next-generation CPUs should make it much easier to support unmodified OSes: at that time we will reconsider Windows support.


      Personally, I trust the homepage more than the article.
    5. Re:Uhm... by interiot · · Score: 1

      They... both say... the... same... thing?

    6. Re:Uhm... by ScoLgo · · Score: 4, Funny

      Shatner? Is that you?

      --
      "Michael, I did nothing. I did absolutely nothing - and it was everything that I thought it could be."
    7. Re:Uhm... by hendridm · · Score: 1
      "At that time we will reconsider Windows support," he said.

      In other words, the check is in the mail?

    8. Re:Uhm... by Richard_at_work · · Score: 1

      Im sorry, I thought you were emphasising something else in your post, whereas it was actually myself misreading the line :/

    9. Re:Uhm... by interiot · · Score: 3, Interesting

      Are there any good benchmarks out there comparing Xen to VMWare? this PDF contains benchmarks for very specific operations, not entire programs, but indicates that Xen is much faster for those operations. Though it also notes that VMWare's license prevents people from publishing benchmarks. So... This might mean that VMWare itself realizes that they have severe performance problems in places?

    10. Re:Uhm... by homer_ca · · Score: 3, Informative

      Umm... VirtualPC is both. Virtual PC for the Mac is an emulator that translates x86 code to PowerPC. Virtual PC for Windows is a virtual machine that executes x86 code natively.

    11. Re:Uhm... by lakeland · · Score: 4, Insightful

      Xen won't run an OS unless that OS has been especially ported to Xen. I.e. it is ideal for running linux, BSD, and not much else. It is also x86 only (I can't use it as a MOL replacement).

      It has one huge benefit over VMWare, it is extremely fast. The virtual machine has so close to the performance of the host that it would be reasonable to do such things as: implement a 100% reliable server on your computer and then implement an up-to-date desktop machine inside it. Implement virtual hosting on cheap x86 hardware. Run two distros simultaneously, etc.

      Personally I think running a reliable server on the same hardware as your unreliable desktop would be nice. Have the one machine always work correctly for handling mail, printing, web serving, etc. But still up to date.

    12. Re:Uhm... by tirnacopu · · Score: 1

      VMware DOES require some extensive testing of the guest operating system by THEIR team. If they can't figure out what's wrong, you are out of luck. Period. No way to fiddle with the internals and persuade it to even boot FreeBSD 5, while 4.7 runs smoothly. Also, VMware is very expensive for server usage. With an OSL license, I can have MS VPC for about 100 bucks/year, and a Slackware install has been running as a service inside W2K SRV for me quite nicely. No, this setup is in no way supported, but it does run, and with very good performance, with months of uptime regardless of the regular windows reboots, since VPC saves the machine state on shutdown. My only problem is that them darned logs don't get rotated when expected because the host machine is down :)
      Also, I am yet to try some buffer overflows and the kind on this virtual machine, no idea whether they would work in any way.
      So my point would be: having a choice is A Good Thing. VMware (server) is heavily optimized and carefully tested for specific setups, but also very expensive, while the consumer emulator (MS VPC) is way better, less resources-demanding and cheaper for my needs. I for one welcome our new, opensource, flexible, community-supported, not windows-biased emulator overlords.

    13. Re:Uhm... by drinkypoo · · Score: 1

      It is worth mentioning (and you did not, so I am) that vmware emulates everything but the CPU and USB devices. It's unfortunate that they don't have a scheme for a driver to allow you to directly use installed hardware by preventing windows from using it and giving you access to all its resources. You would then load a driver to access it in your virtual machine. Shit, even dosemu let you have direct access to hardware devices in your system that were unclaimed by Linux.

      In that respect vmware both emulates and virtualizes.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    14. Re:Uhm... by drinkypoo · · Score: 2, Interesting

      I have the same question, but in relation to User-Mode Linux. The assertion is made in the article that UML is slower than Xen. I don't see why it would be, because they are essentially the very same thing, and I doubt the UML developers are a bunch of potzers or anything. I have not used UML much but when I have it's been plenty speedy and very enjoyable. I'm preparing to use UML to break up my server tasks to improve security, and give my remote users a separate system they can't break too easily. I doubt there's much reason I should use Xen over UML unless they have some excellent tools for setting up new instances. UML gives me enough choice of kernels now... What am I missing?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    15. Re:Uhm... by interiot · · Score: 2, Informative
      It's slow because of its very name -- "user-mode". Generally anything that has to do kernel-like stuff, but does it in user-mode, will be a fair bit slower than it could be if it were in the kernel. As I understand it, this is because every low-level operation (eg. sockets, disk I/O, etc) requires memory to have one extra copy made for each transaction.

      Presumably things like microkernels get around this by sharing memory directly with the kernel? Though that article says that microkernels still historically are slower than monolithic kernels, so the user-mode thing might clearly be an unresolvable problem here. Too bad Linus doesn't post on slashdot, otherwise he might be able to elaborate...

    16. Re:Uhm... by l810c · · Score: 2, Informative
      I've just recently moved from UML to Virtuozzo VPS and the speed increase was dramatic given the same hardware specs.

      Here's a post from my current VPS provider that does a great job of explaning all 3.

    17. Re:Uhm... by Anthony+Liguori · · Score: 1

      If im correct, Vmware and VPC doesnt require the host operating system to be actually ported to the virtual system, whereas Xen does.

      This isn't 100% correct. Both due require modifications to the underlying OS. The main difference is that VMWare and VPC does this dynamically. That is, it figures out at runtime where it needs to make changes and changes the binary.

      The main difference is that para-virtualization requires more aggressive changes to the underlying OS. So much so, that it would be much less practical to do this sort of dynamic rewriting. That's not to say it's not possible or even that it hasn't been considered. There's just not really a compelling reason on a platform like Linux since you have the source code right there :-)

    18. Re:Uhm... by harlows_monkeys · · Score: 1
      If im correct, Vmware and VPC doesnt require the host operating system to be actually ported to the virtual system, whereas Xen does. This might be fine for specific usage, but its next to useless for what I use vmware for - trying out new and interesting operating systems, configurations or such

      I believe the majority of people who buy VMWare, though, are using it to isolate servers. E.g., if you have two departments or customers who both need a web server, and don't each need the full resources of a dedicated machine, but do need root access or otherwise need to run risky stuff, you stick them each on a separate VM.

      I think in that environment, having to run a special Xen port of the OS won't bother people.

    19. Re:Uhm... by glib909 · · Score: 2, Interesting

      So AMD (and Intel?) are planning on supporting virtualizing in their lower end CPU's in 2006?

      AMD's Presidio project is suposed to be out next year, but how about intel's Vanderpool project?

      I couldn't find any similar articles for Intel announcing any timeline for Vanderpool ... perhaps the Xen folks are waiting for imminent support there before committing dev resources to this?

      --
      Suudsu, that stuff is G-E-W-D.
    20. Re:Uhm... by rasz · · Score: 1

      mod parrent UP. Great link. Now I know why UML is so slow.
      I personally use CoLinux and its ok .. for a windows port. Much better than cygwin at least.

    21. Re:Uhm... by hacker · · Score: 1
      "It has one huge benefit over VMWare, it is extremely fast. The virtual machine has so close to the performance of the host that it would be reasonable to do such things as: implement a 100% reliable server on your computer and then implement an up-to-date desktop machine inside it. Implement virtual hosting on cheap x86 hardware. Run two distros simultaneously, etc."

      Obviously you haven't run VMWare lately.

      Anything running in the version 4 series of VMWare (now up to 4.5.2) runs as fast (and faster in some cases, because of the wonderful memory management of a Linux host) than the same OS on the bare metal. Version 5 (now in beta), is even faster.

      Of course, you have to plan your virtual machine build accordingly, and optimize based on your needs. I have over 40GiB of vmware workstation images here on my laptop that I use on a regular basis, and I would never want to run these on the bare metal anymore.

      With the right RAM configuration (changeable in the global VMWare prefs, to run exclusively in RAM, swap some, or swap all), I can run up to 4 virtual machines, each with 256M of RAM dedicated to them, at the same time, and fast. They're really snappy when running full-screen, but that's not necessary.

      It supports all of my peripherals, including my dozen-or-so Palm devices, USB, native pcmcia and wireless (no more faux-NAT required), and many other things. Nothing else even comes close.

      Seriously, you should give VMWare 4.x or 5.x a try again, they've made enormous leaps in performance from the version 3.x builds.

    22. Re:Uhm... by extra+the+woos · · Score: 2

      how the hell can a company prohibit some reviewer from publishing benchmars?? THERES NO WAY THAT'D STAND UP IN COURT.. that's like a car manufacturer prohibiting a reviewer from revealing the cars braking performance or something...

      --
      replacing it with NEW Folger's Crystals! (lets see if they notice the difference)
    23. Re:Uhm... by jadel · · Score: 1
      Presumably things like microkernels get around this by sharing memory directly with the kernel? Though that article says that microkernels still historically are slower than monolithic kernels, so the user-mode thing might clearly be an unresolvable problem here.
      IANAT (I am not Andrew Tanenbaum) ;-)
      Basically a microkernel that shared memory between processes would not be a microkernel. The page you linked to had another category:
      Hybrid kernels (modified microkernels)
      Hybrid kernels are essentially microkernels that have some "non-essential" code in kernelspace in order for that code to run more quickly than it would were it to be in userspace. This was a compromise struck early on in the adoption of microkernel based architectures by various operating system developers before it was shown that pure microkernels could indeed be high performers. Most modern operating systems today fall into this category, Microsoft Windows being the most popular example.
    24. Re:Uhm... by mccalli · · Score: 1
      Virtual PC for the Mac is an emulator that translates x86 code to PowerPC. Virtual PC for Windows is a virtual machine that executes x86 code natively.

      It isn't, no. I was a beta-testing for Virtual PC for Windows. The translation is fast, but it's not native. To check this, have a look at its behaviour on a dual-processor box.

      Cheers,
      Ian

    25. Re:Uhm... by Ath · · Score: 1
      Actually, VMware's ESX platform is probably a more fitting comparison to Xen as ESX is not running on a host operating system. It is pure virtualization of the hardware. Of course, this is a server-side only solution and is pretty explicit about the hardware platforms it supports compared to the more generic GSX and Workstation versions.

      VMware's vMotion solution really makes ESX stand out, though. With vMotion, you can literally drag a running guest OS from one ESX box to another within seconds.

      ESX is really where production server consolidation is taking place in the x86 world. More competition, however, is only for the better.

    26. Re:Uhm... by Donny+Smith · · Score: 1

      > My only problem is that them (sic!) darned logs don't get rotated when expected because the host machine is down :)

      Can't you write a script to run on startup (put it in rc.local or something) that will check if logs have been rotated (or to just rotate logs on startup no matter what)?
      That shouldn't be a hard thing to do.

    27. Re:Uhm... by tirnacopu · · Score: 1

      Sure I can, but it's not a startup, it's a resume. The virtual machine is never rebooted.

    28. Re:Uhm... by banzai51 · · Score: 1

      Given that information, if these guys really think they're going to take a shot at VMware or VPC they are sadly mistaken. The big enterprise push with VMWare is ESX server doing lab functions and the ability to consolidate under-utilized Windows boxes.

    29. Re:Uhm... by Donny+Smith · · Score: 1

      > Sure I can, but it's not a startup, it's a resume. The virtual machine is never rebooted.

      Cool - interesting problem!

      Maybe you can script that from the Windows host.
      a) I think there is an API that lets you do things to virtual machine from outside.
      Maybe the API is for Virtual Server only, I'm not sure.
      b) You can create a short Windows script that will ping virtual environment's IP, then do an if-then. If the environment is down, and a scheduled job X does not exist, create a Windows scheduled job X (retry on failure) to login to the Linux guest OS and issue the log archiving command.
      That should be much easier from Cygwin (at least for me), especially if you could fix up passwordless logon (via SSH) between the two environments - then you could write your script either in Cygwin or in Linux - do a simple checkpoint on each successful ping, rotate log if last checkpoing is >5 minutes or something suchlike.

    30. Re:Uhm... by cakefool · · Score: 1

      Did you know you can't run a new engine on a decent dyno without the manufacturers consent?

      This is a collusion between the dyno runners and the manufacturers, and stops you checking the validity of that 60000000BHP at the flywheel claim. You can run the whole car, but that is a different sort of dyno.

      I wish I knew what was in it for the dyno runners though - only bit that doesn't make sense

  6. A link? by northcat · · Score: 1

    Does Xen have a website yet? It would be nice to have a link.

    1. Re:A link? by Anonymous Coward · · Score: 0

      http://www.cl.cam.ac.uk/Research/SRG/netos/xen/

    2. Re:A link? by ralphart · · Score: 1

      Don't know if this is the right one (can't imagine that it's not) but here's what I ran across:

      http://www.cl.cam.ac.uk/Research/SRG/netos/xen/

      Am I the only one to notice the following at the bottom of the page: "Work on Xen has been supported by UK EPSRC grant GR/S01894, Intel Research,
      HP Labs and Microsoft Research. "

  7. Re:GNU fails First Post by laughingcoyote · · Score: 0, Offtopic

    My, the trolls are out tonight...

    --
    To fight the war on terror, stop being afraid.
  8. Half Life? by bryan986 · · Score: 0

    I did not know you could package up an entire alien race!?!

    --
    There is no sig
  9. Link by forsetti · · Score: 1

    Xen

    --
    10b||~10b -- aah, what a question!
    1. Re:Link by Anonymous Coward · · Score: 0

      Argh.. Stop karma whoring. The damn link was already posted. And even so, you should be posting them as AC anyway.

  10. URL? by Refrozen · · Score: 0

    I can't find a website for this 'Xen'... I guess if it is that new G00gle hasn't indexed it yet? Oh wait, here it is XEN WEBSITE

    1. Re:URL? by Anonymous Coward · · Score: 0

      Didn't you know? Google updates it's index about as often as Earth experiences ice ages.

  11. huh? by northcat · · Score: 1

    Watch out VMware and Microsoft.

    Why Microsoft?

    1. Re:huh? by bryan986 · · Score: 0

      Dont they make Virtual PC?

      --
      There is no sig
    2. Re:huh? by Anonymous Coward · · Score: 0

      VirtualPC

    3. Re:huh? by shufler · · Score: 1

      Microsoft bought VirtualPC, which was (is) a popular alternative to VMWare for Windows. It may or may not have also had a Mac version, I cannot remember at the moment.

    4. Re:huh? by burns210 · · Score: 1

      But Xen has nothing to do with VirtualPC. VPC lets you run emulation software on Windows or a Mac to emulate an x86 computer for running operating systems like windows, linux, *bsd, etc.

      Xen is a userlinux-style system that is Linux-only for running only linux virtual systems, essentially. This is more like a Sun Contrainers competitor(if that) than a VirtualPC or VMWare competitor.

    5. Re:huh? by Crimsane · · Score: 1

      if you read the article you would find out MS makes Connectix, which is appearently marketed under the "virtual server" brand, competition to VMWare.

      another "watch out" is if linux gets GPL "virtualization software", people could be more responsive to switch to linux.
      If they already own their windows licenses, they would be able to run all the programs they currently run, and make the movement from windows to linux in smaller steps. Maybe today they just run new apps in linux, and tommorow they start moving from virtualized office to native OO.org.

    6. Re:huh? by kyouteki · · Score: 1

      The Mac version of VPC came long before the PC version of VPC. Microsoft ported the program when they bought Connectix.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    7. Re:huh? by Koguma · · Score: 0

      If you want to run windows without extra cost you already have Wine and Bocs. Xen won't do it at least another 2 years.

    8. Re:huh? by civilizedINTENSITY · · Score: 2, Informative

      http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
      "We have a fully functional ports of Linux 2.4 and 2.6 running over Xen, and regularly use it for running demanding applications like MySQL, Apache and PostgreSQL. Any Linux distribution (RedHat, SuSE, Debian, Mandrake) should run unmodified over the ported OS.

      In addition to Linux, members of Xen's user community have contributed or are working on ports to other operating systems such as NetBSD (Christian Limpach), FreeBSD (Kip Macy) and Plan 9 (Ron Minnich). A port of Windows XP was developed for an earlier version of Xen, but is not available for release due to licence restrictions."

      http://www.cl.cam.ac.uk/Research/SRG/netos/xen/faq .html
      "To achieve such high performance, Xen requires that OSes are ported to run on it. So far we have stable ports of Linux 2.4, Linux 2.6, and NetBSD. Ports of FreeBSD and Plan 9 are nearing completion."

    9. Re:huh? by Trejkaz · · Score: 1

      As a note to readers, the above should read "If you want to run windows apps without extra cost..."

      Clearly, Wine does not run Windows.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    10. Re:huh? by Donny+Smith · · Score: 1

      The grandparent post is a troll.

      > if you read the article you would find out MS makes Connectix, which is appearently marketed under the "virtual server" brand, competition to VMWare.

      And if you read news you would have found out that Connectix is a name of the Virtual PC maker acquired by Microsoft.

      >another "watch out" is if linux gets GPL "virtualization software", people could be more responsive to switch to linux.

      UML is OS virtualization software for Linux released under GPL.

      >If they already own their windows licenses, they would be able to run all the programs they currently run, and make the movement from windows to linux in smaller steps.

      If they already own Windows licenses, they could run (free) Cygwin today and move to Linux in smaller steps.

      >Maybe today they just run new apps in linux, and tommorow they start moving from virtualized office to native OO.org.

      Native OO.org runs just as good under non-virtualized Windows OS (Windows version of OO.org, of course).

  12. Watch out VMWare and Microsoft my ass. by entrigant · · Score: 2, Insightful

    From TFA:

    Xen does not support Windows today because it uses a technique called para-virtualization to achieve high performance that involves modifying the operating system kernel, Pratt said. However, the debut of virtualization features in next-generation CPUs from Intel and AMD will make it easier to support unmodified operating systems, Pratt said.

    As usual slashdot is overhyping or just getting shit plain wrong in article summaries. This is yet another usermode linux clone it seems. This is probably not very different from the "revived" plex86. VMWare is fine where it is for the time being, and it still appears OSS cannot muster the will and/or talent to produce a viable alternative to VMware.

    1. Re:Watch out VMWare and Microsoft my ass. by Zardus · · Score: 1

      Well, there's QEmu, and Bochs, which can run Windows in Linux and so on. However, they are full CPU emulators, and are as such much much slower than VMWare. If all you're using VMWare for is like Outlook in Windows (and some organizations I know do exactly that), then these solutions might suffice, but for anything else VMWare wins hands-down.

      --
      You can mod your friends, you can mod your nose, but you can't mod your friend's nose.
    2. Re:Watch out VMWare and Microsoft my ass. by The_Bagman · · Score: 2, Informative

      Xen is *very* different than plex86. Xen is a virtual machine monitor - it directly executes most instructions, and achieves performance that is within a few percent of non-virtualized operating systems.

      Plex86 is an emulator - it interprets most instructions, and it is dog-slow.

      It's true that Xen requires the guest OS to be ported to the Xen virtual architecture, but this has been done for linux.

    3. Re:Watch out VMWare and Microsoft my ass. by Wesley+Felter · · Score: 1

      In server consolidation environments, Xen is very much a viable alternative to VMware ESX -- it's faster and cheaper.

    4. Re:Watch out VMWare and Microsoft my ass. by damiam · · Score: 1

      Plex86 is a virtualizer, not an emulator. You may be confusing it with Bochs.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    5. Re:Watch out VMWare and Microsoft my ass. by pkhuong · · Score: 1

      qemu x86 on x86 can either be full emulation or only virtualisation.

      --
      Try Corewar @ www.koth.org - rec.games.corewar
    6. Re:Watch out VMWare and Microsoft my ass. by Anonymous Coward · · Score: 0
      A port of Windows XP was developed for an earlier version of Xen, but is not available for release due to licence restrictions.
      Mmm shared-source.
    7. Re:Watch out VMWare and Microsoft my ass. by entrigant · · Score: 1

      Don't lecture me... especially when you are wrong. Plex86 was and in its revived form still is a virtualizer. You should read the original white paper from when the original author had funding. It is a very fascinating read for how virtualization can be achieved on a platform not designed for it.

      In its original form plex86 was a full virtualizer able to run windows flavors. In it's new "revived" form the new maintainers have decided to screw it up and make it only capable of running linux in the VM. Plex86 was suppose to be the oss vmware killer. Once the funding stopped, however, the author pretty much abandoned it.

    8. Re:Watch out VMWare and Microsoft my ass. by entrigant · · Score: 1

      QEmu however has the advantage of using dynamic recompilation. That may sound kind of weird when doing x86->x86, but it is still faster. The real beauty in it is by its design can do any supported cpu -> any supported cpu dynamic recompilation.

    9. Re:Watch out VMWare and Microsoft my ass. by leonexis · · Score: 1
      There may be some overhyping.. which is normal. But this is not just another "usermode linux clone." We used Xen in R&D for our company and started using it in a production environment in about two weeks. This replaced the User Mode Linux environment we were already using. Performance increased noticeably and we have had no kernel panics with Xen, while we did have at least one every week with UML with data intensive applications. And considering that Xen can run a standard harddrive image (or the harddrive itself) with very little to no modification, it can be a good replacement to already running VMs such as VMware if you are in a totally Linux environment.

      One piece of software will not meet everyone's needs, but please don't disreguard a piece of software until you have tried it yourself and speak from experience.

    10. Re:Watch out VMWare and Microsoft my ass. by King_TJ · · Score: 1

      Really, I think much of the "virtual OS" market is going to remain rather stagnant, because commercial OS makers have little real interest in it.

      Think about it... If you're Microsoft, for example, and you think it's worthwhile for Windows XP to run well on say, a Macintosh system, you wouldn't expend loads of effort getting it running quickly inside an emulator like Virtual PC. You'd just release a native version of "Windows XP for Macintosh"! (They could even make it "play nice" with OS X so you'd have a dual boot Mac setup.)

      Since they refuse to do that, it tells me they'd rather see their product run relatively poorly on a competitor's hardware platform (though they have no problem seeing it at least run slowly on it, since that potentially sells more Windows software licenses than if the competing system can't run the OS *at all*).

      I think the same is going to happen with Linux, really. The Linux advocates are going to want to see alternate OS's (like Windows) run well on top of their native Linux OS - but the makers of the commercial alternatives aren't going to care about it very much at all. They're happy enough that things like vmware exist, but that's as far as they really care. Surely, they won't go to much trouble writing custom versions of the OS's to run quickly inside Xen. If they did, they'd be legitimizing their own competition as "a better native OS to run everything from".

    11. Re:Watch out VMWare and Microsoft my ass. by Bilzmoude · · Score: 0

      Well, for small apps, there is always Bochs, but it is really slow. It will run windows, but it is not worth it. It runs Linux out of the box really nicely... just dont run graphics apps. Unfortunately, Bochs uses processor emulation for its x86 virtulization... even if it runs on an x86 host!!! That ends up being a real waste. If Bochs could only have an x86-on-x86 passthrough mode, Bochs would blow Xen out of the water... no need to rebuild your guest kernel.

    12. Re:Watch out VMWare and Microsoft my ass. by Anonymous Coward · · Score: 0

      You're missing the point as to why VMWare should be worried. It's not because of a few users testing code or running older software in a virtualized DOS or Win98.

      Their bread and butter is the server market which is handled by GSX and ESX. That's where this product will hit them hard.

      Next time, if you're not sure why something is interesting or popular, why not just ask rather than jumping to an incorrect conclusion and looking like an ass?

  13. Yawn by Anonymous Coward · · Score: 0
    Xen does not support Windows today because it uses a technique called para-virtualization to achieve high performance that involves modifying the operating system kernel

    It doesn't support Windows, so who really gives a damn?

    I've always wanted to run a Debian session from within RedHat. /sarcasm I suppose it's cool for developers who need to support multiple distributions, but yawn to the rest of us.

    1. Re:Yawn by kinema · · Score: 2, Informative
      I suppose it's cool for developers who need to support multiple distributions, but yawn to the rest of us.
      Actaully Xen has a future in datacenters. One really usefull feature of Xen is the ability to migrate VMs from machine to machine without major interuption of service. I believe that there is also some work being done on making Xen work on clusters.
    2. Re:Yawn by civilizedINTENSITY · · Score: 1
      I believe that there is also some work being done on making Xen work on clusters.

      http://www.cl.cam.ac.uk/Research/SRG/netos/xeno/
      "This wide-ranging project has two main strands of work:
      • Development of the Xen virtual machine monitor, a high-performance hypervisor for hosting multiple commodity operating systems on a single x86-based server. This forms the core of each Xenoserver node, providing the resource management, accounting and auditing that we require. Xen finds numerous applications outside the Xenoserver project. These inclue server consolidation and secure computing platforms.
      • Development of the Xenoserver Open Platform control software for managing networks of Xenoservers. Our research includes distributed storage, server discovery, resource management and authentication, authorization and accounting (AAA) functions. This work finds relevance to Grid computing and to globally distributed testbeds such as PlanetLab.
      An overview of the complete project is available as a Computer Lab Technical Report."
  14. User of VMWare by laughingcoyote · · Score: 1

    I already use VMWare, and while I love the concept, I have had several problems, especially in using it to test newer versions of OS's. (Fedora Core 3, for example, could not load the kernel properly, while it wouldn't even recognize the disc for Fedora Core 2. Yes, I checked the checksum, yes, it matched.)

    It would be great if someone could come up with a better (and free) alternative to it, hopefully some of these bugs can be worked out. I would certainly like to see all the "good" features kept, such as auto-switching between guest and host OS just by moving in and out of the window, automatic piggybacking of the host's net connection via NAT, and the overall smoothness of the interface once you do get it running. The ability to mount an ISO image as a CD is also an excellent one.

    --
    To fight the war on terror, stop being afraid.
    1. Re:User of VMWare by user9918277462 · · Score: 1
      Xen has nothing to do with VMware-style guest OS "virtualization".

      You're looking for something more like QEmu, which while it's actually a CPU emulator they're working on adding virtualization capabilities a la VMware Workstation/VPC.

    2. Re:User of VMWare by BladeMelbourne · · Score: 1
      I have installed and run Fedora Core 3 (and before that FC2) in VMware Workstation 4.5.2-8848 under WinXP (urgh) at work. I have had no problems at all. When I compiled 2.6.9 in FC2, the performance increase inside VMware was very noticeable.

      If you want my VM files (minus the disk) and xorg.conf, contact me via my site.

      For those trying to run VMware Workstation on Fedora Core 3, this is in the release notes:
      VMware WS 4.5.2 is known to work on Fedora Core 3 after the following workarounds are used:
      * You must upgrade the kernel modules and configuration using the unofficial vmware-any-any-* toolkit available from: http://platan.vc.cvut.cz/ftp/pub/vmware/
      * After vmware-config.pl is run and the VMware modules are loaded, the following command creates the /sys/class/* nodes needed for udev:
      cp -rp /dev/vm* /etc/udev/devices/

      I agree that it would be great to come up with an OSS equivalent, but I can imagine that it would be a huge undertaking. VMware is the only application I need on Linux that is commercial, a free version would be nice for home usage.

    3. Re:User of VMWare by laughingcoyote · · Score: 1

      I generally use Slackware/Debian on it in any case, it was just something where I wanted to try it out and didn't have an unused box lying around. Thanks much for the offer though.

      --
      To fight the war on terror, stop being afraid.
    4. Re:User of VMWare by Anonymous Coward · · Score: 0

      Fedora's issue with VMWare isn't VMWare's issue, it is Fedora's.

      I hate to say that and not have a refference for it, but I do remember an agruement on the Fedora boards over whether or not how Fedora boots up is technically within the spec.

  15. Re:GNU fails First Post by Anonymous Coward · · Score: 0
    I presume netcraft confirms this:

    Kim Jong II is dying.

  16. Microsoft's own by Man+in+Spandex · · Score: 1

    Microsoft VirtualPC

    1. Re:Microsoft's own by saden1 · · Score: 1

      According to Xen's site Microsoft Research is supporting the project.

      --

      -----
      One is born into aristocracy, but mediocrity can only be achieved through hard work.
    2. Re:Microsoft's own by bani · · Score: 1

      that "is" is now past tense.

  17. Nice Press release by Che+Guevarra · · Score: 1

    Watch out, here it comes. An "open-source virtualization" something or other. WOW! Is it also robust and oriented toward our needs? Neat! Moles and trolls, moles and trolls.

  18. Don't forget the trademark by SunPin · · Score: 1

    Xen is a Good Thing (TM).

    --
    Laws are for people with no friends.
    1. Re:Don't forget the trademark by Anonymous Coward · · Score: 0
      Xen is a Good Thing (TM).

      You forgot about Poland.

  19. Correct by user9918277462 · · Score: 1

    The submitter of this article is quite obviously clueless. Xen and VMware are wildly different technologies designed for very different problems. Xen is much closer to VMWare GSX Server, which has little in common with VMWare Workstation.

    1. Re:Correct by Wesley+Felter · · Score: 2, Interesting

      The article doesn't mention VMware Workstation. Xen competes with VMware ESX, which is the most expensive version of VMware. It's gotta be a little worrisome to EMC.

  20. Bush Arrested in Canada by Anonymous Coward · · Score: 0
  21. Xen is good stuff by gbnewby · · Score: 3, Informative

    I was an early user of 1.0, and have followed developments of Xen since. It's very nicely done, open source, and builds on existing kernels and distributions (it's not really a standalone application, but integrates with the Linux kernel and adds some userland tools).

    Xen lets you configure one physical system with multiple virtual systems. Hardware access (disk, net, video) is transparent via software.

    This is kind of the conceptual opposite tools like Condor and Globus: rather than bundling lots of physical systems together as one (aka, grid computing), it is meant to take one system and subdivide. This makes for easier development (including testing for grid services, Web services, different distros, etc.), and of course is good for virtualization (like in Web hosting services).

    Congrats, team!

  22. No, it doesn't by temojen · · Score: 0, Flamebait
    PARENT LINK CONTAINS REFERRAL; /WHORE (Score:0)
    by Anonymous Coward on Thursday December 02, @05:01PM (#10981304)
    n/t

    Liar.

  23. is this the xen project? by Anonymous Coward · · Score: 0

    http://xen.terrabox.com/index.php/What%20is%20xen

    or this:
    http://www.cl.cam.ac.uk/Research/SRG/netos/xen/

    ???

    there are too many xen pages out there?

    anyone knows?

  24. Article Text by Anonymous Coward · · Score: 1, Informative

    Open-Source Alternative To VMware
    Open-source virtualization consortium to debut

    By Paula Rooney, CRN
    5:16 PM EST Wed. Dec. 01, 2004

    Watch out VMware and Microsoft. Here comes Xen.

    Xen, an open-source project with growing ties to Red Hat, Novell and Hewlett-Packard, is emerging as the leading contender for providing open-source virtualization for the Linux environment.

    Ian Pratt, the founder of the Xen project that originated from the University of Cambridge in England, confirmed that developers from Red Hat and Suse are preparing "testing packages" of Xen that will be released in the near future.

    Additionally, Xen has joined forces with leading Linux distributors, chip vendors and platform vendors to create a consortium that will more broadly enable open-source virtualization development and deployment.

    Xen backers are hopeful that support from heavy hitters in the Linux industry will make Xen a household name in the open-source community. The open-source project completed the first major update of Xen version 2.0 in November.

    Steven Hand, another computer scientist at the University of Cambridge's computer lab, said he expects the Red Hat drop will be available in the same time frame as Red Hat Enterprise Linux 4.0, which is due in the first quarter of 2005.

    "Red Hat's packaging Xen in the near future as part of Fedora. We've talked to Suse," said Hand. "We have a lot of momentum in the open-source community. Now we're pushing into mainstream Linux so when Xen goes into the latest versions of Linux, users can compile a Xen kernel out of the box."

    Red Hat will release test builds for Red Hat Fedora Core 3, and Novell will soon release test builds for Novell Suse Linux, Pratt said. The Xen components will be dropped into experimental Linux packages, but they won't be commercially supported.

    Xen does not support Windows today because it uses a technique called para-virtualization to achieve high performance that involves modifying the operating system kernel, Pratt said. However, the debut of virtualization features in next-generation CPUs from Intel and AMD will make it easier to support unmodified operating systems, Pratt said.

    "At that time we will reconsider Windows support," he said.

    Neither Red Hat nor Novell would comment on their plans with Xen. A Novell spokesman said the company is "excited about what Xen is doing. But it's premature at this point for us to talk publicly about our strategy and potential partnerships around virtualization."

    Xen will be available under the General Public License; some components may be available under a NetBSD-style license, Hand said.

    Consultants and solution providers in the open-source market said they would welcome an alternative to VMware and Virtual Server, but Xen needs to add support for Windows. VMware supports Linux but is often an expensive add-on to an open-source stack, other observers said.

    "Xen is very, very good, but it does not yet support Windows," said Chris Maresca, senior partner at Olliance Group, Palo Alto, Calif. "A lot of people use VMware to support WinX on Linux."

    Ironically, Microsoft Research provided funding for the Xen group when it was founded two years ago, but has since back out, Xen officials said.

    Xen is only one of several open-source projects devoted to offering virtualization software for the open-source and Linux environment.

    Bochs, an open-source project founded in 1994 that evolved into Plex86, focused on Linux virtual machines. Observers said Plex86's approach is more like VMware's. Founder and developer Kevin Lawton said he talked with IBM, Red Hat and Novell about getting backing for the Linux VM project in 2003, but those discussions didn't pan out.

    The existing code, he said, is very experimental in nature and needs additional development before it could be classified as a "version 1.0" commercially ready server. The last update of Plex86 posted in December 2003. The project is n

  25. dont see it in FC 2 yet by argoff · · Score: 1, Informative

    [root@ root]# yum install xen #yeah like this will really work
    Gathering header information file(s) from server(s)
    Server: Fedora Core 2 - i386 - Base
    Server: Fedora Core 2 - i386 - Released Updates
    Finding updated packages
    Downloading needed headers
    Cannot find a package matching xen
    No actions to take
    [root@ root]# find /lib/modules/2.6.9-1.6_FC2/|grep -i xen
    [root@ root]# find /var/cache/yum/|grep -i xen
    [root@ root]#

    1. Re:dont see it in FC 2 yet by Wesley+Felter · · Score: 1

      That's because the latest features appear in the Fedora Core development tree, not in already-released versions.

    2. Re:dont see it in FC 2 yet by argoff · · Score: 1

      That's because the latest features appear in the Fedora Core development tree, not in already-released versions

      Does that mean that it eventually will be released into fc2?... also I'm not quite sure how it will be released, as another kenrnel, package, or module? Right now I'm using a manual build on top of FC2, but it does not work too nicely with iptables, for example.

    3. Re:dont see it in FC 2 yet by GiMP · · Score: 1

      That means that you will need to upgrade to FC4 or track the unstable/rawhide branch. FC2 is stablized and will only receive security updates.

  26. What about Qemu ? by Anne+Honime · · Score: 3, Interesting
    I'm a happy Qemu user on fedora 2 ; although not as flexible as plex86 wrt host architecture, nor as polished as VMware, Qemu has windows support, and just does the job fine, after minor tweakings.

    I've yet to try Xen, but as of now, I just need basic windows compatibility to launch closed softwares (most of them being databases of law articles on CD-ROM to copy / paste extracts in linux Openoffice for research purpose), and Qemu does just that.

    I only wish it could play GTA3-VC !

    1. Re:What about Qemu ? by Anonymous Coward · · Score: 0

      Please mod parent up.

      Qemu is under heavy development, and has a lot of potential. It is a full system emulator, as well as a user-mode emulator. It supports multiple host and guest architectures, as well as multiple host and guest OSes.

      Pretty ambitious undertaking if you ask me, but being on the development list, I have found that these guys coding it really know their stuff, and have managed to pull off amazing feats. Definately a project to watch.

    2. Re:What about Qemu ? by dmaxwell · · Score: 1

      If a stock kernel is altered in much the same way it is altered for Xen then you can use Qemu-fast. Other wise Qemu uses the "SoftMMU" to virtualize the x86 "sensitive" instructions. I find it quite useful for for "Win98-in-a-cage". It comes in handy for proprietary groupware clients and so forth.

      I suppose the major difference is the Qemu seems to emphasize interactive use of virtual/emulated machines much as Vmware does. Xen seems to be more suited for headless containers that server instances of Linux/BSD/Plan9 are running in.

  27. there are even xen-based linux distros already by Anonymous Coward · · Score: 0
  28. Wait a minute by Anonymous Coward · · Score: 0

    Anyone noticed this on the xen web site;-
    Work on Xen has been supported by UK EPSRC grant GR/S01894, Intel Research, HP Labs and Microsoft Research.
    M£ contributing to F/OSS. OK, which universe is this?

  29. "Porting" by vlad_petric · · Score: 4, Interesting
    That's a little bit overstated. For Linux, the changes are a couple thousand lines of code. That's a number I took from their research papers.

    But what do you have to change ? First of all, the system has to be made aware that it's not the "top top". Its physical memory is no longer contiguous (you ask Xen for memory pages, and it gives them to you in arbitrary places), it also has to be aware of absolute time that's no longer tick++. Second, you need drivers for the abstract network card and disk. Those are generally easy to write, because you just delegate the real work to Xen. VMWare is already doing something similar with its vmxnet driver for Windoze.

    I'd really expect these kind of changes to the OS to be incorporated in the main linux tree, as they mature.

    What do you gain from all this ? Well, SPEED. I mean, SPEED. Take a look at their research papers (wrong suggestion for the "I won't RTFA" crowd, but still ...). Their slowdowns/throughput losses (they run Postgres and Apache on a couple of virtual nodes, as opposed to a single, consolidated machine), are negligible (less than 10%). On some configurations they even got performance improvements! At the same time, VMWare and UML do considerably worse.

    In general, it's very easy to "virtualize" stuff that's running mostly in user space. As soon as you have considerable OS+I/O overhead, your performance drops significantly. The para-virtualization approach (employed by Xen), pretty much gets you the best of both worlds.

    --

    The Raven

  30. Imagine by commander_line · · Score: 0

    Imagine a beowulf cluster running Xen hosting Tomcat. Ahh, the joys of running virtual machines on a virtual machine that's part of a giant virtual machine. Uhh, Bob, how far away from the hardware are we now?

    1. Re:Imagine by archivis · · Score: 1

      Well you're running on a pentium 2 33333mhz chip...of course that's an entirely theoretical chip and is being emulated in software on the big mainframe down in the chip R&D lab...

      --
      In July O7, I got a mac pro. There's no punchline. Just endless joy and wonder.
    2. Re:Imagine by DeathByDuke · · Score: 0

      I thought the P4 was theoretical.

  31. I just hope it is better than... by bofkentucky · · Score: 1

    Novell's Zenworks, which rendered 1000 NT4 PC's/night useless on a regular basis while I was in college.

    --
    09f911029d74e35bd84156c5635688c0
    1. Re:I just hope it is better than... by Anonymous Coward · · Score: 0

      Zenworks is a very costly desktop imaging and application deployment solution from Novell which allows all machines to be updated seamlessly. It can be powerful when used right or a nightmare when done wrong. Xen is an open source virtual machine solution to run multiple linux operating systems within one host operating system.

    2. Re:I just hope it is better than... by MeatEntity · · Score: 1

      Just plain silly.

      Novell has done some things very right (marketing and user interfaces not being among them) I used ZenWorks for a few years to manage and deploy applications to about 500 NT clients. It's very polished and powerful. Being very empowering, it makes it very easy to do lot's of stupid things quickly to lot's of clients.

      Blame the one who wielded the tool, not the tool.

    3. Re:I just hope it is better than... by bofkentucky · · Score: 2, Insightful

      I was just the lab helpdesk, I had a 50 workstation lab on the graveyard shift, somedays, thinks would reclone fine, other days, no apps would come up. It was hit or miss, but considering the contract UK had with Novell, it should have worked and cooked us an omlet every morning.

      --
      09f911029d74e35bd84156c5635688c0
    4. Re:I just hope it is better than... by MeatEntity · · Score: 1

      I never used any cloning features, so actually can't speak to that function.
      We use a manual method with spare PC's to swap in as needed. Our techs use an image to dump to the HD using PowerQuests DriveImage.
      I did all of the application deployments and a wide variety of system change deployments, quick fixes to combat worms and other issues, etc. I'd even created a process that would package an in-house Java app that gets monthly updates to create the NDS application object without needing to do a snapshot of an install. It was actually fun for a while, but did get boring.
      Price, I can't actually speak to. I would like an omlet every morning, though. Maybe when we renew our LANDesk contract. Sales weasels will promise anything for a comission.
      What's nice is this: I was getting about 98-99% success rates on app deployments using the snapshot tool and careful planning. It's easy to create a bad deployment. Consider the complexity of delivering to PC's that are running various DLL versions, modified registries, different software installs, etc. Software install snapshots are an imperfect solution since they assume virgin cloned PC's. It appears simple when it works, it gets ugly quickly if not tested well and watched over.

  32. What is Xen? Here you go... by Erich · · Score: 5, Informative
    Thought everyone might like an explanation of what Xen does, in comparison to VMware.

    VMware works with a host operating system to provide a complete x86 virtual environment for a guest operating system.

    Xen is an operating system in its own right. It's a "virtual machine monitor" or "hypervisor". It can spawn multiple guest operating virtual machines.

    x86 is not a very good architecture for virtualization. To have a virtualizeable architecture, anything a user-level program can do should behave the same way it would in supervisor mode, or it should trap so the virtual machine monitor can emulate it. x86 has instructions that don't quite follow this guideline -- for instance, you can see what protection ring you are currently in. In supervisor mode, you would get something like ring 0. In user mode, you get ring 3. So an operating system trying to see what ring it was in would get ring 3, but you are trying to fool it into thinking it is in ring 0.

    Anyway, Xen modifies the guest architecture. It disallows these "sensitive" instructions and creates some virtual devices that are easier to emulate (like a simple software-programmed TLB). This allows the performance to be very very good, faster than VMware, but it requires you to fiddle with your operating system a bit. Which, of course, is easy to do with Linux.

    --

    -- Erich

    Slashdot reader since 1997

  33. User-ode Linux by naitro · · Score: 1

    While we're all smoking the virtualization-pipe, let's check out User-mode Linux.

  34. Re:What's wrong with user-mode linux? by j1m+5n0w · · Score: 2, Interesting

    That's a good question. The paper describing xen is here. I'm not sure what the implementation differences are between the two, but xen managed to achieve much better performance on certain benchmarks. So, it's functionally equivilent to UML, but faster (YMMV). Maybe someone who's not too lazy to read the paper right now can tell us what they did different.

  35. Patent issues by SweenyTod · · Score: 1
    I am concerned about how far they can go, when the article mentions this:
    "Another problem that would face open-source solutions is that a lot of the real virtualization ground is consumed by patents created by VMware and Connectix and now owned by EMC and Microsoft," he said. (EMC owns VMware while Microsoft now own Connectix's virtualization software and is marketing it under the Virtual Server brand.) "This would pose another problem if corporations were considering adopting these types of solutions. I do believe there would be a market for it, however."


    Surely it'll get to the point where one technique XEN is employing and then butts up against a patent and then it's game over?
    --
    Alas gallinaceas de urbe bovis volo
  36. eek by Deadbolt · · Score: 1

    I just hope it doesn't suck like the OTHER Xen.

    --
    "Honey, it's not working out; I think we should make our relationship open-source."
  37. so by Anonymous Coward · · Score: 0

    suppose a windows application doesn't run under wine

    what's the best solution to run this application under linux?

    bochs?

  38. CoLinux - running Linux on Windows nativly. by PiotrK · · Score: 1
    It is easy to boot linux in text mode to have both Linux and Windows running at the same time.

    I would like to use this method instead of dual booting (only one OS at the same time).

    Is there any rpm that do required modification to SuSE linux, to be able to boot it in the graphic mode using coLinux?

    The coLinux site - http://www.colinux.org/
    The latest version is here - http://www.colinux.org/snapshots/

    1. Re:CoLinux - running Linux on Windows nativly. by Anonymous Coward · · Score: 0
      Is there any rpm that do required modification to SuSE linux, to be able to boot it in the graphic mode using coLinux?
      AFAIK coLinux doesn't support a graphics virtual device yet, so you can't have graphics in the client Linux machine.

      Did you try the FAQ?

      Following the link there, you find how to run graphic applications from the Linux client and show them in the Windows host. Yes, that's running an X server or using VNC. I didn't find SUSE in the page, but it's something general that works everywhere.

      --
      lonemadmax
    2. Re:CoLinux - running Linux on Windows nativly. by The+Cisco+Kid · · Score: 1

      Running linux 'within' Windows defeats a lot of the point of using Linux. The main one being is that when Windows, crashes, so does Linux.

    3. Re:CoLinux - running Linux on Windows nativly. by rasz · · Score: 1

      We use CoLinux for development on a daily basis (compiling embedded stuff).
      But I dont think it would be usable or usefull to run graphical mode Linuxes on it. Why bother ? Just run Linux and Wine. Or vMware in Linux.
      CoLinux is for ppl who cannot or dont want to remove Windoze.

    4. Re:CoLinux - running Linux on Windows nativly. by Anonymous Coward · · Score: 0

      AFAIK, CoLinux doesn't support running a graphics-capable framebuffer directly in the Windows GUI space. To get around that, CoLinux has docs on how to set up an X Windows or VNC server (in CoLinux), which you can then access from a Windows client.

  39. Xen is already better than VMWare by mrsbrisby · · Score: 2, Interesting

    I think something that folks are missing here is that Xen is not some whizzbang way to run your favorite Windows programs or to try out new versions (or completely different) of an operating system.

    Xen is more similar to VM; it's already great for server farms and when things like OpenSSI become available/usable it'll mean the realization of network-wide clustering that's Tannenbaum's wet dream.

    VMware/Qemu/Plex86 might be [aguably] good for those who only pretend to use their computer, but they're absolute piss for Real Work(tm).

  40. Intel will offer virtualization in hardware by mrm677 · · Score: 1

    Intel is actively working on adding hardware virtualization (Vanderpool) to its lineup of x86 processors. This will make products, like VMWare, obsolete.

    1. Re:Intel will offer virtualization in hardware by T-Ranger · · Score: 1

      There still has to be some kind of "meta" OS. There is more then just the processor; IO cards; which processors for SMP hosts, memory allocation, etc. What VMWare does - needs to do - may be significantly reduced, but it will still be necessary.

    2. Re:Intel will offer virtualization in hardware by dan_sylveste · · Score: 1

      Not "obsolete", just faster. I think Intel is adding specific instructions used by virtualization software like Vmware and Xen.

  41. The money made from virtualization is from servers by Nailer · · Score: 1

    is, as the article states, business server use. Put the VM images on a SAN, run the virtualization software on the real hosts.

    Then when you need some CPU power, add a real host, suspend a VM, and resume it from the new real host.

    Last time I checked, all servers don't run Windows.

    VMWare is an ugly hack, that will ultimately perform worse than things like UML and Xen because of the unnecessary requirement to emulate a CPU by Windows.

  42. Hmm by T-Ranger · · Score: 1

    I wonder if Novell will create a management system, allowing point-and-click and/or programmable provisioning capabilities. They could call it ZENWorks for Xen! The manual could be called "Zen and the Art of Xen with ZENWorks"

  43. " household name" bullshit by EmbeddedJanitor · · Score: 1

    The bit about Xen becoming a household name is bullshit. Outside geek households nobody knows waht an operating system. Most people just talk about "the computer" and can't really tell the the boundaries between their applications, web content and their cameras. They certainly don't know about operating systems and vrtualisation.

    --
    Engineering is the art of compromise.
    1. Re:" household name" bullshit by bersl2 · · Score: 1

      You didn't look at the rest of that expression:

      make Xen a household name in the open-source community.

      It was a poor choice of words; they really mean to say that Xen may become a thoroughly discussed issue in the OSS community.

  44. It still has long way to go by forfan · · Score: 1

    Obviously, VMWare is much stronger than Xan by now. The only thing I feel exciting on Xan is that Xan is open source. This is really an interesting project.

    1. Re:It still has long way to go by The+MESMERIC · · Score: 0

      and what is your opinion on Xen now?
      Is that open source too?

  45. Buy Out by kff322 · · Score: 0

    Why do open source developers and linux distributors want to make linux binaries work on things were trying to get rid our selfs of? That may prevent some people from crossing over if they can just run linux foo right on there windowz box...

  46. emerge xen by Anonymous Coward · · Score: 0

    localhost ~ # emerge xen
    Calculating dependencies
    emerge: there are no ebuilds to satisfy "xen".

  47. Isn't this how Windows multitasks with dos? by xtermin8 · · Score: 1

    I used to get a headache hearing about cooperative multitasking and pre-emptive multitasking- but this virtualization process seems to be similar to the Redmond way. Are they Windozifying linux?

    1. Re:Isn't this how Windows multitasks with dos? by Anonymous Coward · · Score: 0

      Nope. I assume you mean because operating systems are ported to use Xen's interface. This makes virtualisation easier but they're still pre-emptively multitasked.

      If operating systems don't co-operate then they get killed :-) So it's not co-operative multitasking.

  48. Virtualization by gtrubetskoy · · Score: 3, Informative

    There are 4 ways (I think) to provide what is loosely referred to as "virtualization":

    1. Hardware emulation. QEMU, VMWare, Bochs all fall in that category. QEMU is open source and is actually pretty cool - a great way to test kernels during development or testing that new ISO you're trying to put together. This method is the slowest of all since all hardware is simulated in software.

    2. User Mode Linux. In this scenario the kernel is run as a user process. This method has the second most overhead. Security-wise, it is only as secure as the host system, so if there is a known userland exploit, it is vulnerable.

    3. Xen. To the best of my understanding, Xen is a kernel which runs other kernels. So this architecturally similar to UML, but (if you believe them) is much better optimized. And if Xen is as exploit-free as is claimed, it should also be pretty pretty secure, though I believe only time will tell.

    3. Separation. This is Linux VServer, which is a fantastic project that doesn't have the publicity engine and funding of a big university behind it. This isn't really virtualization as much as it is separation. This approach is also shared by SwSoft's Virtuozzo, FreeBSD jails and Solaris containers. Since there is only one kernel in this scenario, this method is not OS-independent, i.e. VServer only runs Linux, Jails are only for FreeBSD, etc. Performance-wise, this approach should far outrun any other method as it carries practically no overhead and takes advantage of all the existing UN*X optimization. It is also very secure, possibly most secure of all (short of hardware emulation like QEMU) since it directly addresses all known virtualization exploits such as chroot escapes. But, perhaps I'm biased...

    1. Re:Virtualization by IntergalacticWalrus · · Score: 4, Informative

      VMWare is NOT an emulator, it is a virtual machine. x86 instructions are run natively with some magic to fool the kernel into thinking it is having control of the CPU. Think Xen without the necessary kernel hacking.

      The Windows version of Microsoft Virtual PC is a virtual machine, too, while the Mac version is, quite naturally, not a virtual machine but an actual hardware emulator since it runs a different target machine than the host. (Yes, they did give two completely different products the same name.)

      Another virtual machine, but running on PPC instead, is Mac-On-Linux.

    2. Re:Virtualization by Loualbano2 · · Score: 1

      Can you go into detail as to why Virtuozzo is more like Vserver than Xen? I was under the opposite impression, albeit only from reading documentation as I have not been able to score a demo copy of Virtuozzo.

      Thanks,

      ft

    3. Re:Virtualization by Wesley+Felter · · Score: 1

      [Single-kernel separation] is also very secure, possibly most secure of all (short of hardware emulation like QEMU) since it directly addresses all known virtualization exploits such as chroot escapes.

      But the separation architecture does not address unknown exploits such as kernel bugs. And any kernel as big as Linux+VServer does have bugs. In Xen, the guest kernels are themselves confined, so kernel bugs are not security-critical. In Xen, you only have to worry about bugs in the hypervisor itself, and the hypervisor is much smaller than Linux. (In security speak, the hypervisor approach has a smaller TCB than the separation approach.)

    4. Re:Virtualization by gtrubetskoy · · Score: 1

      In Xen, you only have to worry about bugs in the hypervisor itself, and the hypervisor is much smaller than Linux.

      Yes, but "smaller" may be means "less work to secure" (source code clarity discipline is a big variable here), but does not automatically mean "more secure", which seems to be the claim. And in "less work" we're probably talking years. The linux kernel has been around much longer and is reviewed so much more widely. I'd be very careful claiming that Xen is somehow magically by design impenetrable, that's not even close to the truth. (I'm not saying the separation approach is flawless, but as implemented in freebsd and vserver (prolly also true for solaris), it mostly rides on exisitng time-tested security mechanisms).

      Also, not to put Xen down, but some of the claims and terminology used seems on the hypish/too-good-to-be-true side - I have a hunch that some deeper digging will reveal that this isn't something that hasn't been done before (mach comes to mind). Xen needs to incubate for a few years IMHO.

    5. Re:Virtualization by Jason+Hood · · Score: 1

      That is correct sir.

      VMWare is an virtualizer

      qemu is an emulator

      Very big difference. Unfortunately your parent got modded up and thus several thousand people are now dumber.

      qmeu is usable but pretty slow. vmware with modern hardware is plenty fast for office apps and testing. gaming will have to wait for the next revolution in consumer processors.

      --
      Are you intolerant of intolerant people?
    6. Re:Virtualization by gtrubetskoy · · Score: 1

      Can you go into detail as to why Virtuozzo is more like Vserver than Xen?

      The idea behind Virtuozzo, VServer and the like is the introduction of yet another id in addition to the process id. VServer calls it "context id", FreeBSD calls it "jail id", don't know what Virtuozzo calls theirs, but the concept is the same. So now a process belongs to a context, and processes in one context cannot see processes in another context. Additionally, networking (specific ip) and other (CPU scheduling policy, filesystem, ...) restrictions can be applied to a context.

      The concept is much better described than I can do it at this hour here and here.

    7. Re:Virtualization by nathanh · · Score: 1
      VMWare is NOT an emulator,

      The CPU is not emulated (it is virtualised) but the hardware most definitely is emulated in VMWare. The bios, video, audio, network and disk is all emulated by VMWare to appear like a PC.

      Yes, the grandparent wasn't 100% correct, but neither were you. I would have said VMWare is a virtualisation environment that also emulates PC hardware. I'm probably a bit wrong too :-)

      Contrast this with UML, Xen, BSD jails and Solaris containers where the PC hardware is not emulated. The guest OS kernel and/or drivers are rewritten for the virtualisation environment instead.

    8. Re:Virtualization by DrXym · · Score: 1
      The recent version of VMWare I tried was certainly not executing at anywhere near native speeds. It might have played some tricks to speed things up (e.g. native code to emulate devices using the VMWare tools drivers), and be able to run certain code with minimal intervention but it's still damned slow.


      On a 1.8ghz box, I'd estimate that VMWare performance is comparable to 300Mhz PC. It takes something like 10 minutes to boot Linspire on it. Fast enough to be usable for testing or evaluation, but nowhere near native performance or suggestive that VMWare is doing anything particularly clever.


      I don't think QEMU / Bochs are actually that much slower. They just seem that way because VMWare ships with a bunch of drivers (VMWare tools) that move a lot of the display and disk activity out into the host architecture.


      By comparison Bochs uses a crappy SVGA emulator that really drags down the graphical performance, QEMU has only recently gained support for a 10 year old Cirrus Logic SVGA driver. Not exactly cutting edge stuff. But still, this is probably the way to go - even some old as the hills graphics card that offers some hardware acceleration offers the chance to move some operations to the host. That's also the tack taken by Virtual PC which emulates an S3 graphics card.

    9. Re:Virtualization by minus_273 · · Score: 1

      actually you are sort of right ia32 architecture is inherintly no virtulizable because of the presence of non priviledged sensitive instructions. Basically VMware an other VMs work by trapping all privilidged instructions so that they dont try to run directly on the hardware and thus fool the os in the VM into thinking it is running natively. you can trap all commands on ia32 and as a result some software magic is necessary.. vmware no really a vm because the system is not virtulizable

      --
      The war with islam is a war on the beast
      The war on terror is a war for peace
    10. Re:Virtualization by BlaisorBlade · · Score: 1

      As one UML developer, I feel the need to correct you. You put things from farthest to nearest to the kernel level. But you don't realize the security order is mostly the same. For 1) you're correct. For 2), you aren't. One unprivileged user which is inside UML has not user access to the host. It would need to first exploit UML to get that access... What you say can be true for root only: root can write kernel modules to do anything it wants on the host... but you fix this easily by running it chroot. Obviously there are bugs, then. Also, performance-wise, 3) I might believe that Xen can, given its more intrusive design, achieve better performance than UML (though the benchmarks about UML they publish are with a old version - some big performance improvements have been done since). About security, the guest kernel is also running at ring 1, which is, strictly speaking, a more privileged execution. And it interacts with the host (ring0) kernel with a low-level API. The same way the Linux API is exploitable at times, the low-level API used by Xen is possibly exploitable at times. Claiming that one software is bugfree is nonsense (or marketing). It may be harder to exploit because this API is probably simpler, I guess... but they are probably exaggerating on this. Correct me if you know something more specific about Xen. 4) Agreed that VServer is the fastest. Being more secure of all is nonsense, instead. You must go fixing all syscalls to check that they are working in the right way, i.e. not operating on another Virtual Server outside or on the host. Also, it provides the least insulation: for instance, I think it will never be possible to have different module sets in different VMs. And it was difficult, last time I did a look, to even limit the physical RAM or the CPU time assigned to a VM. With UML, you just use nice and renice for that. Don't know with Xen.

    11. Re:Virtualization by neurojab · · Score: 1

      On a 1.8ghz box, I'd estimate that VMWare performance is comparable to 300Mhz PC. It takes something like 10 minutes to boot Linspire on it. Fast enough to be usable for testing or evaluation, but nowhere near native performance or suggestive that VMWare is doing anything particularly clever.

      Very interesting. How much RAM do you have? How much is dedicated to the VM? In my experience the only thing that holds back VMWare's performance is swapping. If you have enough ram (and enough dedicated to the guest) that neither the host nor the guest ever swap, and you install the right video drivers in the guest, you should be experiencing near-native performance.

      Personally I run my entire development environment in a VM, and find it extremely usable. I find that the performance suffers when I dedicate less than 1 gig of ram to the guest. That's about the same amount of RAM I need to get decent performance on bare hardware.

  49. Re:What's wrong with user-mode linux? by GiMP · · Score: 1

    One major difference is that UML turns Linux into a runnable program.. versus Xen which is essentially an operating system which has the sole purpose of booting guest operating systems.

    The latter is good because, to the administrator, runs as multiple OS on a machine rather than running multiple applications on a server (which happen to be OS')

  50. I see a distribution paradigm by argoff · · Score: 4, Interesting

    IMHO, this cound change the entire distribution paradigm - for example - if you wanted an email server - you just download the virtual image off the network of a linux system that already has it preinstalled and mostly set up, of if you want a web server/ldap server/dns server - same thing. It is a very nice way to have the best of a full featured linux system while at the same time the xen application os has the minimal stuff nesissary to run what you want.

    1. Re:I see a distribution paradigm by Anthony+Liguori · · Score: 1

      It's called software appliances. It's a terribly wonderful idea. It's definitely on my top 5 list of technologies that have the potential to revolutionize the industry.

    2. Re:I see a distribution paradigm by burns210 · · Score: 1

      This sounds almost like my experience with an mac os 9 server(here me out).

      OS 9 was actually quite nice, for software maintenance and configuration. Very consistant and either there were no installers, or the installers were just smart copy/paste scripts.

      I had an OS 9 box that I wanted to run as a web server. I found one, download the file, doubl-clicked it and pretty much without any more effort a web server was up.

      Granted, the whole reliability/multi-tasking issues for OS 9 make it a less than ideal system to run as a server, but for software that is a self-contained executable, it works great. On first boot(or when it cannot fild an existing file(s)) it creates the configuration files and preferences files. It has a nice simple gui clicky-tab page to change the settings, and a simple interface.

      Another product even had php etc. pre-compiled in. This would be nice if we could have all the most common extensions of apache prebuilt in, but disabled.

      I know, different way of getting to your solution. It isn't as secure or 'cool'. But the self-contained binary for the software I wanted was really impressive.

    3. Re:I see a distribution paradigm by mcrbids · · Score: 1

      I know, different way of getting to your solution. It isn't as secure or 'cool'. But the self-contained binary for the software I wanted was really impressive.

      The Big Binary File (BBF) sounds nice from the standpoint of getting started. It's all there, point, click, away you go. What could be better than that?

      BBF's are nice for little stuff that doesn't matter much, but quickly become very sucktastic once you start to scale up.

      For example, what happens when a security hole is found in a library used in that binary? How would you fix it, other than to d/l the entire BBF binary all over again?

      What about disk space? If you have 270 apps that all use the same functionality, you now have 270 copies of that library strewn about your hard disk. Shared libraries only keep one. (sometimes two if there are major revisions to the library)

      What about adding functionality, such as SSL encryption, or PHP/Perl/Python on a modular basis? Oops! BBF can't do that, either.

      Oh, but some BBF's come with PHP? What about when you need a feature released in 4.3 but your BBF was compiled with 4.1.3? (see previous notes about security updates)

      Believe it or not, the shared library (*.so or *.dll) is a big improvement over what you propose, for the reasons above and many more.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    4. Re:I see a distribution paradigm by burns210 · · Score: 1

      Well a few quick thoughts to your post.

      Good points, BBF's are not perfect, but on the same token, neither are the alternative(whichever acronym they fit undeR).

      My experience with BBF's on the mac side seem to remind me of drag-and-drop plug-ins, and the like. Meaning that to add perl, you drop the perl.plug-in file to the plugin directyory or the app(or whatever). Point being, it didn't take a recompile to add.

      Mac comes with a fairly comprehensive(so far as I know) system library base, where a lot of functionality can be had in a single, standard, system-wide place. Relying on this means that bug fixes are handled, obviously, by Apple.

      It seems that when I, for instance, download a patch or update to A mac or windows program, it has nothing to do with a recompile, just replacing the files that were editted.

      Just my personal user observations.

  51. question by schuster · · Score: 1

    Early versions of VPC only ran windows. Later, it became able to run other operating systems. Given that those early versions of VPC and Xen need OS compatibility to be specifically coded for them, what exactly is the difference between virtualization and those early versions of VPC?

    --
    --- Don't ever trust a woman until she's dead- B.B. King
  52. Xen in not the same category as VMWare etc ... by porky_pig_jr · · Score: 1

    I read some papers on Xen. it is certainly *not* the virtual machine to start with. It won't take unmodified version of Linux and run it. Extensive changes are required. The major benefit is high efficience compared with the 'classic VM' approach.

    Given that, there is no reason why tweaks required by Xen can't be made the standard feature of the Linux Kernel. In fact, the major problem with any VM approach - either it is not efficient, or it requires some kernel tweaks. Essentially, the 'host os' and the 'guest os' need some kind of handshake, so the host properly traps interrupts from the guest, simulates them and fakes the result. Again, there is no reason why this kind of handshake and related staff can't be standardized.
    Not sure is this is the actual intention of Red Hat, though. What I strongly believe - with integrated hooks VM will be clean. Just take a look at VMWare architecture: it is messy, they are jumping through the hoops, it is amazing that it works at all (and fairly efficient as well).

  53. Re:What's wrong with user-mode linux? by Anonymous Coward · · Score: 0

    It turns out that x86 is just a really hard architecture to virtualize, unliked something like MIPS, for instance. So, because Xen doesn't attempt to virtualize it at the hardware level to the same extent as VMWare, they can achieve better performance.

  54. Target audience? by IntergalacticWalrus · · Score: 1

    Why all this hype about Xen? Is there really a significant market for running multiple open source operating systems simultaneously on the same machine? Last time I checked, the greater majority of uses of a virtual machine is either running Windows on another OS, or running another OS under Windows... But maybe I'm missing something cool (and profitable) about this?

    1. Re:Target audience? by iggymanz · · Score: 3, Informative

      With ESX VMware is making money on consolidating many underutilized servers onto one box (with redundant failover box if needed) without the fear that a bad app misbehaving & killing the OS on one virtual machine will lock up other virtual machines' OS. It also provides customizable virtual network(s) between the VMs. A true open source equivalent would be very cool (one that can run ANY i386 OS in VM) You can migrate virtual machines from one physical box to another, sync, and cut over without interruption if they're both on same subnet. Kewl, hope a true open source equivalent exists someday.

    2. Re:Target audience? by Anthony+Liguori · · Score: 2, Informative

      Nope. The greatest (from a business perspective) number of users of virtualization technology is in the enterprise market. That's the biggest reason people by systems like the z-Series--consolidation. The idea is that you consolidate a whole bunch of commody machines to one large system that's virtualized. You get the same network topology at the end of the day but a higher degree of reliability and a lower administration cost (hence lower TCO).

      It's an amazingly powerful bussiness case.

  55. It may be.... However does it run OS X by BoomerSooner · · Score: 1

    on x86? That is what I want.

  56. They need to simplify their FAQ. by Nailer · · Score: 1

    The terms 'OS' and 'monitor' bug me...

    Xen doesn't seem like an OS by any traditional sense of the word. If it was, it could be run with just some firmware installed, rather than having ports to OSs like Linux and BSD.

    Them describing it as a 'monitor' doesnt' make much sense, as it seems to have a virtualization engine itself (the term monitor makes it sound like you need other software for that).

    'Hypervisor' is a wank.

    How about:

    "Xen is a virtual machine system, allowing you to run various guest operating systems simulatenously. Unlike VMWare, Virtual Server and others, Xen does not use or provide a software X86 CPU. Instead, Xen requires guest OSs be ported to Xen. This results in better performance."

  57. History lesson... by Bozdune · · Score: 3, Insightful

    Back in the 70's, CP/CMS on the 360 architecture was open-source. CP originally was a pure emulator: privileged machine instructions caused interrupts and were then emulated by CP. So we used to debug entire CP/CMS operating systems on top of CP, which was pretty cool. IBM eventually released a commercial version of CP/CMS called VM370.

    Meanwhile a bunch of independent companies, mostly time-sharing outfits, figured out that emulating privileged instructions was, well, dumb and slow. Instead, if you modified CMS to use traps instead of executing emulated privileged instructions, it could run many times faster.

    Which is why commercial timesharing outfits like National CSS, etc., were routinely able to support 250+ users on 370/168's, roughly three times the user load that IBM could support with VM370. That, and the fact that National CSS bought up every single drum drive they could find as paging devices. Ridiculously fast for the time -- nearly zero seek time, and delightfully high RPM's -- but when the bearings froze, those suckers would often burst right out of the glass case and blow holes in concrete walls.

    Anyway Xen is not a new idea. It's a very old (and good) idea.

  58. hmm would this be possible? by KJACK98 · · Score: 1

    What I would like to do with it, is assign each VM of zen its own usb keyboard/mouse and video card, that way I can run 2 linux boxes all on the same machine? Unlike terminal emulation, there would be less chance of me taking out the whole pc, if one virtual machines crashed? This would be handy so my wife and kid can both use the pc at the same time, and would be energy efficient since I would only need one pc...

    1. Re:hmm would this be possible? by Anonymous Coward · · Score: 0

      One of the users on the xen-devel mailing list has been working on this. It's quite possible in principle but some tweaks are still required to make it work "out of the box".

      Right now the developers are looking at other features, tho.

  59. Cue predictable Half-Life jokes by Anonymous Coward · · Score: 0

    Let's get it all out of the way now. As geeks typically have a horrible sense of humor and always resort to the obvious and the unfunny, post all your Half-Life references here in this thread.

  60. Twelve Step TrustABLE IT : VLSBs in VDNZs From TBA by NZheretic · · Score: 0
    Twelve Step TrustABLE IT : VLSBs in VDNZs From TBA

    Twelve Step TrustABLE IT:
    Virtualised Linux Standard Base (VLSB)
    in Virtual Demilitarized Network Zones (VDNZ)
    from Trusted Build Agents (TBA)

    Back in August 11, 1998, Microsoft's Vinod Valloppillil and Josh Cohen released a memorandum titled Linux OS Competitive Analysis: The Next Java VM?, in which they predicted that Linux would become ubiquitous as a services platform. However, the title of the paper could be even more prophetic.

    Consider the following.

    [1] It is well known that Linux is quite portable, in fact only NETBSD comes close to the number of hardware platforms supported.

    [2] What is less well known is that the Linux kernel has even been ported to run on itself, as client for a virtual Monitor platform, and even to run virtualised on other operating systems including Win2K and XP.

    [3] Other operating systems, such as BSD and Sun's Solaris can also use a compatbility layer to run applications compiled for Linux directly, without the need for virtualisation.

    [4]The Linux Standard Base Mission Statement is to

    To develop and promote a

    set of standards that will increase compatibility among Linux distributions and enable software applications to run on any compliant system. In addition, the LSB will help coordinate efforts to recruit software vendors to port and write products for Linux.

    [5] The above standard also defines a generic subset of the standards for each hardware platform as a source level application interface. In fact for an application to be certified for the LSB it must be tested on two of the plaforms supported by the LSB, one chosen at random by the testing body. Following the standard, it's not that difficult a job to write portable C and C++ code : Write once, compile for each platfom.

    [6] The GNU Compiler Collection's future GCC 4.0 Release Series now divides the task of compiling into two stages based around Static Single Assignment trees. It should be possible to use the new GCC front ends to compile each language into a SSA tree that represents the common generic subset of the Linux Standard Base: [5].The resulting SSA tree for a build could be dumped into files, analogous to Java's JVM intermediate format, and then complied to native code for the target platform: Write once, run everywhere.

    Be it open or closed source, every binary or script you execute represents a risk. It is possible to introduce hostile code at any point along the build chain, before the point where the binary is checksummed and the result digitally signed.

    [7] It is possible to use constraints built into any Linux or Unix like operating system to isolate and restrict what a binary executable has access to or can do. Even without employing SELinux's manditory access controls or chroot/jail'ed environments, it is possible to run a process under a different user identity and group identity. Unix servers have used this te

  61. Its all over now!!! by Anonymous Coward · · Score: 1, Funny
    Watch out VMware and Microsoft. Here comes Xen, an open-source virtualization for the Linux environment being pushed by Red Hat and Novell.

    Well, since it's both Red Hat AND Novell, thats pretty much the kiss of death for Microsoft, isn't it?

  62. Re:What's wrong with user-mode linux? by j1m+5n0w · · Score: 1

    So, if I understand right, the host OS isn't Linux. Rather, it's a stripped down "xen" system, which boots any guest OS ported to xen. From figure 1 in the paper, it looks like you control the xen system from one of the guest OSs, rather than from the host OS, like in UML.

  63. Reinventing the microkernel? by sleepingsquirrel · · Score: 1

    Aren't the virtualization projects like Xen, User Mode Linux, etc. essentially reinventing the microkernel? Their goals seem awfully close to the idea of abstracting away the hardware so you can safely run multiple OS "personalities" at the same time. I wonder what could be accomplished if the virtualization guys teamed up with the people working on a modern microkernel like L4. Anyone have benchmarks comparing L4-Linux with Linux under Xen? Heck, maybe one day people will realize the advantages of a multi-server OS like the Hurd.

    1. Re:Reinventing the microkernel? by Wesley+Felter · · Score: 1

      It's funny you should mention that. The L4 team came up with the same idea. The difference is that OSes require pretty small patches to run on Xen, but much bigger patches to run on a microkernel like L4.

    2. Re:Reinventing the microkernel? by lakeland · · Score: 1

      Heh, maybe, not my field. I would have said it is more like a fancy version of chroot than a microkernel myself.

  64. I have found Xen to be relatively useless... by borgheron · · Score: 1

    because it is not general purpose such that I can download and experiment on any OS I want, but I am restricted to "specially modified" version of them.

    I really don't care about Windows, I want to run Darwin x86 or FreeBSD, and not just "specially modified" versions, but ANY version I so choose.

    Xen cannot handle this, and that, in my view and experience, makes it relatively worthless when compared to something like VMWare. Attempting to sell the lack of a hardware virtualization layer as an "advantage" is a little odd, in my opinion, since the speed increase is not so great as to outweigh the disadvantages outlined above.

    GJC

    --
    Gregory Casamento
    ## Chief Maintainer for GNUstep
  65. NT HAL and hypervisors by bored · · Score: 1

    I suspect that you could accually port NT/W2k/XP to this pretty easy without M$'s help. That is if you have a copy or can get a copy of the NT HAL development kit from M$. The kinds of operations that XEN is requiring OS changes for are already in NT as part of the kernel arch, Page insertions, TLB flushes, etc all go through common linked in routines. Unlike in linux where the routines are compiled into the kernel, NT makes calls to HAL.dll which gets linked by ntldr. Accually it probably wouldn't be to hard to do reverse engineer since the whole process is pretty well documented and the functions are public exports from the .dll.

    1. Re:NT HAL and hypervisors by Anonymous Coward · · Score: 0

      Nope. NT page table update mechanisms are not completely isolated in the HAL. That is a showstopper for what you want to do.

    2. Re:NT HAL and hypervisors by adamgundy · · Score: 1

      probably a more useful route would be to port http://www.reactos.com/ to run under Xen. You would need to port their implementation of the NT HAL, plus write the device drivers for network/console etc. (obviously this was what the Xen developers already did for XP but can't release).

      the idea behind porting ReactOS is that you end up with an NT style HAL.dll and drivers which *could* be substituted into a real XP install?

      caveat: I have no idea how complete ReactOS's HAL.dll is... but they have been trying for API compatibility in most stuff...

  66. Choose your virtualisation software carefully by nighty5 · · Score: 0

    I teach a security course around the world.

    Back in the old days we were using phyiscal systems which was a nightmare, but now its all on one box. So much easier. Now instead of organising stuff to ship via special freight which would cost thousands of dollars per shipment. I carry everything on the plane onboard luggage!

    For the last course I migrated the desktops to use Microsoft Virtual Machine - which was a disaster. MSVPC cannot (and probably wont) go into the promiscious mode, and a lot of the scanner and spoofing tools simply do not work.

    This is not a problem with vmware as its fairly close to a true virtual environment.

    MSVPC is great for business applications but thats about it - choose your software wisely :) I don't expect MS to improve with network support - but it would be nice.

    Ive since moved back to Vmware. (It was a business decision to try it out MSVPC, not technical)

    1. Re:Choose your virtualisation software carefully by steve_l · · Score: 1

      Agreed.

      I was doing driver dev for windows last year, doing the user-mode side of some CDROM extensions. Before we had real hardware, we had emulation stuff kernel side.

      vmware could host this perfectly; we could do excellent device dev in the VM. But VPC wouldnt run it.

  67. Why Xen? by Creepy+Crawler · · Score: 1

    Ok, Xen seems to be a OS maintainer.. sort of like what resides on the real OS of the Z series mainframes that IBM sells.

    Ok, a free beer to anyone who can explain why this is different than a Roothost as Linux-uml with NSA security, and spawns via a script to copy kernel images and set up disk slices as partitions?

    Xen is some 3'rd party stuff, and UML is aready in 2.6 by default. All you need to do is a "make menuconfig arch=um" to initiate... And you have built-in quota by way of partition-files and possible access by root filesystem via loopback.

    Ok, why is Xen better?

    --
    1. Re:Why Xen? by Wesley+Felter · · Score: 1

      Xen is 2-3X faster than UML.

    2. Re:Why Xen? by Creepy+Crawler · · Score: 1

      Are you certain it's faster when you have 1 linux OS with 600 MB per user (20 users)?

      20 users on UML and 20 on Xen... which is faster???

      --
    3. Re:Why Xen? by Chirs · · Score: 1

      Xen.

      In many cases (especially for IO) UML has to drop down and request services from the host kernel. This adds multiple layers of overhead.

      Xen is essentially a port of linux to a new architecture that looks very much like x86 with a few problematic instructions removed. Because of this it runs very close to full speed.

  68. Real world experiences of Xen v/s Linux Vserver by PinkX · · Score: 1

    Does anyone around has used Xen on a real production environment like, say, a VPS provider? What About Linux Vserver (http://www.linux-vserver.org/)?

    What are the real differences, besides the technical paravirtualization of Xen and the fact that the guest OS must be 'ported' to it in order to run it, and that Linux Vserver is for running Linux only? I mean in terms of performance, feature-richness, security, stability and scalability of both the host and guest OS? What about work under non-x86 architecures, like PPC/PPC64 or native AMD64 support?

    I haven't been able to decide yet which would present an ideal solution for a partitioned VPS environment, so any help from you would be greatly appreciated.

    1. Re:Real world experiences of Xen v/s Linux Vserver by gtrubetskoy · · Score: 1
      What About Linux Vserver (http://www.linux-vserver.org/)?

      Yes, we've been providing VServer-based virtual servers for almost a year now. The learning curve may be steep, but the quality, stability and the community on the mailing list/irc all are excellent.

  69. And so it begins... by Anonymous Coward · · Score: 0

    Looks like we are setting up Half Life 3 already...

  70. Blah blah by Anonymous Coward · · Score: 0

    Blah blah blah blahblah blah blahblah blah blahblah blah blah Next Big Thing Blah blah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blahblah blah blah Slashdot Circle Jerk blah blah blah blah blah blah blah blah blah blah blah blahblah blah blahblah blah blah...No way in hell is anything ever ever ever going to be 100% universal without two requirements: It is written in 100% Pure Java (tm), and it is Damn Sexy.

  71. "if" by bani · · Score: 1

    That is if you have a copy or can get a copy of the NT HAL development kit from M$.

    that's one pretty damned big "if".

  72. Xen is the real deal. by kma · · Score: 4, Interesting

    Disclaimer: I work for VMware, but they don't pay me to post on slashdot.

    There are a lot of replies of the form, "Wait a minute, Xen requires that you hack up your guests! What a crock! Typical slashdot hype!" It's true that Xen is more limited than VMware's products, in that you do need to modify guests. However, this doesn't mean that Xen is a joke. (Plex86, for instance, really is a joke, because Kevin Lawton seems to pursue it only in fulfillment of an elaborate VMware-centered revenge fantasy.)

    The Xen folks, on the other hand, are smart and mostly serious people. Xen, along with appropriately modified guests, solves some of the problems that our products solve, and for those areas where it fits the bill, it does so in a way that should have lasting performance advantages over full x86 virtualization. What Xen is not, in my opinion, is a virtual machine monitor, for any reasonable definition of VMM. Xen is a microkernel. They don't call it that, because it's hard to get papers about microkernels published these days, but if you think about it, the process of porting an OS to run as a guest under Xen isn't cocnceptually distinct from porting it to run as a personality under Mach or Chorus or whatever. The L4 people didn't even bother renaming their microkernel before repurposing it as a paravirtualization platform.

    I think the microkernel analogy helps clarify ones thinking about the promises and limitations of so-called "paravirtualization." Hypervisors are microkernels. In the mid-90's, there was a hope that the whole world would be able to settle on the Mach microkernel. It never happened. Anybody hoping to become the only 'para-hypervisor' will face the same political and commercial challenges.

    So to recap: Xen is not a replacement for VMware's products. Xen will probably not take over the world to the degree that its creators would like. Xen is not, however, a joke. The Xen researchers are mostly conscientious, smart people who, fairly enough, would like to see their work have some commercial impact. I really wish they'd stop beating their chests over benchmarks that show them beating a three year old version of our desktop product, though.

    1. Re:Xen is the real deal. by Anonymous Coward · · Score: 0
      Thanks for the best summary of Xen that I've seen.

      Curious what your opinions (if any) of the QEmu project. I know that the same guy who does QEmu certanly made a decent multimedia platform (ffmpeg) and C compiler (tinyc) -- but I haven't figured how to get QEmu to run last time I tried.

    2. Re:Xen is the real deal. by Anonymous Coward · · Score: 0

      Well its not like they have much choice considering you guys don't allow benchmarks of your latest software.. (wtf how gay is that???)

    3. Re:Xen is the real deal. by Anonymous Coward · · Score: 0

      I really wish they'd stop beating their chests over benchmarks that show them beating a three year old version of our desktop product, though.


      Having just read a couple of the Xen papers, it sounds like the reason that they are stuck comparing to an old version of VMware is that you guys have added a no-benchmarking clause to your licence...
    4. Re:Xen is the real deal. by Ivan+the+Terrible · · Score: 4, Insightful
      I really wish they'd stop beating their chests over benchmarks that show them beating a three year old version of our desktop product, though.

      Does VMware's license forbid its use for comparison purposes? If so, it's up to you (VMware) to change it. The ball is in your court.

      If not, why don't you give them a copy to benchmark with? It's not like you'll lose a sale, so the out-of-pocket cost is effectively zero. In fact, it's probably a net gain because of the less-than-favorable publicity they generate. Again, the ball is in your court.

      Or, if can't or won't give the s/w away, why don't you publish some benchmarks? Yes, again, the ball is in your court.

      Let us (the Greater Slashdot Community ) know what you plan to do.

    5. Re:Xen is the real deal. by Doodhwala · · Score: 5, Informative

      The Xen researchers are mostly conscientious, smart people who, fairly enough, would like to see their work have some commercial impact. I really wish they'd stop beating their chests over benchmarks that show them beating a three year old version of our desktop product, though.

      All right... so while I accept most of what you have said earlier as quite informative, I do take strong objection to the above statement. You do realize that the research community is forced to benchmark against Workstation 3.x because your EULA in later versions prevent any of us from publishing benchmarking numbers (Look at the Restrictions section in the EULA for Workstation 4.x).

      While I understand that there might be commercial reasons behind it, it seems that VMware wants to play in the research field (publish papers at all the top systems conferences) but not allow anyone to try and reproduce what their research claims.

      Disclaimer: I have worked on virtualization projects including Xen.

    6. Re:Xen is the real deal. by kma · · Score: 2, Informative

      Does VMware's license forbid its use for comparison purposes?

      The blanket license does, though we've made exceptions when researchers ask nicely. See, for example, Marko Zec's OASIS workshop paper from ASPLOS XI, which includes benchmark comparisons against a reasonably recent version of VMware Workstation (that show Workstation in a pretty unfavorable light, I might add). I can only speculate as to why the Xen folks don't get treated as well as Marko did; I don't even know for a fact whether they've asked.

      Regardless, it's quite possible they asked and we turned them down, in which case, our bad. I'm not really objecting to the substance of the Xen comparisons; if Workstation 3 is all they can compare to, fine. What I object to is the tone with which the Xen guys usually make this comparison. They strive to leave the impression that they've clobbered the best the industry has to offer, when they're really beating up a straw man. No sane customer would use workstation 3 for the uses the Xen folks are measuring.

    7. Re:Xen is the real deal. by Anonymous Coward · · Score: 0
      All right... so while I accept most of what you have said earlier as quite informative, I do take strong objection to the above statement. You do realize that the research community is forced to benchmark against Workstation 3.x because your EULA in later versions prevent any of us from publishing benchmarking numbers (Look at the Restrictions section in the EULA [vmware.com] for Workstation 4.x).

      None of which suddenly makes it a valid or reasonable comparison for the Xen people to make.
  73. Security too by Billly+Gates · · Score: 1

    If a hacker gets root in a hole in Apache, only the VM instance gets compromised. Its alot like the BSD jails but more popular.

    What I like about it is when I take my assembly course next year in college I can run it in a VM state. Assembly is a great way to freeze up and fuck up your computer. With Vmware or Xen I just type the code in Vim and cut n paste it in the vm session running Linux and execute the code. If it freeze its a no biggie and I just restart the session. No long reboots and lost saved work.

  74. Xen is supported by Microsoft.... by mverwijs · · Score: 1

    From the Xen homepage (bottom): "Work on Xen has been supported by UK EPSRC grant GR/S01894, Intel Research, HP Labs and Microsoft Research. "

    So... why should Microsoft worry again?

  75. Xen doesn't support Windows OS by The+MESMERIC · · Score: 0

    Disclaimer: I have a licensed copy of VMware, but they don't pay me to post on slashdot.

    Unless I read it wrong a number of times.
    But what is the point - of me getting Xen - if the only reason for me having a virtual machine (and please dont get pedantic on terms) .. is so that I can do un-Linux stuff Visual Studio.NET or Corel Draw.

    The greatest advantage of Xen - is that the moment they released an article - Vmware's price dropped considerably to the point of being affordable.

    I mean sure Xen will have its security uses for people wanting a Virtual Linux server.

  76. In runs Windows XP as well by Slashamatic · · Score: 1
    Cambridge University are source licensees for Windows and they have a modded HAL that can handle the interface with the VM Monitor. They are not, under the terms of their license, permitted to distribute the binary.

    However, it is possible that MS themselves may want Xen support over time. The dinosaurs have shown us that it is advantageous for an O/S to share a platform and it can give significantly more flexibility.

  77. Incorrect by Slashamatic · · Score: 1
    I have played with Xen and looked at the source. The issue is the impossibility of hardware traps when privileged instructions are run outside ring 0. Xen replaces these instruction with assembly calls into a Virtual machine monitor, a modded version of Linux which acts as the host. As long as guest O/S systems can be modded to invoke the VMM rather than execute instructions directly, it works fine. This requires source code mods.

    The issue with VMware is that it is at best a hack. It tries to locate and modify the privileged instructions of the host o/s in the binary. This will not always work.

  78. This has been done with their help... by Slashamatic · · Score: 1

    Cambridge has a source license for XP and is very closely associated with a Microsoft research lab nearby. They did the port but unless you are a) an academic and b) also a source licensee, you won't get the source patches and don't have a hope in hell of getting the binary.

  79. Your ass then. by Nailer · · Score: 1

    If you're using a client OS that's as non portable as Windows, hence requiring a slow partial emulation (like VMWare) or full emulation (like VirtualPC), then Qemu will happily run Windows XP on your Mac or Linux box.

    But with Linux, you don't need to do that. It runs fast inside a real virtualized environment, so its virtualized performance shits all over Windows.

    OSS already provides a young, but workable, VirtualPC / VMWare equivalent. Will proprietary software provide a compelling virtualizable OS as Linux?

  80. And Xen's kernel is named... by master_p · · Score: 1

    Nihilanth? :-)

  81. Re:Xen is the real [useless] deal. by borgheron · · Score: 1

    I wholeheartedly disagree with you. :)

    Plex86, for instance, really is a joke, because Kevin Lawton seems to pursue it only in fulfillment of an elaborate VMware-centered revenge fantasy.

    I'm not sure where you're getting this. Is it just because he's trying to create a free emulator which is *really* a useful emulator in the sense that it doesn't require you to modify guests that you think he's after revenge?

    Let's be honest. People need an emulator on Linux to run something *other* than Linux under Linux. There is nothing exciting at all about an emulator which requires you to modify guests. I find nothing extraordinary about Xen whatsoever. Maybe when plex86 is done, I consider using that.

    GJC

    --
    Gregory Casamento
    ## Chief Maintainer for GNUstep
  82. Re:What's wrong with user-mode linux? by GiMP · · Score: 1

    That is my understanding. I've played with Xen a little but couldn't get it working fully on my hardware and gave up. Since it is essentially its own Operating System, you're limited to its hardware support (which makes this nearly useless in its current form as it doesn't support the scsi/raid controllers of "real servers").

    It requires at least one guest OS and from there it can be managed. I'm not sure what the security restrictions on this are.

  83. please go ahead by Anonymous Coward · · Score: 0

    Such clauses are common for software. You're welcome to challenge them; we'd all be grateful. Until you (or someone else) mount a successful challenge, people will tend to assume that such clauses are valid and enforceable.

  84. Re:Beg your pardon? by Anonymous Coward · · Score: 0

    That's not it smartpants. The troll is ctrl-c & ctrl-v posts from other ppl in an attempt to... well... be a troll.

  85. works best with secure operating systems. by steve_l · · Score: 1

    we do this with things internally; its nice to have a winxP build with activated office apps that I can host on my home, work, laptop.

    but cost of OS maintenance is proportional to the #of virtual OSs on a system, not real ones. That is, if I have 10vm images on an HDD, that is 10 platforms to keep up to date. Which isnt that expensive with Unix, but on windows, it matters. you cannot bring up a month old VM without applying IE patches to it first, for security reasons.

    Summary: works best with secure operating systems. But we know how to do those, dont we :)

  86. Trying to compete? by Anonymous Coward · · Score: 0

    Definition of emulation "When one system performs in exactly the same way as another, though perhaps not at the same speed."
    Looks like they're just trying to do what these guys are already doing! Copying but without the speed.

  87. Anyone heard of FAUmachine? by HAJS · · Score: 0

    Hi,
    there is an additional virtual machine: FAUmachine.

    From the homepage:

    FAUmachine is a virtual machine, similar in many respects to VMWare[tm] or Virtual PC[tm]. The FAUmachine virtual machine runs as a normal user process (no root privileges or kernel modules needed) on top of (currently) Linux on i386 hardware. The port of FAUmachine to OpenBSD and Windows is in progress.

    The FAUmachine virtual machine is booted using an adapted bootloader and runs a slightly modified Linux kernel. The hardware layer of the FAUmachine virtual machine is (mostly) the Linux kernel of the host system. The FAUmachine hardware setup, like main memory size, cdrom and number and size of harddisks can be configured.

    Onto this virtual hardware, an out-of-the-box Linux distribution can be installed using the installation program that comes with it. Binaries compiled for i386 hardware architecture will also run on FAUmachine. Of course FAUmachine supports networking and FAUmachines can be connected transparently to the local network which their host machine is attached to. If the appropriate servers are running on the FAUmachine, login from any real machine is possible, once the network is set up.

  88. why is this news? by Anonymous Coward · · Score: 0

    Xen has been around for anyone with an iota of systems management ability for a long time. So now it's available in rpm format? So f'ing what? If you are so incompetent that you require a package format like rpm before you can get something to run, you shouldn't be running it in the first place.

    How's is Red Hat's business strategy anything other than a bunch of FUD?

  89. Re:Xen is the real [useless] deal. by kma · · Score: 1


    I'm not sure where you're getting this. Is it just because he's trying to create a free emulator which is *really* a useful emulator in the sense that it doesn't require you to modify guests that you think he's after revenge?


    Kevin threw up his hands a year or two ago and turned Plex86 into a Xen-like pseudo-VMM. Xen is now what plex86 aspires to be.

  90. Re:Xen is the real [useless] deal. by borgheron · · Score: 1

    In my opinion someone should provide a viable and free alternative to VMWare, no offense to your employer who makes an excellent product.

    GJC

    --
    Gregory Casamento
    ## Chief Maintainer for GNUstep
  91. Re:Xen is the real [useless] deal. by kma · · Score: 1

    None taken, and thanks for the compliment. While I've been hard on plex86 here and in the past, the difficulties that project faced may be instructive in why a free VMware workalike has been slow to emerge.

  92. Debian unstable has it by gnalle · · Score: 1
    apt-get install xen

    XEN is a Virtual Machine Monitor (VMM) originally developed by the Systems Research Group of the University of Cambridge Computer Laboratory, as part of the UK-EPSRC funded XenoServers project.

    Xen enables multiple operating system images to execute concurrently on the same hardware with very low performance overhead --- much lower than commercial offerings for the same x86 platform.

  93. Can You Say HAL? by AgingYoungRebel · · Score: 1

    Hardware Abstraction Layer Read about it and learn.