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

Pat Regan thehead at patshead.com
Thu May 11 12:34:41 EDT 2006


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]

You are only pushing 3 MB/sec and using 60-80% cpu.  This would lead me
to believe that you don't have DMA enabled on the drives.

This command should tell you if DMA is enabled:

hdparm /dev/hda

This one should enable it:

hdparm -D 1 /dev/hda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature




More information about the Ale mailing list