On Sun, Jun 18, 2000 at 09:53:29AM +0530, Pavan Burbure wrote:
> Hi,
>
> I notice that RedHat 6.2 also makes 4k clusters on the ext2
> filesystem. I would like to know if a large block size improves the
> performance and, if yes, by what factor.
The easy answer is - do it and find out and share the results with the
rest of us :)
The hard answer is - it depends on your app. If you're just interested
in benchmarks - run some - Hans Reiser has a bunch that he regularly
publishes. Also, refer to the Berkeley FFS papers if you'd like stats.
John Ousterhout also published a paper containing the same data. But
they're all generic UNIX and not linux specific.
> Also for a typical install of 700MB, how much extra space is consumed if
> a 4k cluster is made instead of 1k. If I make the same no. of inodes
> as the default formatted file system creates, with a 1k cluster,
> will performance improve.
That shouldn't be too hard to compute running size % 4k on each of the
files in your system and summing them up.
In general, it might be a good idea to use the large block size for
/usr/X11R6 /usr/bin /usr/lib etc and have the default block size for
the rest.
-Arun
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help