RE How can I make my HW RAID reads faster? (request for FAQ)
Cyrille Bollu
Cyrille.Bollu at fedasil.be
Mon Jan 14 03:18:20 CST 2008
Matthias,
I have a Perc5e with a MD1000.
In general,I find Perc's cards performance poor and I would be happy to
find a way to improve. So, I would gladly participate in this discussion.
How did you measure your read speed? Using hdparm?
Cyrille
Sitsofe Wheeler <sitsofe at yahoo.com>
Envoyé par : linux-poweredge-bounces at dell.com
11/01/2008 19:23
A
linux-poweredge at dell.com
cc
Objet
How can I make my HW RAID reads faster? (request for FAQ)
Matthias Saou wrote:
(Matthias: Thanks for freshrpms - it's been very handy over the years)
> Looking for information on XFS filesystem options, I found this very
> instructive thread :
>
> http://oss.sgi.com/archives/xfs/2007-09/msg00322.html
>
> I read about this simple change in one of the posts, which improved
> performance a lot for the person making the benchmark, so I ran it :
> # blockdev --setra 16384 /dev/sdb
>
> I now get 500-520MB/s read speed with hardware RAID5 where I used to
> get 30-35MB/s... pretty amazing, I must admit.
>
> Looking at the man page, this just sets a read-ahead value... I'm
> puzzled yet very happy!
>
> Would any of the others who reported slow read speeds with their PERC5s
> and MD1000s care to also try it and report back to the list?
This small piece of wisdom/open secret for 2.6 kernels keeps having to be
dug up over and over again (along with noatime
(http://lwn.net/Articles/244829/ ) and stripe alignment
(http://insights.oetiker.ch/linux/raidoptimization.html )). You can see me
finding the similar results earlier last year on
http://lists.us.dell.com/pipermail/linux-poweredge/2007-August/032471.html
(the pity is that it doesn't seem to have helped anyone else). It would be
good if this sort of thing made it into a FAQ because it is such a common
tip (it should be the among the first thing that people try when running
all the standard hardware RAID cards).
Obviously one needs to be aware of drawbacks of doing this (might slow
down
random I/O of lots of small files, focuses on one benchmark) but it is
still handy to know and compared to other tips it is relatively easy to
try.
--
Sitsofe | http://sucs.org/~sits/
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20080114/5d4e3d92/attachment.htm
More information about the Linux-PowerEdge
mailing list