[Cbe-oss-dev] [PATCH] powerpc: Introduce address space "slices"
Arnd Bergmann
arnd at arndb.de
Tue Feb 20 03:49:03 EST 2007
On Monday 19 February 2007 16:33, Olof Johansson wrote:
>
> > - SPE local store mappings using 64K pages on a 4K base page size
> > kernel on Cell
>
> Why? What is the reason they can't use 4K pages?
>
Performance: On a system with 16 SPEs, you have 4MB of local store memory.
Assuming you have an application running on them that has basically random
access with DMA to all of them, that is 1024 4k pages, while a single SPE
has only 256 TLB entries. This means you get a high overhead from loading
the PTEs, and (worse) handling all the hash miss faults, and even then
you end up thrashing your TLB.
With 64k pages, you can easily fit all the mappings for local store into
the TLB of one SPE.
Note that for regular memory, we can avoid that problem by using
16MB hugepages, which is not possible for the local store.
Arnd <><
More information about the cbe-oss-dev
mailing list