Re: when is 4MB page size used?

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

 



Also I want to know that how does Linux operates using 4mb pages?
 
- We have an advantage of using 4mb pages  i.e it increases the TLB coverage area thus TLB misses are reduced.
-Also page table hierarchy is reduced causing less memory overhead.
 
Are there any other advantages of using 4mb pages? What are the disadvantages of using 4mb pages?
 
-Adheer

 
On 9/24/06, adheer chandravanshi <adheerchandravanshi@xxxxxxxxx> wrote:
Thanks a lot for your replies!

but i actually want to know the applications that can use the page size of 4MB.
And what will be the difference if 4MB page size is used on 32bit machine and 64bit machine?
 
-Adheer
 
On 9/24/06, Nish Aravamudan <nish.aravamudan@xxxxxxxxx > wrote:
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



[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