Re: [PATCH 2/3] FUTEX : introduce private hashtables
From: Nick Piggin
Date: Thu Mar 15 2007 - 17:29:26 EST
Ulrich Drepper wrote:
On 3/15/07, Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
There should be little contention on the memory in the global hash
anyway,
because we can roughly reduce contention as a factor of
hash-size/cacheline-size.
What we will have are cache misses on the global table... but we're
going to
get cache misses on those private tables as well.
I'm thinking about NUMA cases. If you have private tables for a
process which is pinned to some cluster in a NUMA machine the table is
local to the node. If you have a global table you cannot optimize
your application for such a situation because at least some of the
pages of the global table are remote.
That's true, but it also might be able to be improved in other ways.
At least once we get the basic support in the kernel, and glibc picks
it up, then we have a better base to evaluate these more exotic changes
against.
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/