Re: [RFC PATCH 00/09] robust VM per_cpu variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Subject: Re: [RFC PATCH 00/09] robust VM per_cpu variables
- From: Christoph Lameter <clameter@xxxxxxx>
- Date: Wed, 17 May 2006 07:52:38 -0700 (PDT)
- Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, Nick Piggin <nickpiggin@xxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Martin Mares <mj@xxxxxxxxxxxxxxxxxxxxxxxx>, bjornw@xxxxxxxx, schwidefsky@xxxxxxxxxx, benedict.gaster@xxxxxxxxxx, lethal@xxxxxxxxxxxx, Chris Zankel <chris@xxxxxxxxxx>, Marc Gauthier <marc@xxxxxxxxxxxxx>, Joe Taylor <joe@xxxxxxxxxxxxx>, David Mosberger-Tang <davidm@xxxxxxxxxx>, rth@xxxxxxxxxxx, spyro@xxxxxxx, starvik@xxxxxxxx, tony.luck@xxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, grundler@xxxxxxxxxxxxxxxx, parisc-linux@xxxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxx, linux390@xxxxxxxxxx, davem@xxxxxxxxxxxxx, arnd@xxxxxxxx, kenneth.w.chen@xxxxxxxxx, sam@xxxxxxxxxxxx, kiran@xxxxxxxxxxxx
- In-reply-to: <Pine.LNX.4.58.0605170547490.8408@xxxxxxxxxxxxxxxxxxx>
- References: <Pine.LNX.4.58.0605170547490.8408@xxxxxxxxxxxxxxxxxxx>
On Wed, 17 May 2006, Steven Rostedt wrote:
> My first attempt to fix this introduced another dereference, to allow
> for modules to allocate their own memory. This was quickly shot down,
> and for good reason, because dereferences kill performance, and don't
> play nice with large SMP systems that depend on per_cpu being fast.
> I now place the per_cpu variables into VM, such that the pages are
> only allocated when needed. All the architecture needs to do is
> supply a VM address range, size for each CPU to use (note this
> implementation expects all the VM CPU areas to be together), and
> three functions to allow for allocating page tables at bootup.
So now instead of an explicit indirection we use an implicit one
through the page tables for this. This happens during early boot which
requires additional page table functions? And it requires the use of an
additional TLB entry? I guess that the additional TLB pressure alone will
result in a performance drop of 3%?
See http://www.gelato.unsw.edu.au/archives/linux-ia64/0602/17311.html
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]