Re: when is 4MB page size used?

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

 



On 9/23/06, Rik van Riel <riel@xxxxxxxxxxx> wrote:
borasahin@xxxxxxxxxxx wrote:
>> On x86 architecture generally 4kb and 4mb page size is supported..2mb with
>> PAE enabled..
>>
>> I want to know that in which scenarios the pages with size 4mb and 2mb are
>> used?
>
> e.g. for kernel code and data.

Also for hugetlbfs, which is used for shared memory segments
by some databases.  Possibly other software too.

There is also libhugetlbfs, which makes it possible to remap a
programs text/data/BSS segments into huge pages, and to back malloc by
huge pages.

http://sourceforge.net/projects/libhugetlbfs

Thanks,
Nish

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