TechOpsGuys.com Diggin' technology every day

December 7, 2011

Red Hat Bringing back UML ?

Filed under: Virtualization — Tags: , — Nate @ 11:05 am

User mode linux was kind of popular many years ago especially with the cheap virtual hosting crowd, but interest seemed to die off a while ago, with what seems to be a semi-official page for user mode linux not being updated since the Fedora Core 5 days which was around 2006.

Red hat apparently just released RHEL 6.2, and among the features, is something that looks remarkably similar to UML –

Linux Containers
•    Linux containers provide a flexible approach to application runtime containment on bare-metal without the need to fully virtualize the workload. This release provides application level containers to separate and control the application resource usage policies via cgroup and namespaces. This release introduces basic management of container life-cycle by allowing for creation, editing and deletion of containers via the libvirt API and the virt-manager GUI.
•     Linux Containers provides a means to run applications in a container, a deployment model familiar to UNIX administrators. Also provides container life-cycle management for these containerized applications through a graphical user interface (GUI) and user space utility (libvirt).
•     Linux Containers is in Technology Preview at this time.

Which seems to be basically an attempt at a clone of Solaris containers. Seems like a strange approach for Red Hat to take given the investment in KVM. I struggle to think of a good use case for Linux containers over KVM.

Red hat also has enhanced KVM quite a bit, this update sort of caught my eye

Virtual CPU timeslice sharing for multiprocessor guests is a new feature in Red Hat Enterprise Linux 6.2. Scheduler changes within the kernel now allow for virtual CPUs inside a guest to make more efficient use of the timeslice allocated to the guest, before processor time is yielded back to the host. This change is especially beneficial to large SMP systems that have traditionally experienced guest performance lag due to inherent lock holder preemption  issues. In summary, this new feature eliminates resource consuming system overhead so that a guest can use more of the CPU resources assigned to them much more efficiently.

No informations on specifics as far as what constitutes a “large” system or how many virtual CPUs were provisioned for a given physical CPU etc. But it’s interesting to see, I mean it’s one of those technical details in hypervisors that you just can’t get an indication from by viewing a spec sheet or a manual or something. Such things are rarely talked about in presentations as well. I remember being at a VMware presentation a few years ago where they mentioned they could of enabled 8-way SMP on ESX 3.x, it was apparently an undocumented feature, but chose not to because the scheduler overhead didn’t make it worth while.

Red Hat also integrated the beta of their RHEV 3 platform, I’m hopeful this new platform develops into something that can better compete with vSphere. Though their website is really devoid of information at this point which is unfortunate.

They also make an erroneous claim that RHEV 3 crushes the competition by running more VMs than anyone else and site a SPECvirt benchmark as the proof. While the results are impressive they aren’t really up front with the fact that the hardware more than anything else drove the performance with 80 x 2.4Ghz CPU cores, 2TB of memory and more than 500 spindles. If you look at the results on a more level playing field the performance of RHEV 3 and vSphere is more in line. RHEV still wins, but not by a crushing amount. I really wish these VM benchmarks gave some indication as to how much disk I/O was going on. It is interesting to see all the tuning measures that are disclosed, gives some good information on settings to go investigate maybe they have broader applications than synthetic benchmarking.

Of course performance is only a part of what is needed in a hypervisor, hopefully RHEV 3 will be as functional as it is fast.

There is a Enterprise Hypervisor Comparison released recently by VMGuru.nl, which does a pretty good job at comparing the major hypervisors, though does not include KVM. I’d like to see more of these comparisons from other angles, if you know of more guides let me know.

One thing that stands out a lot is OS support, it’s strange to me how VMware can support so many operating systems but other hypervisors don’t. Is this simply a matter of choice? Or is the VM technology VMware has so much better that it allows them to support the broader number of guest operating systems with little/no effort on their part? Or both ? I mean Hyper-V not supporting Windows NT ? How hard can it be to support that old thing? Nobody other than VMware supporting Solaris ?

I’ve talked off and on about KVM, as I watch and wait for it to mature more. I haven’t used KVM yet myself. I will target RHEV 3, when it is released, to try and see where it stands.

