lkml.org 
[lkml]   [2009]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHSET x86/core/percpu] implement dynamic percpu allocator
Hello, Ingo.

Ingo Molnar wrote:
> Uhm, no. We'll have one extra 2MB TLB and that's it. Both the
> low linear 2MB TLB and the high remapped alias 2MB TLB will
> cover on average of 256 4K pages. A very good deal still.

Yeah, double the TLB usage for the specific large page. Maybe I was
reading too many corporate emails. :-)

> We dont want to split up the static percpu area into zillions of
> small 4K TLBs - we'll rather use +1 large-TLB.
>
> If we used 4K ptes we'd waste up to 512 TLB entries. (largely
> simplified as the number of large TLB entries smaller than that
> of 4K TLB, but still the arguments holds in terms of TLB reach.)
>
> So there is no "TLB problem" whatsoever that i can see ...

Well, other people raised the issue and for machines with very small
separate TLBs for large pages (earlier x86s), it might be measurable
penalty. Anyways, remap only for NUMA should suffice it seems. I'll
post patches soon.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2009-02-23 01:51    [W:0.983 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site