Large Memory Pages

Version 3

    In ESX Server 3.5 VMware introduced support for large memory pages in the guest. Large memory pages, an architecteral feature available in x86 microprocessors for decades, can be used to improve performance on workloads that make use of them. With CPU, hypervisor, OS, and application support, throughputs can go up and CPU utilization can go down. Since applications such as Oracle databases and Java have been using large pages on Linux and Windows for years, the introduction of this support on ESX Server allows for increased gains in performance over previous virtual installs. VMware is currently the only virtualization vendor to support large pages.

     

    VMware's support for large memory pages is detailed in the Large Page Performance performance study. That paper includes data on throughput gains in SPECjbb. The results are duplicated here:

     

     

     

     

     

    At LinuxWorld 2008 VMware presented further data on the value of large memory pages with Oracle databases. Here is a chart showing those gains with VMware binary translation (BT):

     

     

    http://communities.vmware.com/servlet/JiveServlet/downloadImage/3335/swingbench_lp_bt.JPG

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Data also shared at LinuxWorld on the value of large memory pages with AMD Rapid Virtualization Indexing (RVI; formerly called NPT):

     

     

    http://communities.vmware.com/servlet/JiveServlet/downloadImage/102-6912-2-3336/swingbench_lp_rvi.JPG

     

     

    The gains derived from the presence of large pages in these Oracle/Swingbench results are atypical.  Large pages have been documented in numerous locations to provide benefits between 5-20% on most database applications.  The increases shown here (of up to 350%) are due to the specialized configuration which is less about demonstrating real-world application performance and more about stressing the underlying configuration to uncover strengths and weaknesses.