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 |
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. |