Huge Pages in CentOS 6

To check the size and amount of Huge Pages use:

This should so something like:

To change the number of HugePages use the following:

This would allocate 2560x2048kB = 5GB

To check the impact on memory:

Reset Huge Pages

The change can be applied permanently in /etc/sysctl.conf but to switch the number of Huge Pages back to zero:

And check again with:



Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">