xfs
[Top] [All Lists]

slow file creation with xfs on software raid5 - suggestions?

To: linux-xfs@xxxxxxxxxxx
Subject: slow file creation with xfs on software raid5 - suggestions?
From: Jens Schmalzing <j.s@xxxxxx>
Date: 02 Apr 2004 14:22:17 +0200
Organization: Lehrstuhl fuer vergleichende Astrozoologie
Reply-to: Jens Schmalzing <j.s@xxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
Hi,

I'm currently testing a small fileserver, using an array of SCA disks
with xfs on top of software raid5.  The chunk size of the raid is set
to 4k, as is the sector size for the xfs filesystem.  To be more
precise, the file system was created with

| # mkfs -t xfs -f -s size=4096 -l size=16384b /dev/md0
| meta-data=/dev/md0               isize=256    agcount=32, agsize=5608052 blks
|          =                       sectsz=4096 
| data     =                       bsize=4096   blocks=179457664, imaxpct=25
|          =                       sunit=1      swidth=6 blks, unwritten=1
| naming   =version 2              bsize=4096  
| log      =internal log           bsize=4096   blocks=16384, version=2
|          =                       sectsz=4096  sunit=1 blks
| realtime =none                   extsz=24576  blocks=0, rtextents=0

While the setup performs well in general, I am a bit disappointed at
the file creation speed - for example, unpacking a Linux kernel tree
(a bit more than 200MB in a bit less than 20k files and directories)
takes more than a minute and a half.  The same is true for removing
the whole thing again.  On the other hand, reading is really fast.

Any suggestions on tuning the file system or the software raid to
obtain better performance?  I'm also open to suggestions involving a
different file system altogether.

Regards, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!


<Prev in Thread] Current Thread [Next in Thread>