Re: when is 4MB page size used?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux