From: "Ragnar Kjørstad" <reiserfs@ragnark.vestdata.no>
To: Jonathan Briggs <jbriggs@esoft.com>,
Ed Walker <ewalker@surfcity.net>,
reiserfs-list@namesys.com
Subject: Re: Fastest way to "find / -mtime +7".....
Date: Wed, 20 Jul 2005 22:44:51 +0200 [thread overview]
Message-ID: <20050720204451.GT1508@vestdata.no> (raw)
In-Reply-To: <20050720162644.GC6704@schatzie.adilger.int>
On Wed, Jul 20, 2005 at 12:26:44PM -0400, Andreas Dilger wrote:
> On Jul 19, 2005 16:00 -0600, Jonathan Briggs wrote:
> > How about some kind of stat-data readahead logic? If the first two or
> > three directory entries are stat'd, queue up the rest (or next
> > hundred/thousand) of them. If the disk queue is given the whole pile of
> > stat requests at once instead of one at a time, it should be able to
> > sort them into a reasonable order.
> >
> > This might even be a VFS thing to do instead of per-FS.
>
> This is something I would be very interested in. Having a pipeline of
> stats generated when an app does readdir + in-order stat would help
> reduce latency a great deal for network filesystems.
What about just adding an asyncron stat to aio ?
--
Ragnar Kjørstad
Software Engineer
Scali - http://www.scali.com
Scaling the Linux Datacenter
prev parent reply other threads:[~2005-07-20 20:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-19 17:55 Fastest way to "find / -mtime +7" Ed Walker
2005-07-19 18:48 ` Jonathan Briggs
2005-07-19 20:09 ` Ragnar Kjørstad
2005-07-19 22:00 ` Jonathan Briggs
2005-07-20 12:33 ` Alexander G. M. Smith
2005-07-20 16:26 ` Andreas Dilger
2005-07-20 20:44 ` Ragnar Kjørstad [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=20050720204451.GT1508@vestdata.no \
--to=reiserfs@ragnark.vestdata.no \
--cc=ewalker@surfcity.net \
--cc=jbriggs@esoft.com \
--cc=reiserfs-list@namesys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.