* RAID5 initial rebuild slow, 2.6.16-rc4
@ 2006-03-02 16:48 Alistair John Strachan
2006-03-02 16:57 ` Alistair John Strachan
0 siblings, 1 reply; 2+ messages in thread
From: Alistair John Strachan @ 2006-03-02 16:48 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-kernel
Hi Neil,
I recently purchased two SATA2 Western Digital WD2500KS (250GB) HDs to add to
a pair of Maxtor DiamondMax 10's (200GB). I planned to initialise two 100GB
RAID5 arrays spanning all four drives (the remaining 2x50GB on the new HDs is
currently used for booting).
All the drives are connected to the same controller. I'm running mdadm 2.3.1,
which is the latest version I believe. I created the array with the following
command:
mdadm --create /dev/md1 --auto=yes --chunk=64 --level=5
--raid-devices=4 /dev/sda3 /dev/sdb3 /dev/sdc2 /dev/sdd2
A few seconds later the array completed and I got the following
in /proc/mdstat:
[root] 16:45 [~] cat /proc/mdstat
Personalities : [raid0] [raid5] [raid4] [multipath]
md2 : active raid0 sdb1[1] sda1[0]
195318016 blocks 32k chunks
md1 : active raid5 sdd2[4] sdc2[2] sdb3[1] sda3[0]
298736448 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
[>....................] recovery = 0.5% (501376/99578816)
finish=1646.2min speed=1000K/sec
I've not yet attempted to put a filesystem on the device, because I planned to
wait until the (presumably pointless) recovery process completed. However,
this rebuild seems to be extremely slow (the speed never exceeds the
"minimum" recovery speed). CPU usage is almost nill.
This machine is an Athlon64 X2 3800+, with 2GB RAM, running an x86_64 kernel.
Is there any reason for this poor performance?
--
Cheers,
Alistair.
'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RAID5 initial rebuild slow, 2.6.16-rc4
2006-03-02 16:48 RAID5 initial rebuild slow, 2.6.16-rc4 Alistair John Strachan
@ 2006-03-02 16:57 ` Alistair John Strachan
0 siblings, 0 replies; 2+ messages in thread
From: Alistair John Strachan @ 2006-03-02 16:57 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-kernel
On Thursday 02 March 2006 16:48, Alistair John Strachan wrote:
> Hi Neil,
>
> I recently purchased two SATA2 Western Digital WD2500KS (250GB) HDs to add
> to a pair of Maxtor DiamondMax 10's (200GB). I planned to initialise two
> 100GB RAID5 arrays spanning all four drives (the remaining 2x50GB on the
> new HDs is currently used for booting).
>
> All the drives are connected to the same controller. I'm running mdadm
> 2.3.1, which is the latest version I believe. I created the array with the
> following command:
>
> mdadm --create /dev/md1 --auto=yes --chunk=64 --level=5
> --raid-devices=4 /dev/sda3 /dev/sdb3 /dev/sdc2 /dev/sdd2
Okay, adding --force after --auto didn't fix it, but when I ran mkfs.xfs
without waiting, the restore speed jumped to 20MB/s. Expected behaviour?
--
Cheers,
Alistair.
'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-02 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-02 16:48 RAID5 initial rebuild slow, 2.6.16-rc4 Alistair John Strachan
2006-03-02 16:57 ` Alistair John Strachan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®