Re: Weird XFS slowness

2007-01-21 Thread Jan Engelhardt

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'
-- 

Weird XFS slowness

2007-01-20 Thread S.Çağlar Onur
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

[EMAIL PROTECTED] ~ $ time tar xvf linux-2.6.19.tar.bz2
...
real2m16.865s
user0m21.113s
sys 0m2.426s

b) EXT3

[EMAIL PROTECTED] ~ $ time tar xvf linux-2.6.19.tar.bz2
...
real0m34.192s
user0m20.624s
sys 0m1.771s

Deletion


a) XFS

[EMAIL PROTECTED] ~ $ time rm -rf linux-2.6.19/

real0m50.902s
user0m0.064s
sys 0m1.378s

b) EXT3

[EMAIL PROTECTED] ~ $ time rm -rf linux-2.6.19/

real0m1.162s
user0m0.031s
sys 0m0.411s

Copying
---

a) XFS

[EMAIL PROTECTED] test $ time cp -r ../linux-2.6.19 .
...
real1m42.833s
user0m0.124s
sys 0m2.621s

b) EXT3

[EMAIL PROTECTED] test $ time cp -r ../linux-2.6.19 .
...
real0m38.456s
user0m0.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!


pgpbyqId4aU9T.pgp
Description: PGP signature