-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, just one more idea that came to my mind,

reiserfs uses a technique to save small files in the filesystem tree
which uses less disk space then. In ext3 a 1 byte file will take up 4k,
while this is not the case in reiserfs.
This yields a performace hit of about 5% (people say, not that i have
measured anything)

If you have enough free space you can disable this, make the small files
consume more space again and gains some speed improvement.

Another thing you could do is disable the writing of accesstimes.
Read man mount how to do this. The mount options are noatime,notail.

Concerning your observation I would start looking at how the
fragmentation is measured.
Maybe this also depends on the filesystem implementation in the kernel.
Anyway:
you can not get much better 1.043.. parts per file. This means that
almost every file(96,12 % in your case) is contiguous.

have fun

|>
|
| I did a little test.  Something fishy here.  I did a test with the /data
| partition.  I store pictures and documents there and it was fragmented.
| I cp -av to another reiserfs formatted partition then remade the file
| system and copied it back using basically the same command just in
| reverse.  This is what I got now:
|
| [EMAIL PROTECTED] / # /root/fragck.pl /data/
| 3.88457269700333% non contiguous files, 1.04344379261138 average
fragments.
| [EMAIL PROTECTED] / #
|
| That is not a lot better than it was before.  It was 4.6% before.  How
| is that?  I copied it over then ran the command right after without even
| touching the files.
| Any ideas?  Is there a limit to the fragmenting "smallness"?
|
| Dale
|
| :-)  :-)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHtE6PrpEWPKIUt7MRAoAhAJ4wJ1Ygs7A75ayFCIAs+uXjW+uUbwCfdeaB
rDCDg4kPoAfrKbMUZdJ/EdU=
=WkET
-----END PGP SIGNATURE-----
--
gentoo-user@lists.gentoo.org mailing list

Reply via email to