[prev in list] [next in list] [prev in thread] [next in thread] 

List:       reiserfs-devel
Subject:    Re: Fastest way to "find / -mtime +7".....
From:       Ragnar =?iso-8859-15?Q?Kj=F8rstad?= <reiserfs () ragnark ! vestdata ! no>
Date:       2005-07-20 20:44:51
Message-ID: 20050720204451.GT1508 () vestdata ! no
[Download RAW message or body]

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 in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic