Re: 2.5.36-mm1 dbench 512 profiles

From: Dave Hansen (
Date: Fri Sep 20 2002 - 09:34:32 EST

Maneesh Soni wrote:
> On Fri, 20 Sep 2002 05:48:38 +0530, William Lee Irwin III wrote:
>>Hanna Linder wrote:
>>>>Looks like fastwalk might not behave so well on this 32 cpu numa
>>On Thu, Sep 19, 2002 at 04:38:14PM -0700, Andrew Morton wrote:
>>>I've rather lost the plot. Have any of the dcache speedup patches been
>>>merged into 2.5?
>>As far as the dcache goes, I'll stick to observing and reporting. I'll
>>rerun with dcache patches applied, though.
> For a 32-way system fastwalk will perform badly from dcache_lock point of
> view, basically due to increased lock hold time. dcache_rcu-12 should reduce
> dcache_lock contention and hold time.

Isn't increased hold time _good_ on NUMA-Q? I thought that the really
costy operation was bouncing the lock around the interconnect, not
holding it. Has fastwalk ever been tested on NUMA-Q?

Remember when John Stultz tried MCS (fair) locks on NUMA-Q? They
sucked because low hold times, which result from fairness, aren't
efficient. It is actually faster to somewhat starve remote CPUs.

In any case, we all know often acquired global locks are a bad idea on
a 32-way, and should be avoided like the plague. I just wish we had a
dcache solution that didn't even need locks as much... :)

Dave Hansen

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:30 EST