Just saw Gustin's suggestion as I was posting the same thing, definitely check 
out what hdparm says about your drive settings - turning on DMA will make a  
huge difference.

Run a test before and after with DMA off/on using:

hdparm -tT /dev/hda

for example.

The min value is what will be used for reconstruction if there is 
user/application I/O taking place and max is when there isn't.  If you don't 
care, just set them both high to the same value.

On Monday 27 June 2005 15:16, Roy Souther wrote:
> I did try changing those values but no that high. I did not find any
> information as to what that value could be.
> I will try to crank it up more.
>
> What about speed_limit_min? Should I leave that alone?
>
> On Mon, 2005-06-27 at 13:31 -0700, Curtis Rempel wrote:
> > Quoting Roy Souther <[EMAIL PROTECTED]>:
> > > Creating my own distribution for my own servers, based on Debian. When
> > > it comes time to create the raid partions using mdadm I do so in the
> > > way pointed out to me on all the web sites I have found that talk about
> > > it.
> > >
> > > # My install script does this
> > > echo -en "y\r" | mdadm --create "/dev/md0" --level 1 --raid-devices=2
> > > "/dev/hda5" "/dev/hdc5
> > > watch "cat /proc/mdstat"
> > >
> > > The problem is that this is very very slow. A 40GB partition has be
> > > going all morning (4 hours) so far and it is only up to about 80% done.
> > >
> > > If I use Mandrake to do an install with the same partitions the section
> > > where the installer builds the RAID only takes about 30 minutes to do
> > > the same job.
> > >
> > > Any ideas how I could make the mdadm create new blank RAID partitions
> > > faster?
> >
> > Roy,
> >
> > You may want to check to see if there are differences between Debian and
> > Mandrake in /proc/sys/dev/raid/speed_limit_max
> >
> > If so, wind it up a little tighter using:
> >
> > echo -n 500000 > /proc/sys/dev/raid/speed_limit_max
> >
> > Hope that helps,
> >
> > Curtis
> >
> >
> > _______________________________________________
> > clug-talk mailing list
> > [email protected]
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying
>
> Roy Souther
> www.SiliconTao.com
> Let Open Source help your business move beyond.
>
> For security this message is digitally authenticated by GnuPG.

-- 
Curtis Rempel, RHCE, RHCX, LPIC-1, LPIC-2
Enigma Logic Inc.
www.enigma-logic.ca
[EMAIL PROTECTED]
403.804.8633

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to