How to enable hugepages support in a XEN virtual guest?

Solution Verified - Updated -

Issue

  • Many databases suggest using hugepages for better stability and performance. Can I enable hugepages in a XEN guest?
  • Can I enable hugepages in a XEN paravirtualized guest if they are presented by the kernel?

Environment

  • Red Hat Enterprise Linux (RHEL) 5 running as XEN guest
  • Red Hat Enterprise Linux (RHEL) 6 running as XEN guest
  • Xen Hypervisor

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In