2007-01-21 00:32:09

by S.Çağlar Onur

[permalink] [raw]
Subject: Weird XFS slowness

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 <[email protected]>
http://cekirdek.pardus.org.tr/~caglar/

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


Attachments:
(No filename) (1.55 kB)
(No filename) (189.00 B)
Download all attachments

2007-01-21 21:33:54

by Jan Engelhardt

[permalink] [raw]
Subject: Re: Weird XFS slowness


On Jan 21 2007 02:29, S.Çağlar Onur wrote:

>After switching ext3 to xfs, i realize system starts to _really_
>unresponsive and extracting tarballs,

Please have a look at http://lkml.org/lkml/2006/5/22/278


-`J'
--