<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE : RE : Poor ext3 performance on RAID array</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>stride is the chunk size of your raid whatever the number of physical disks composing the RAID array.<BR>
So for 256k chunks with a block size of 4k, stride should be 256/4 = 64 instead of 640.<BR>
<BR>
Maybe it will help.<BR>
<BR>
Ionel<BR>
<BR>
<BR>
-------- Message d'origine--------<BR>
De: Rene Salmon [<A HREF="mailto:rsalmon74@gmail.com">mailto:rsalmon74@gmail.com</A>]<BR>
Date: mer. 08/08/2007 22:53<BR>
À: GARDAIS Ionel<BR>
Cc: ext3-users@redhat.com<BR>
Objet : Re: RE : Poor ext3 performance on RAID array<BR>
<BR>
Hi,<BR>
<BR>
Thanks for the reply. I tried using the -E stride=X  option as follows:<BR>
<BR>
mkfs.ext3 -b4096 -Tlargefile4 -E stride=640 /dev/dm-1<BR>
<BR>
and got the same results around 50 MBytes/sec.  Maybe I have the wrong<BR>
number for stride so here is the math for that:<BR>
<BR>
                          stride=stripe-size<BR>
                          Configure the filesystem  for  a  RAID  array<BR>
with<BR>
                          stripe-size filesystem blocks per stripe.<BR>
<BR>
<BR>
Here is some more detail on the RAID array.<BR>
<BR>
RAID level : 5 (10 drives + 1 parity)<BR>
Chunk Size : 256 KB<BR>
Stripe Size : 2560 KB (10 drives * 256KB)<BR>
<BR>
stride=640 * 4096(byte blocks) = 2560KB<BR>
<BR>
I will try other stride options but they don't seem to change much.<BR>
<BR>
Thanks<BR>
Rene<BR>
<BR>
<BR>
<BR>
<BR>
On 8/8/07, GARDAIS Ionel <Ionel.Gardais@tech-advantage.com> wrote:<BR>
><BR>
>  Hi Rene,<BR>
><BR>
> You should try to add the "-E stride=X" option to the mkfs command line.<BR>
> Where X is expalined in the man page.<BR>
><BR>
> This will basically map ext3 "blocks" on the RAID stripe size.<BR>
><BR>
> Ionel<BR>
><BR>
><BR>
> -------- Message d'origine--------<BR>
> De: ext3-users-bounces@redhat.com de la part de Rene Salmon<BR>
> Date: mer. 08/08/2007 22:21<BR>
> À: ext3-users@redhat.com<BR>
> Objet : Poor ext3 performance on RAID array<BR>
><BR>
> Hi list,<BR>
><BR>
><BR>
> I am having some strange performance issues with ext3 and I am hoping to<BR>
> get some advice/hints on how to make this better.  First some background<BR>
> on the setup.<BR>
><BR>
> We have a RAID 5 array 10+1+1 with one LUN.  That is 10 SATA drives one<BR>
> parity drive and one dedicated spare.  The LUN is about 6.5TB.<BR>
><BR>
> Using a 2Gbit/sec fiber channel card I can do some dd writes to the raw<BR>
> device and get speeds close to 200Mbytes/sec which is more or less the<BR>
> max the card can do.<BR>
><BR>
> Next I create an xfs file system on the LUN and do a dd to xfs and get<BR>
> speeds close to 150Mbytes/sec.<BR>
><BR>
> I want to use ext3 not xfs so next I put ext3 on the lun.  Now when I do<BR>
> the dd to the ext3 lun I get 25-50Mbytes/sec depending on whether I have<BR>
> the Raid controller cache turned on or off. Getting 50MBytes/sec with<BR>
> the raid controller cache turned off.<BR>
><BR>
> I know that ext3 should perform better so I must be doing something<BR>
> wrong.  Here is my mkfs.ext3<BR>
><BR>
> mkfs.ext3 -b4096 -Tlagefile4 /dev/dm-0<BR>
><BR>
> Thanks in advanced for any help on this.<BR>
><BR>
> Rene<BR>
><BR>
><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>