X XEN: Huge Page Support in XEN

Team

  • Kaustubh Kabra
  • Aditya Gadre
  • Ashwin Vasani
  • Keshav Darak

Mentor

Kedar Sovani

Year: 2010-2011

Synopsis

Huge pages are the memory pages of size 2MB. Huge pages improve the performance of the system by 15-20% since number of page walks required for translation from a virtual address to physical 2MB page are reduced as compared to page walks required for translation from a virtual address to physical 4KB page. Also the number of TLB entries per 2MB chunk in memory is reduced by a factor of 512 as compared to 4KB pages.

In the context of virtualization, i.e. Xen hyper-visor,we propose an innovative design and implementation to support huge pages for paravirtualized guest paging operations.

Our solution presented in this paper is unique in the way that it modifies a layer of memory management at the level of physical memory in Xen. The solution allocates 2MB pages, i.e. ,huge page, along with the normal 4 KB pages before a domain boots. As the design partitions a domain's committed memory into 2MB chunks as per demand before a domain boots, the availability of the huge pages increases and more number of actual physical huge pages can be provided to the paravirtualized domain. This increases the performance of the applications hosted on the guest operating system which require the huge page support.

This design solves the problem of availability of 2MB chunk in guest's physical address space (virtualized) as well as the Xen's physical address space.

Achievements

  • Paper selected for Ottawa Linux Symposium - 2011.
  • Project competitions

  • Won the PLUG Special Prize at Concepts-PICT, Pune.
  • 1st in SYSTEMS category at Concepts-PICT, Pune.
  • 2nd in Open s/w category at Concepts-PICT, Pune.
  • 1st at Intechxication-MIT, Bharteeyam-BVU, Tesla-MITCOE and Zion-D Y PATIL, Pune.
  • Paper presentations

  • Joint 3rd at Techkriti, IIT Kanpur
  • 1st at Excelsior2k11-Sinhgad COE,Tesla-MITCOE and 2nd at Bharteeyam-BVU, Pune.
  • Poster presentations

  • 1st at Tesla-MITCOE and Zion-D Y PATIL, Pune.
  • Links

  • http://www.xxen-docs.co.cc
  • http://www.ashwinvasani.wordpress.com