Skip to contentSkip to conversation

Weird XFS slowness

DISCUSSION S.Çağlar Onur 2 participants 2 messages Jan 21, 2007

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
S.Çağlar Onur <[email protected]>
http://cekirdek.pardus.org.tr/~caglar/

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