adheer chandravanshi wrote:
Are there any other advantages of using 4mb pages? What are the disadvantages of using 4mb pages?
They cannot be swapped out. This is an advantage for database shared memory segments, but a disadvantage for most applications, since it means you cannot overcommit memory with hugepages. Another disadvantage is that you have to determine the size of the hugepage pool size in advance. It cannot really be resized dynamically. In short, hugepages are not as flexible as normal memory allocations. -- "You don't have to be crazy to do this... but it helps." -- Bob Ross -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/