[ale] md0 tasks taking 60-80% of CPU

Robert L. Harris Robert.L.Harris at rdlg.net
Thu May 11 13:27:05 EDT 2006



Hmm,
  160Gig at 2.7Meg persec.
(bc)
160000/2.7
 = 59259seconds

 59259/60 = 987minutes
 987/60 = 16 hours.

Maybe increasing your min/max speed will help.  Try this:

echo 2000000 > /proc/sys/dev/raid/speed_limit_max
echo 100000 > /proc/sys/dev/raid/speed_limit_min

No, yuo wont' get those actual numbers but they'll open the pipe up.




Thus spake Christopher Fowler (cfowler at outpostsentinel.com):

> How slow is this machine?  I've loaded up PIV's with SATA drives using a
> tarball on md0 and the resync usually takes about 1 hour.
> My drives are 200GB and almost all is used for the raid.
> 
> What concerns me is that yours is taking sooooooooo long to rebuild.
> 
> On Thu, 2006-05-11 at 11:48, JK wrote:
> > Here they are. I'm guessing the "resync" state has something
> > to do with the CPU usage...
> > 
> > --------------/proc/mdstat:---------------
> > 
> > Personalities : [raid1]
> > md0 : active raid1 hda3[0] hdd3[1]
> >       155637632 blocks [2/2] [UU]
> >       [============>........]  resync = 63.2% (98368448/155637632) 
> > finish=352.7min speed=2703K/sec
> > md1 : active raid1 hda1[0] hdd1[1]
> >       128384 blocks [2/2] [UU]
> >      
> > unused devices: <none>
> > 
> > ---------------mdadm -D:-----------------
> > 
> > /dev/md0:
> >         Version : 00.90.01
> >   Creation Time : Thu Mar 24 19:26:08 2005
> >      Raid Level : raid1
> >      Array Size : 155637632 (148.43 GiB 159.37 GB)
> >     Device Size : 155637632 (148.43 GiB 159.37 GB)
> >    Raid Devices : 2
> >   Total Devices : 2
> > Preferred Minor : 0
> >     Persistence : Superblock is persistent
> > 
> >     Update Time : Thu May 11 14:42:32 2006
> >           State : active, resyncing
> >  Active Devices : 2
> > Working Devices : 2
> >  Failed Devices : 0
> >   Spare Devices : 0
> > 
> >  Rebuild Status : 63% complete
> > 
> >     Number   Major   Minor   RaidDevice State
> >        0       3        3        0      active sync
> >        1      22       67        1      active sync
> > 
> > 
> > Robert Story wrote:
> > 
> > >On Thu, 11 May 2006 10:42:30 -0400 Michael wrote:
> > >MS> can you cat /proc/mdstat for us?
> > >
> > >and 'mdadm -D /dev/md0'
> > >_______________________________________________
> > >Ale mailing list
> > >Ale at ale.org
> > >http://www.ale.org/mailman/listinfo/ale
> > >
> > >
> > >  
> > >
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for              First One Should Be A Man
       no-one else.                       - Manowar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature




More information about the Ale mailing list