From: Andrew Morton <akpm@osdl.org>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: inode_lock heavily contended in 2.6.11
Date: Sun, 13 Mar 2005 21:12:34 -0800 [thread overview]
Message-ID: <20050313211234.14a1d24f.akpm@osdl.org> (raw)
In-Reply-To: <16949.4010.174143.391599@wombat.chubb.wattle.id.au>
Peter Chubb <peterc@gelato.unsw.edu.au> wrote:
>
>
> When running reaim7 on a 12-way IA64 on an ext2 filesystem on a ram
> disc, I see very heavy contention on inode_lock.
Yes, that's a big global lock, protecting global resources. I always
expected it to hit someone's fan, but it never did.
> lockstat output shows:
>
> SPINLOCKS HOLD WAIT
> UTIL CON MEAN( MAX ) MEAN( MAX )(% CPU) TOTAL NOWAIT SPIN RJECT NAME
> 46.8% 52.4% 1.9us( 130us) 20us(8073us)(21.5%) 5072151 47.6% 52.4% 0% inode_lock
> 15.9% 59.5% 3.8us( 61us) 18us(7067us)( 3.9%) 852983 40.5% 59.5% 0% __sync_single_inode+0xf0
> 9.2% 59.0% 1.2us( 25us) 20us(8073us)( 7.8%) 1596487 41.0% 59.0% 0% generic_osync_inode+0xe0
>
> (etc).
>
> Is anyone else seeing this on more realistic workloads?
An fsync/O_SYNC-intensive workload on a ram disk is likely to bring it out,
yes. But once one has real disks under there, the acquisition frequency
will fall a lot.
Unless people are being all shy again, I don't think anyone has hit
significant inode_lock problems on more real-world things.
prev parent reply other threads:[~2005-03-14 5:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 4:14 Peter Chubb
2005-03-14 5:12 ` Andrew Morton [this message]
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=20050313211234.14a1d24f.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterc@gelato.unsw.edu.au \
/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
all inboxes | Powered by JetHome®