mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dipankar Sarma <dipankar@in.ibm.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: Dave Hansen <haveblue@us.ibm.com>,
	maneesh@in.ibm.com, William Lee Irwin III <wli@holomorphy.com>,
	Andrew Morton <akpm@digeo.com>,
	linux-kernel@vger.kernel.org, viro@math.psu.edu,
	Hanna Linder <hannal@us.ibm.com>
Subject: Re: 2.5.36-mm1 dbench 512 profiles
Date: Fri, 20 Sep 2002 23:18:42 +0530	[thread overview]
Message-ID: <20020920231842.B4357@in.ibm.com> (raw)
In-Reply-To: <509891064.1032512823@[10.10.2.3]>; from mbligh@aracnet.com on Fri, Sep 20, 2002 at 04:17:10PM +0000

On Fri, Sep 20, 2002 at 04:17:10PM +0000, Martin J. Bligh wrote:
> > 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. 
> 
> Depends what you get it return. The object of fastwalk was to stop the
> cacheline bouncing on all the individual dentry counters, at the cost
> of increased dcache_lock hold times. It's a tradeoff ... and in this
> instance it wins. In general, long lock hold times are bad.

I don't think individual dentry counters are as much a problem as
acquisition of dcache_lock for every path component lookup as done
by the earlier path walking algorithm. The big deal with fastwalk
is that it decreases the number of acquisitions of dcache_lock
for a webserver workload by 70% on an 8-CPU machine. That is avoiding
a lot of possible cacheline bouncing of dcache_lock.


> > 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... :)
> 
> Well, avoiding data corruption is a preferable goal too. The point of
> RCU is not to have to take a lock for the common read case. I'd expect
> good results from it on the NUMA machines - never been benchmarked, as
> far as I recall.

You can see that in wli's dbench 512 results on his NUMA box.

Thanks
-- 
Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.

  reply	other threads:[~2002-09-20 17:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 22:30 William Lee Irwin III
2002-09-19 23:18 ` Hanna Linder
2002-09-19 23:38   ` Andrew Morton
2002-09-19 23:45     ` Hanna Linder
2002-09-20  0:08     ` William Lee Irwin III
2002-09-20  4:02       ` William Lee Irwin III
2002-09-20  7:59       ` Maneesh Soni
2002-09-20  8:06         ` William Lee Irwin III
2002-09-20 12:03           ` William Lee Irwin III
2002-09-20 18:51             ` Hanna Linder
2002-09-20 20:32               ` Hanna Linder
2002-09-20 20:54                 ` Dipankar Sarma
2002-09-20 20:39               ` William Lee Irwin III
2002-09-20 21:30             ` Martin J. Bligh
2002-09-20 23:11               ` William Lee Irwin III
2002-09-20 23:22                 ` Martin J. Bligh
2002-09-21  7:52             ` William Lee Irwin III
2002-09-20 14:34         ` Dave Hansen
2002-09-20 16:07           ` Martin J. Bligh
2002-09-20 17:48             ` Dipankar Sarma [this message]
2002-09-20 17:40           ` Dipankar Sarma
2002-09-20 20:28             ` Dipankar Sarma
2002-09-20  5:14     ` William Lee Irwin III
2002-09-20  6:59     ` William Lee Irwin III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020920231842.B4357@in.ibm.com \
    --to=dipankar@in.ibm.com \
    --cc=akpm@digeo.com \
    --cc=hannal@us.ibm.com \
    --cc=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maneesh@in.ibm.com \
    --cc=mbligh@aracnet.com \
    --cc=viro@math.psu.edu \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome