Weird XFS slowness

From: S.ÃaÄlar Onur
Date: Sat Jan 20 2007 - 19:35:08 EST


Hi;

After switching ext3 to xfs, i realize system starts to _really_ unresponsive
and extracting tarballs, copying or deleting files or checking out svn
repositories are really slow, so i basically try to measure some for both xfs
and ext3 with same computer, same kernel (2.6.18.6), same disk, here are the
results

* between all tests i dropped caches
* i already tried to change block device's scheduler to as, noop and cfq,
nothing really changes
* i already tried 2.6.20-rc5 and 2.6.20-rc5.1.rt8.0085 which Ingo provides but
again nothing really changes

Kernel Tarball
--------------

a) XFS

ekin@idaho ~ $ time tar xvf linux-2.6.19.tar.bz2
...
real 2m16.865s
user 0m21.113s
sys 0m2.426s

b) EXT3

ekin@idaho ~ $ time tar xvf linux-2.6.19.tar.bz2
...
real 0m34.192s
user 0m20.624s
sys 0m1.771s

Deletion
--------

a) XFS

ekin@idaho ~ $ time rm -rf linux-2.6.19/

real 0m50.902s
user 0m0.064s
sys 0m1.378s

b) EXT3

ekin@idaho ~ $ time rm -rf linux-2.6.19/

real 0m1.162s
user 0m0.031s
sys 0m0.411s

Copying
-------

a) XFS

ekin@idaho test $ time cp -r ../linux-2.6.19 .
...
real 1m42.833s
user 0m0.124s
sys 0m2.621s

b) EXT3

ekin@idaho test $ time cp -r ../linux-2.6.19 .
...
real 0m38.456s
user 0m0.166s
sys 0m2.744s

I'm not sure these are normal numbers or its a regression (i'm just starting
to use XFS) so any hints will be appreciated.

Cheers
--
S.ÃaÄlar Onur <caglar@xxxxxxxxxxxxx>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

Attachment: pgp00000.pgp
Description: PGP signature