public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 12 way dbench analysis: 2.5.9, dalloc and fastwalkdcache
@ 2002-04-18  8:18 Anton Blanchard
  2002-04-18  8:58 ` Andrew Morton
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Anton Blanchard @ 2002-04-18  8:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, hannal


Hi,

Its about time I took to the kernel with the dbench stick. The following
results were done on a 12 way ppc64 machine with 250MHz cpus. I tested
2.5.9, 2.5.9 with Andrew Morton's dalloc work and Hanna Linder's fast
walk dcache patch. The results can be found at:

http://samba.org/~anton/linux/2.5.9/

A few things to note:

1. On 2.5.9, lru_list_lock contention starts to cut in at 4 cpus.
Andrew's dalloc work gets rid of this bottleneck completely. Its fantastic
stuff!

2. The dcache lock starts to cut in at 6 cpus, and Hanna's patch reduces
the contention a lot.

Things look pretty good right out to 12 way with these patches, I'll try
and get some runs on a larger SMP next.

Anton

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 12 way dbench analysis: 2.5.9, dalloc and fastwalkdcache
@ 2002-04-19 20:11 Paul Menage
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Menage @ 2002-04-19 20:11 UTC (permalink / raw)
  To: Hanna Linder; +Cc: pmenage, linux-kernel


On Thursday Apr 18 17:32:19 2002, hannal@us.ibm.com wrote:
>However, I recently found a deadlock that no one else has been able to
>reproduce. Could you try doing a find on /proc and tell me if it
>deadlocks?  

You somehow lost the call to undo_locked() before calling permission()
in the event that exec_permission_lite() failed. This would cause any
lookup where the first component referred to a dentry with a
permission() operation to deadlock (in the case of find on /proc, it was
doing a chdir("..") from inside /proc/1/fd). The call to undo_locked()
was in earlier versions of your patch.

Paul




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-20  1:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18  8:18 12 way dbench analysis: 2.5.9, dalloc and fastwalkdcache Anton Blanchard
2002-04-18  8:58 ` Andrew Morton
2002-04-20  0:50   ` Anton Blanchard
2002-04-18 15:17 ` Rusty Russell
2002-04-19  0:32 ` Hanna Linder
2002-04-20  1:00   ` Anton Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2002-04-19 20:11 Paul Menage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox