lkml.org 
[lkml]   [2001]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: read perf improved by mounting ext2?
On Tue, Apr 24 2001, Kurt Garloff wrote:
> > 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!

Because you'll be doing I/O on 4kB entries at least, and the overhead of
merging a 128kB request into the queue is much smaller this way. But
yes, 16 -> 26 seems quite a large win, I wouldn't expect this much
(unless you get no merging in any of the cases, then I suspect the 4kB
would be an even bigger win)

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

I would expect reiser to do the same. Setting the soft block size higher
is not required though, users are free to submit 4kB buffer heads even
for devices that have 1kB set. By default, it doesn't happen though.

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

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