<!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 : Poor ext3 performance on RAID array</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>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>
</FONT>
</P>

</BODY>
</HTML>