Skip to contentSkip to conversation

RAID 5 performance problems

DISCUSSION Andy Arvai 4 participants 4 messages Apr 3, 2003 MD RAID

lore
Share & tools
lore

Andy Arvai

author
#0 lore raw

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/mdstat gives:

Personalities : [raid0] [raid5]
read_ahead 1024 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>

#1 lore raw
Quoted 4 lines · Andy Arvai

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.

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.

#2 lore raw
In reply to Andy Arvai

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/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/mdstat gives:

Personalities : [raid0] [raid5]
read_ahead 1024 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

#3 lore raw

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/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 18 lines

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/mdstat gives:

Personalities : [raid0] [raid5]
read_ahead 1024 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/