LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How change the size of Hugepagesize under RHEL5.4? (https://www.linuxquestions.org/questions/linux-server-73/how-change-the-size-of-hugepagesize-under-rhel5-4-a-810323/)

wybjb 05-26-2010 07:35 PM

How change the size of Hugepagesize under RHEL5.4?
 
The default value of Hugepagesize is 2m, I want to chang it to 16m, could anybody tell me how to do that? thanks very much!

$ grep Huge /proc/meminfo
HugePages_Total: 10240
HugePages_Free: 799
HugePages_Rsvd: 186
Hugepagesize: 2048 kB

johnsfine 05-27-2010 07:40 AM

That is a hardware determined feature, not a software feature. You can't change it to 16MiB.

If you understood the point of huge pages, you probably wouldn't want to change them to 16MiB.

Your hardware might support a huge page size of 1GiB in addition to the standard size of 2MiB. I have no clue what it would take to get Linux to support 1GiB huge pages (on CPUs that support it). I think memory still needs to get less expensive before many people would want 1GiB huge pages.


All times are GMT -5. The time now is 03:42 PM.