Unable to disable the HugePages
Issue
- HugePages are commented #vm.nr_hugepages=16384 in
/etc/sysctl.confand rebooted the server, still/proc/meminfoshowsHugePagesare not disabled.
$ grep ^HugePages proc/meminfo
HugePages_Total: 16384
HugePages_Free: 16384
HugePages_Rsvd: 0
HugePages_Surp: 0
- Setting vm.nr_hugepages=0 in the
/etc/sysctl.confand then rebooting the server does not disable the HugePages.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.