문제

  • How can I increase "hugepagesize" from its default value?

환경

  • Red Hat Enterprise Linux

해결

  • "Hugepagesize" is fixed by architecture. You can see the current Hugepagesize by using the following command;
# cat /proc/meminfo |grep Hugepagesize
  • "Hugepagesize" cannot be adjusted on standard x86 or x86_64 architectures.
  • However it can be adjusted on certain high end x86_64 processors, AMD Barcelona for an example, but this is presently only available on the Red Hat Enterprise Linux 5.4 kernel.
  • "Hugepagesize" can be adjusted on PPC64 and ia64 architectures by passing the kernel parameter "hugepagesz=VALUE" on system boot
example:

title Red Hat Enterprise Linux Server (2.6.18-128.el5)                     
        root (hd0,0)                                                       
        kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup_main/LogVol_slash hugepagesz=1G
        initrd /initrd-2.6.18-128.el5.img  

+ Recent posts