Re: read perf improved by mounting ext2?

Jens Axboe (axboe@suse.de)
Tue, 24 Apr 2001 10:58:58 +0200


On Tue, Apr 24 2001, Kurt Garloff wrote:
> I get it. But not over the whole disk.
> Doing a read speed measurement on /dev/hda, I constantly get ~16 MB/s.
> Not bad, but less than I'd expect. Measuring single partitions, some show
> the same, some show significantly more, 26MB/s--18MB/s, depending on the
> position of the partition on disk. Those look good!
>
> 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? 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).

-- 
Jens Axboe

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