[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Questions about software RAID level 1 (how long should it take to sync, etc?)



Just wanted to give an update on the current status of my resync
(after _many_ a false start!).

[12:44AM][mike@asterisk]% cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hda1[2] hdc1[1]
      158577472 blocks [2/1] [_U]
      [>....................]  recovery =  0.2% (469056/158577472)
finish=78.6min speed=33504K/sec

Now 78 minutes seems just a _bit_ better than 25 hours!  In order to
achieve this speedup, I first had to disconnect the CDROM drive, then
replace the 40 conductor cable with an 80 conductor cable, then
recompile a kernel with built in support for the following options
(for an Asus P4P800-SE motherboard):

* Generic PCI IDE Chipset Support (CONFIG_BLK_DEV_GENERIC)
* Generic PCI bus-master DMA support (CONFIG_BLK_DEV_IDEDMA_PCI)
* Use PCI DMA by default when available (CONFIG_IDEDMA_PCI_AUTO)
* Intel PIIXn chipsets support (CONFIG_BLK_DEV_PIIX)

Now my drives are using UDMA5 mode, and as you can see, it's much
faster than when they had DMA mode turned off ;)

I also bumped up the number in /proc/sys/dev/raid/speed_limit_min to
150000, which may also have had an effect.

Anyways, thanks again to all those who helped, your support was very
much appreciated!

Mike



Reply to: