Re: read perf improved by mounting ext2?

From: Kurt Garloff (garloff@suse.de)
Date: Tue Apr 24 2001 - 04:05:32 EST


On Tue, Apr 24, 2001 at 10:58:58AM +0200, Jens Axboe wrote:
> On Tue, Apr 24 2001, Kurt Garloff wrote:
> > There are enough partitions to see a clear pattern: Those with mounted ext2
> > filesystems perform better. Umounting them does not harm, they just need to
> > have been mounted once. reiser or (v)fat however don't improve anything.
> > swap does, as does a ext2 over raid5.
>
> You wouldn't happen to have 4kB ext2 filesystems on those?

Sure I do.

> When ext2 mounts, it sets the soft blocksize to that then, I would expect
> this to give at least some benefit over using 1kB blocks (as your IDE
> partition otherwise would have).

Why? Are the request sizes larger this way? This would mean that the
overhead is very significant, turning a max of 26MB/s into 16MB/s!

If so, shouldn't we try to get the same effect also for the whole disk or
other filesystems? Most notably reiser?

Regards,

-- 
Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE GmbH, Nuernberg, FRG                               SCSI, Security


- 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/



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:10 EST