lkml.org 
[lkml]   [2002]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 3x slower file reading oddity
On Jun 17, 2002  17:36 -0700, Andrew Morton wrote:
> You can probably lessen the seek-rate by accessing the files in the correct
> order. Read all the files from a directory before descending into any of
> its subdirectories. Can find(1) do that? You should be able to pretty
> much achieve disk bandwidth this way - it depends on how bad the inter-
> and intra-file fragmentation has become.

Just FYI - "find -depth" will do that, from find(1):
-depth Process each directory's contents before the directory itself.

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.093 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site