Hi all,
I’m learning about linux memory and hugepages, and know that hugepages basically is just memory that manages memory. I thought I’d experiment with the subject, and wrote a very small C program (
http://pastie.org/1606226) that basically just eats 20 GB of memory. The idea was that I would use this small C program to see how big the page table would get when handling large areas of memory when I'm not using hugepages.
After running the program on my RHEL 5 server I was expecting the PageTable to be huge, but found that it was only about 43 MB. The page size on my RHEL box i 4 kB.
Can someone here please help me clear up why I’m not getting the major PageTable size issue I was expecting?
Greetings,
kenneho