From: torvalds@transmeta.com (Linus Torvalds)
To: linux-kernel@vger.kernel.org
Subject: Re: large file IO starving ls -l
Date: Sat, 3 Aug 2002 22:53:12 +0000 (UTC) [thread overview]
Message-ID: <aihmso$2m2$1@penguin.transmeta.com> (raw)
In-Reply-To: Pine.LNX.4.44.0208032253260.23040-100000@pc40.e18.physik.tu-muenchen.de
In article <Pine.LNX.4.44.0208032253260.23040-100000@pc40.e18.physik.tu-muenchen.de>,
Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de> wrote:
>
>Now the question is: who keeps ls from returning? The command never hits
>the disk (reads in above histogram do not increase), but stays for many
>seconds (up to one minute) in state D.
ext2 used to have similar issues with the superblock lock - where things
like block allocation (very much in the write path) would grab the
superblock lock, and completely destroy interactive feel even for
processes that didn't need to do IO, because the superblock lock was
often grabbed even if the data was actually cached (sb locking needed
just to _look_up_ the physical block so that you could look up the
cached data in the buffer cache).
Al Viro largely fixed in for ext2, which now uses lock_super() a lot
less. But a lot of filesystems are based on the old ext2 locking, and
may have inherited some of the worst parts..
Linus
next prev parent reply other threads:[~2002-08-03 22:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-03 21:16 large file IO starving ls -l Roland Kuhn
2002-08-03 22:53 ` Linus Torvalds [this message]
2002-08-04 6:14 ` Roland Kuhn
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='aihmso$2m2$1@penguin.transmeta.com' \
--to=torvalds@transmeta.com \
--cc=linux-kernel@vger.kernel.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