Messages in this thread | | | Date | Thu, 27 Mar 2008 14:00:00 +1100 | From | Paul Mackerras <> | Subject | Re: larger default page sizes... |
| |
Christoph Lameter writes:
> One should emphasize that this test was a kernel compile which is not > a load that gains much from larger pages. 4k pages are mostly okay for > loads that use large amounts of small files.
It's also worth emphasizing that 1.5% of the total time, or 21% of the system time, is pure software overhead in the Linux kernel that has nothing to do with the TLB or with gcc's memory access patterns.
That's the cost of handling memory in small (i.e. 4kB) chunks inside the generic Linux VM code, rather than bigger chunks.
Paul.
| |