Re: Strange delete performance using XFS

Justin Piszcz
2007-04-05T10:21:49Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1620 bytes --]

On Thu, 5 Apr 2007, Thomas Kaehn wrote:

> Hi Chris,
>
> On Thu, Apr 05, 2007 at 09:28:03AM +0200, Thomas Kaehn wrote:
>> On Wed, Apr 04, 2007 at 08:45:23AM -0700, Chris Wedgwood wrote:
>>> On Wed, Apr 04, 2007 at 03:05:35PM +0200, Thomas Kaehn wrote:
>>>> The XFS was first created using default options and later on with
>>>> "-d su=64k,sw=2 -l su=64k" which improved overall performance
>>>> but not delete performance.
>>>
>>> have you tried w/o using the hw raid?
>>
>> I'am going to test with a single disk in the same machine.
>
> this is what I got with a single disk (defaults for mkfs.xfs, logbufs=8 for
> mount) in the same machine:
>
> | # time for i in `seq 1 100000`; do dd if=/dev/zero of=$i bs=1k count=20 >/dev/null 2>&1; done
> |
> | real 11m22.487s
> | user 0m30.278s
> | sys 2m33.762s
> | # time \rm -rf y
> |
> | real 8m20.963s
> | user 0m0.056s
> | sys 0m7.968s
>
> So there is no improvement for a single disk.
>
> Ciao,
> Thomas
> --
> Thomas Kähn WESTEND GmbH | Internet-Business-Provider
> Technik CISCO Systems Partner - Authorized Reseller
> Im Süsterfeld 6 Tel 0241/701333-18
> tk@westend.com D-52072 Aachen Fax 0241/911879
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Die Gesellschaft ist eingetragen im Handelsregister Aachen unter HRB 7608
> Geschäftsführer: Thomas Neugebauer, Thomas Heller, Michael Kolb
>
>

What kind of disks are you using? Maybe just slow disks??