public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@clusterfs.com>
To: Andrew Morton <akpm@zip.com.au>
Cc: dean gaudet <dean-list-linux-kernel@arctic.org>,
	linux-kernel@vger.kernel.org
Subject: Re: 3x slower file reading oddity
Date: Mon, 17 Jun 2002 19:45:13 -0600	[thread overview]
Message-ID: <20020618014513.GK22427@clusterfs.com> (raw)
In-Reply-To: <3D0E807C.5D50C17E@zip.com.au>

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/


  parent reply	other threads:[~2002-06-18  1:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17 20:03 3x slower file reading oddity dean gaudet
2002-06-17 20:07 ` Benjamin LaHaise
2002-06-17 20:31   ` dean gaudet
2002-06-17 23:26 ` Andrew Morton
2002-06-18  0:15   ` dean gaudet
2002-06-18  0:36     ` Andrew Morton
2002-06-18  1:40       ` dean gaudet
2002-06-18  1:45       ` Andreas Dilger [this message]
2002-06-18  2:08         ` dean gaudet
2002-06-18 10:45           ` Padraig Brady

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=20020618014513.GK22427@clusterfs.com \
    --to=adilger@clusterfs.com \
    --cc=akpm@zip.com.au \
    --cc=dean-list-linux-kernel@arctic.org \
    --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