From: Zach Brown <zach.brown@oracle.com>
To: Carl Henrik Lunde <chlunde@ping.uio.no>
Cc: Soeren Sandmann <sandmann@daimi.au.dk>, linux-kernel@vger.kernel.org
Subject: Re: stat benchmark
Date: Mon, 28 Apr 2008 10:46:37 -0700 [thread overview]
Message-ID: <48160D7D.1030607@oracle.com> (raw)
In-Reply-To: <ed038eb20804271540q7df7ebe0p8e5c6b15c85813e0@mail.gmail.com>
> I guess it would be difficult to get close to the optimal disk schedule by
> using syslets; if a directory contains 1000 files that would require 1000
> syslets and a good I/O scheduler - that's unlikely to be feasible.
It wouldn't even get to the I/O scheduler. The VFS stat path (see
real_lookup()) is synchronous and serialized. Each stat will hold the
i_mutex of the parent directory while it waits for the file system's
lookup method to populate the inode from disk.
- z
next prev parent reply other threads:[~2008-04-28 17:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 20:59 stat benchmark Soeren Sandmann
2008-04-24 21:42 ` Carl Henrik Lunde
2008-04-24 21:44 ` Jan Engelhardt
2008-04-25 2:27 ` Justin Banks
2008-04-25 7:01 ` Christoph Hellwig
2008-04-25 19:48 ` Theodore Tso
2008-04-27 23:29 ` Soeren Sandmann
2008-04-28 0:13 ` Carl Henrik Lunde
2008-04-28 19:41 ` Alexander Larsson
2008-04-28 2:10 ` Theodore Tso
2008-04-27 22:40 ` Carl Henrik Lunde
2008-04-28 17:46 ` Zach Brown [this message]
2008-04-28 4:43 ` Ulrich Drepper
2008-04-28 11:53 ` Theodore Tso
2008-04-28 11:59 ` Avi Kivity
2008-04-28 13:31 ` Theodore Tso
2008-04-28 16:18 ` J. Bruce Fields
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=48160D7D.1030607@oracle.com \
--to=zach.brown@oracle.com \
--cc=chlunde@ping.uio.no \
--cc=linux-kernel@vger.kernel.org \
--cc=sandmann@daimi.au.dk \
/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