I’m kind of excited. Kind of because breaking up with VMware after 12 years is not going to be easy for me 🙂

5 Comments

  1. Hello Nate,

    While I really respect your opinion and appreciate your blog in general, I have o disagree with the negative impressions that you seem to have with KVM. We we a all VMWare shop for 6 years and within the last 2 have been heavily invested in KVM.

    We actually launched a cloud service using private and hybrid ad have had better results with KVM and RHEV over our Vsphere 4 offering. The truth is once you get down to the actual function( meaning hosting) not all the vmware addon’s I have actually come to find VMWare’s offering lack luster and over priced.

    On the KVM side I have so much more control in terms of leveraging my linux skills and scripting my environment vs VMware, but my VM’s all seem to be more responsive on the KVM side. I really would like to see you spin up a KVM environment and post your thoughts, don’t wait for RHEV 3. I am interested to hear your user thoughts not the specs.

    Comment by Milles21 — December 7, 2011 @ 7:01 pm

  2. thanks for the comment! I don’t mean to have a negative impression of KVM, I am hopeful it is the future. I do have negative impression of Xen by contrast 🙂

    My schedule is about to get more busy as I work pulling my company out of EC2, after that project is done I should have more time to play with KVM — all of my current equipment is vSphere so any testing of KVM for me in the short term would have to be running KVM on top of vSphere which I’m sure isn’t ideal..

    Comment by Nate — December 7, 2011 @ 8:39 pm

  3. That is not UML, its LXC – http://lxc.sourceforge.net/

    The diff is that it is upstream meaning it is part of Linux kernel. It requires cgroups in order for it to work (which is available in the kernel past few years).

    On the other hand although spec virt shows diff hardware spec (RHEV hardware being more powerful) it actually shows that RHEV can actually scale higher than VMWare could be (higher CPU / Core / RAM support on the host and VM level). That in itself a good thing to have + it is always faster compared to VMWare on anything that got to do with CPU.

    The only downside on KVM / RHEV is that it is always cheaper than VMWare 🙂

    Cheers.

    Comment by wariola — December 7, 2011 @ 8:50 pm

  4. Thanks for the info! I did not know that.. good to know for LXC I will check it out. I read that UML was part of the kernel as well (at one point maybe not anymore?)

    KVM is certainly cheaper than vSphere that is for sure, and the flat rate “unlimited” licensing for RHEL on hardware is very attractive as well, even though they jacked those prices up significantly about a year ago (260% – I had a post about it at the time). So time will tell how stable the pricing gets, it wouldn’t surprise me if the price continued to go up over time, though at a lesser clip than VMware.

    I’ve been pretty convinced for about the past 1.5 years that I would be moving to KVM at some point (back then my original estimations was 2012 — which is just around the corner!).

    http://searchservervirtualization.techtarget.com/news/1456200/Red-Hat-KVM-underpins-IBM-test-and-dev-cloud

    Not exactly a firm commitment from me in that article but about as close as I was going to get at the time! (that was two jobs ago).

    The company I’m at now just completed investments in VMware infrastructure. We’re an Ubuntu shop at the moment though a Red Hat rep has been pinging me recently, I would love to switch to RHEL … I do love Ubuntu for laptops and desktops (using it almost exclusively there) and Debian for my own systems (using it since 1998) but I do prefer RHEL for work!

    Comment by Nate — December 7, 2011 @ 9:02 pm

  5. For RHEV, u can actually use it without RHEL. RHEV is kinda VMWare offering – Management Console (RHEV-M) and Hypervisor (RHEV-H). Price is around USD499 per socket with all the features (no basic, advanced, enterprise plus etc.. 1 version to rule them all). It is really an attractive price for all the VMware shops out there provided you dont need the shiny expensive feature right now (storage live migration is coming RHEV anyway). And yes u can run other Linux on it tho it is not supported by RH (only RHEL and Windows at the moment).

    More info on RHEV here – http://linuxriola.wordpress.com/2009/11/05/red-hat-enterprise-virtualization-rhev/

    And yes RHEL price is going up since last year.

    Comment by wariola — December 7, 2011 @ 9:23 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress