Feeds

Xen hypervisor gets tech preview support for ARM processors

Red Hat's KVM has not won all hearts and minds – yet

Securing Web Applications Made Simple and Scalable

The Xen Project, which is now part of the Linux Foundation and which is responsible for extending the open source virtualization hypervisor formerly controlled by Citrix Systems, has updated Xen with a new 4.3 release that brings it to ARM processors.

In a blog post, George Dunlap, a senior engineer at Citrix Systems in charge of the Xen hypervisor, pulled the trigger on the 4.3 release. Dunlap put the Xen hypervisor on a nine-month release cycle late last year, and Xen 4.3 is coming in right on time with 90 people, 25 of them independents, contributing 1,362 changesets with a total of 136,128 new lines of code to the hypervisor.

Citrix still did 41 per cent of the contributions, as reckoned by changeset count, with SUSE Linux picking up 23 per cent, individuals as a group doing 8 percent, Intel doing 6 per cent, and the US National Security Agency doing another 5 per cent.

The most important new feature for Xen in the 4.3 release is support for both 32-bit and 64-bit ARM processors, but the NUMA-aware scheduling for virtual machines in the hypervisor is probably equally important in terms of usefulness. And frankly, moreso at this stage of the game for ARM server development, which is still a work in progress for the most part.

The Xen 4.3 hypervisor runs on so-called "fast models" of ARM cores that support the 32-bit ARMv7-A architecture with virtualization extensions, and is also functioning on top of emulated 64-bit ARMv8-A processors in the labs. In both cases, the Xen hypervisor has been tested against simulated ARMv7-A and ARMv8 processors, called either fast models or real-time systems in the ARM lingo. It has been booted up on a Google Chromebook using a Samsung XE303C12-A01 chip, and has been tested on Samsung's Exynos5 system-on-chip in 32-bit mode with 40-bit memory extensions.

Xen 4.3 will run on 64-bit x86 iron, of course, and the Xen 4.2 release was the last one to support 32-bit x86 chips when it was announced last September.

The NUMA-aware scheduler is an important component in Xen on machines with multiple processor sockets and chipsets using non-uniform memory access methods to glue those chips together and create a single memory space.

With NUMA designs, each socket has local memory, which it can access readily. If the data needed for a piece of work on the CPU is on the local memory linked to its socket, then performance will be acceptable. A hypervisor spanning multiple sockets has to be able to tell the chipset how to make sure VMs pinned to a particular thread or core in a particular socket need their data pushed over to that socket, otherwise they will have to reach out across the NUMA chipset and grab data from adjacent sockets.

As the number of VMs climbs in the machine, the effect of NUMA-aware scheduling increases, as you can see in these preliminary benchmark test results, and presumably this will also be the case as the number of sockets increases. It gets a bit dicey when a machine becomes overloaded with work, but even then the tweaks to make Xen appreciate the eccentricities of NUMA systems seems to help some.

Xen 4.3 has some modest scalability enhancements as well. The amount of physical main memory supported by the Xen hypervisor has been boosted from a maximum of 5TB with Xen 4.2 to 16TB with Xen 4.3. The earlier Xen had a bottleneck that limited the number of virtual CPUs supported by a single instance of Xen to 300 virtual CPUs, and that has been boosted to 750 with the 4.3 update.

That is a tested limit, not a theoretical one. Citrix just released its own XenServer 6.2 commercial-grade Xen last week, and has pushed the hypervisor scalability up to 3,250 virtual CPUs test on a single host with what it reckons is a theoretical limit of 4,000 virtual CPUs at the moment.

The Xen 4.3 hypervisor also integrates the Open vSwitch virtual switch created by Nicira and now controlled by VMware, which bought Nicira last summer for $1.26bn. Open vSwitch is replacing other virtual interface bridging code that was part of Xen, but you have to be careful because Open vSwitch integration is still in tech preview.

Until now, Xen had been using a fork of the QEMU hardware emulator to underpin the hypervisor, but now it is using a new iteration of the hardware emulator called qemu-xen that is based on an upstream release of QEMU with backports to make it work with Xen. Now Linux operating system distributors can more easily integrate Xen into their distros. The old qemu-traditional hardware emulator will still be available. (QEMU also underpins the KVM hypervisor, by the way.)

You can see the release notes for the updated Xen here, but you need to read the blog, the release notes, and the features list to get the full picture of what is in the 4.3 update.

The Xen Project reckons that there are over 10 million users across enterprise computing and public clouds who are using the Xen hypervisor in one of its many forms, and uncounted others that are using Xen in embedded and mobile devices. ®

The Essential Guide to IT Transformation

More from The Register

next story
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
EU's top data cops to meet Google, Microsoft et al over 'right to be forgotten'
Plan to hammer out 'coherent' guidelines. Good luck chaps!
US judge: YES, cops or feds so can slurp an ENTIRE Gmail account
Crooks don't have folders labelled 'drug records', opines NY beak
FLAPE – the next BIG THING in storage
Find cold data with flash, transmit it from tape
Seagate chances ARM with NAS boxes for the SOHO crowd
There's an Atom-powered offering, too
Gartner: To the right, to the right – biz sync firms who've won in a box to the right...
Magic quadrant: Top marks for, er, completeness of vision, EMC
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.