Ballooning is more than enough to do memory overcommit on Xen Oracle says

Posted by Alessandro Perilli   |   Wednesday, August 27, 2008   |   3 Comments

The capability to overcommit memory is something that VMware offers on its hypervisor ESX since a long time. It’s achieved by several techniques (ballooning, contend-based page sharing, demand paging) and the company uses it as a great selling point.

At the moment only one of the approaches used by VMware is also implemented by several competitors: the memory ballooning.
This feature comes as part of Xen (only for Linux guest OS at the moment) so any commercial hypervisor powered by Xen can offer it, including Citrix XenServer, Virtual Iron, Oracle VM and the operating systems from Novell and Red Hat.

Oracle is a contributor of the open source hypervisor and just before the release of Xen 3.3 decided to clarify that there’s no need to implement all the techniques that VMware: some improvements to the current Xen ballooning can grant a just fine memory overcommitment.

At the XenSummit 2008 Dan Magenheimer, Consulting Developer at Oracle (and once Principal Scientist of Virtualization Research at HP), presented a lecture and a whitepaper clarifying the point:

…While content-based page-sharing, VMM-based demand paging, and hotplug memory are all glamorous mechanisms that can be used to improve memory efficiency, the simple existing balloon driver provided by Xen, when combined with gray-box data collected by a few scripts, is sufficient to implement reasonable memory overcommit. More measurement and testing is ongoing in Oracle’s OnDemand group, but we believe that this very simple solution delivers the vast majority of the value of memory overcommit with a much smaller cost…

Labels:

3 Comments

Blogger Dag Wednesday, August 27, 2008 10:19:00 PM  
yes yes yes, and Quickmigrate is more than sufficient to compete with vMotion.
Oracle yet again shows their incompetence in this area of technology.
Anonymous Anykey Thursday, August 28, 2008 1:05:00 AM  
smaller cost then what? ESXi is free and includes memory overcommitment by page sharing. A balloon driver does not do memory commitment! it only makes sure that if overcommitment is not working, memory can be freed up by punishing some of the VMs.

So I wonder what those "few scripts" are and how easy they are to implement, else only non assigned memory can be overcommited, while page sharing really allows used memory to be stored more efficient.
Anonymous Anonymous Friday, August 29, 2008 5:46:00 PM  
These two features are very useful to answer the fundamental question: "How many started VMs can I have per single host".... It really brings a great asset! In fact, it directly impacts the number of physical hosts you will purchased !!!

Add New Comment