-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-03-01 at 10:36 +0100, Istvan Gabor wrote:
But I would simply switch to reiserfs. You said:
As the freedb database contains zillions of small files it
That's perfect for reiserfs. Ideal for you ;-)
At least, try, I'd like to know if the untarring runs faster on reiserfs under the same conditions - I'm very curious, it should be much faster ;-)
Thanks! I have formatted that partiton to reiserfs. Untaring was MUCH faster. Not on the same computer, but on another one 10-15 minutes vs. 6-8 hours.
A big difference :-)
I have two questions: 1. What about the block size on reiserfs? The default is 4096. Should not I change to smaller value? Or on reiserfs this thing works differently?
Yes, it works diferently. If the file is very small, it doesn't go there, and small files can share partial blocks. There is no need to tune reiserfs that way.
2. df and du gave different results for the filesystem (10 GB partition). "df -h" said that the used space on the reiser was 2.5 GB and about 7 GB was free (available). However "du -sh freedb" reported 7.5 GB. Why is this?
Because du uses estimated block size, and the calculation is wrong for reiserfs. See this thread: http://lists.suse.com/archive/suse-linux-e/2005-Oct/2466.html Subject: [SLE] Space used by files on a reiser partitition. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEBbjztTMYHG2NR9URAscoAKCY1Ax/vcqvem0fP0dPexi39/WrFwCdGUrU F7snSwgkZBISyyadocxdj9A= =wOzi -----END PGP SIGNATURE-----