From: Andrew Morton <akpm@osdl.org>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org, scalability@gelato.org
Subject: Re: [PATCH] Fixing address space lock contention in 2.6.11
Date: Wed, 2 Mar 2005 18:46:53 -0800 [thread overview]
Message-ID: <20050302184653.3ea8e29d.akpm@osdl.org> (raw)
In-Reply-To: <16934.28560.325928.858464@berry.gelato.unsw.EDU.AU>
Peter Chubb <peterc@gelato.unsw.edu.au> wrote:
>
>
> Hi,
> As part of the Gelato scalability focus group, we've been running
> OSDL's Re-AIM7 benchmark with an I/O intensive load with varying
> numbers of processors. The current kernel shows severe contention on
> the tree_lock in the address space structure when running on tmpfs or
> ext2 on a RAM disk.
>
Yup.
Problem is, an rwlock is a little bit slower than a spinlock on a P4 due to
the buslocked unlock, and a lot of people have p4's.
Could you do some testing on a 2-way p4?
> Anyway, here's the patch to convert the address space lock to a
> rwlock, and allow multiple processes to scan an address-space's radix
> tree at once.
dude, make-tree_lock-an-rwlock.patch has been in -mm since May 2004. I've
just been waiting for someone to justify merging it.
next prev parent reply other threads:[~2005-03-03 2:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 1:59 [PATCH] Fixing address space lock contention in 2.6.11 Peter Chubb
2005-03-03 2:28 ` Peter Chubb
2005-03-03 2:46 ` Andrew Morton [this message]
2005-03-04 0:08 ` Andrew Morton
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=20050302184653.3ea8e29d.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterc@gelato.unsw.edu.au \
--cc=scalability@gelato.org \
/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