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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content