[Top] [All Lists]

Re: xfs for free hosting on linux ? performance questions

To: Linux XFS <xfs@xxxxxxxxxxx>
Subject: Re: xfs for free hosting on linux ? performance questions
From: pg_xfs2@xxxxxxxxxxxxxxxxxxxxxx (Peter Grandi)
Date: Mon, 10 Mar 2008 20:37:48 +0000
In-reply-to: <2db2c6b80803091738o20dc80b2p82c5bf7246a8c560@xxxxxxxxxxxxxx>
References: <47D45926.5070806@xxxxxxxxx> <18388.31367.314074.624135@xxxxxxxxxxxxxxxxxx> <2db2c6b80803091738o20dc80b2p82c5bf7246a8c560@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
> but reiserfs is slow for me too, maybe i have some other
> problems? i made array like this mdadm --create /dev/md0
> --verbose --level=5 --raid-devices=5 /dev/sd{b,c,d,e,f}1
> --assume-clean

Uhhhhh, '--assume-clean' on a RAID5 is not necessarily a good
idea. Just don't do it, and wait a few hours for the initial
sync to happen.

> [ ... ]
>     26.48 megabytes read (94.47 kilobytes per second)
>     136.18 megabytes written (485.89 kilobytes per second)

> is there something wrong with my system??

The speed above is indeed terrible. Perhaps the array is
rebuilding frantically as it finds all stripes have the wrong
parity because of '--assume-clean'.

> [ ... ] LA is 0.50 right now (i'm testing it at night),

Why is LA relevant? What is running on that system now? Are
those physical disks being used by some applications?

> hdparm is showing that every HD from the array is doing
> 100MB/s at least, so why these numbers?

Perhaps after rebuilding the array without '--assume-clean' you
might try to do such simple tests on the '/dev/md0' device
itself, just to be sure that it performs more or less adequately.

After several reports that is helps, try this before the test:

  blockdev --setra 1024 /dev/md0

but even without it you should be getting at least 40-50MB/s.

And always check the array status with 'mdadm --detail' to see
if it is resyncing or not before testing.

Using 'watch iostat -k sd{b,c,d,e,f} 1 2' (and checking out the
_second_ set of figures) is also nice to see the actual transfer
rates of each drive in the array and verify that if you are
reading there is no writing going on etc.

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