* What means Hugepage? 8KiB,16KiB,..,2MiB or 4MiB?
@ 2008-03-25 22:03 J.C. Pizarro
2008-03-25 22:59 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: J.C. Pizarro @ 2008-03-25 22:03 UTC (permalink / raw)
To: LKML
What means Hugepage?
Does it mean 8KiB? 16KiB? 32KiB? 64KiB? 2MiB? 4MiB?
The real page sizes of x86 and x86-64 are 4 KiB for this linux kernel.
But the page sizes can be soft 8 KiB or 16 KiB or 32 KiB or 64 KiB
if it is implemented in the memory manager of the kernel.
But too they exist real page sizes of 2 MiB and 4 MiB that they have
some reserved entries of TLB in the specs of Intel/AMD processors
for these gigant pages.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What means Hugepage? 8KiB,16KiB,..,2MiB or 4MiB?
2008-03-25 22:03 What means Hugepage? 8KiB,16KiB,..,2MiB or 4MiB? J.C. Pizarro
@ 2008-03-25 22:59 ` H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2008-03-25 22:59 UTC (permalink / raw)
To: J.C. Pizarro; +Cc: LKML
J.C. Pizarro wrote:
> What means Hugepage?
>
> Does it mean 8KiB? 16KiB? 32KiB? 64KiB? 2MiB? 4MiB?
>
> The real page sizes of x86 and x86-64 are 4 KiB for this linux kernel.
>
> But the page sizes can be soft 8 KiB or 16 KiB or 32 KiB or 64 KiB
> if it is implemented in the memory manager of the kernel.
>
> But too they exist real page sizes of 2 MiB and 4 MiB that they have
> some reserved entries of TLB in the specs of Intel/AMD processors
> for these gigant pages.
On x86, it means 2/4 MiB, or even 1 GiB in some very strange
circumstances. Other architectures might be different.
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-25 23:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 22:03 What means Hugepage? 8KiB,16KiB,..,2MiB or 4MiB? J.C. Pizarro
2008-03-25 22:59 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox