RAID 5 performance problems
Shouldn't /proc/mdstat have [UUUUU] instead of [_UUUU]? Perhaps this is running in degraded mode. Also, you have 'algorithm 0', whereas my raid5 has 'algorithm 2', which is the left-symmetric parity algorithm.
Andy
Quoted 7 lines
cat
/proc/mdstatgives:Personalities : [raid0] [raid5]
read_ahead1024 sectors
md0 : active raid5 hdk1[4] hdi1[3] hdg1[2] hde1[1] hdc1[0]468872704 blocks level 5, 128k chunk, algorithm 0 [5/5] [_UUUU]unused devices: <none>
Quoted 4 lines · Andy Arvai
Shouldn't
/proc/mdstathave [UUUUU] instead of [_UUUU]? Perhaps this is running in degraded mode. Also, you have 'algorithm 0', whereas my raid5 has 'algorithm 2', which is the left-symmetric parity algorithm.
he's running it in degraded mode intentionally, the setup is so broken that the performance loss is masked by the rest of the system.
you're right, it should be. When I was writing the original mail I had it running in degraded mode so I edited the values that /proc/mdstat gave me to match the array in normal mode. I forgot to make [_UUUU] [UUUUU]. I'm currently rebuilding the array but it's taking some time...
md0 : active raid5 hdc1[5] hdk1[4] hdi1[3] hdg1[2] hde1[1]
468872704 blocks level 5, 128k chunk, algorithm 0 [5/4] [_UUUU]
[================>....] recovery = 83.1% (97429504/117218176)finish=65.5min speed=5034K/sec
----- Original Message -----
From: "Andy Arvai" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Thursday, April 03, 2003 9:49 PM
Subject: Re: RAID 5 performance problems
Quoted 23 lines
Shouldn't
/proc/mdstathave [UUUUU] instead of [_UUUU]? Perhaps this is running in degraded mode. Also, you have 'algorithm 0', whereas my raid5 has 'algorithm 2', which is the left-symmetric parity algorithm.Andy
Quoted 7 lines
cat
/proc/mdstatgives:Personalities : [raid0] [raid5]
read_ahead1024 sectors
md0 : active raid5 hdk1[4] hdi1[3] hdg1[2] hde1[1] hdc1[0] 468872704 blocks level 5, 128k chunk, algorithm 0 [5/5] [_UUUU] unused devices: <none>-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
That looks like a slow build!
Mine is about 15 - 20M/sec.
Another observation I saw, I raided the raw devices instead of the partitions; meaning my array is build from hde, hdg, hdi and hdk as opposed to hde1, hdg1, hdi1 and hdk1.
Quoted 47 lines · Jonathan Vardy
you're right, it should be. When I was writing the original mail I had it running in degraded mode so I edited the values that
/proc/mdstatgave me to match the array in normal mode. I forgot to make [_UUUU] [UUUUU]. I'm currently rebuilding the array but it's taking some time...md0 : active raid5 hdc1[5] hdk1[4] hdi1[3] hdg1[2] hde1[1]
468872704 blocks level 5, 128k chunk, algorithm 0 [5/4] [_UUUU] [================>....] recovery = 83.1% (97429504/117218176)finish=65.5min speed=5034K/sec
----- Original Message -----
From: "Andy Arvai" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Thursday, April 03, 2003 9:49 PM
Subject: Re: RAID 5 performance problemsQuoted 18 lines
Shouldn't
/proc/mdstathave [UUUUU] instead of [_UUUU]? Perhaps this is running in degraded mode. Also, you have 'algorithm 0', whereas my raid5 has 'algorithm 2', which is the left-symmetric parity algorithm.Andy
Quoted 7 lines
cat
/proc/mdstatgives:Personalities : [raid0] [raid5]
read_ahead1024 sectors
md0 : active raid5 hdk1[4] hdi1[3] hdg1[2] hde1[1] hdc1[0] 468872704 blocks level 5, 128k chunk, algorithm 0 [5/5] [_UUUU] unused devices: <none>Quoted 5 lines
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/