And another test:
ext2:
root@witch:/mobile:# time tar xzf /arc/test.tar.gz
real 5m25.249s
user 1m33.430s
sys 0m31.710s
root@witch:/mobile:# time rm -rf test/
real 0m8.843s
user 0m0.000s
sys 0m0.420s
xfs:
root@witch:/mobile:# time tar xzf /arc/test.tar.gz
real 5m23.744s
user 1m34.800s
sys 0m39.100s
root@witch:/mobile:# time rm -rf test/
real 0m1.364s
user 0m0.030s
sys 0m0.430s
test.tar.gz is tree created by script:
#!/bin/bash
for lev1 in aa bb cc dd ee ff gg hh ii jj kk ll
do
mkdir $lev1
cd $lev1
for lev2 in 0 1 2 3 4 5 6 7
do
mkdir $lev2
cd $lev2
for fname in a b c d e f g h i
do
dd if=/dev/urandom of=$fname bs=4k count=1024
done
cd ..
done
cd ..
done
-- Daniel Podlejski <underley@underley.eu.org> ... When you're talkin to yourself and nobody's home You can fool yourself, you came in this world alone ... - 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/