Failing to allocate 1GB Hugepages - KASLR

Solution In Progress - Updated -

Issue

In a system with all the set up for 1GB hugepages, but not much memory (less than 10GB), the systems refuse to allocate a hugepage, even right after boot.

For instance, by running this command in a system with no hugepages allocated:

  # echo 1 > /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages

It will not allocate the memory. To check, read the file, and see if it will return 0 pages allocated.

Environment

Red Hat Enterprise MRG (MRG-RT)
Red Hat Enterprise Linux for Real Time (RHEL-RT)
Red Hat Enterprise Linux 7 (RHEL7)

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.