Skip to contentSkip to conversation

multi-threaded raid5

DISCUSSION stkoupr 3 participants 3 messages Mar 31, 2015 – Apr 7, 2015 MD RAID

lore
Share & tools
lore

stkoupr

author
#0 lore raw

Hi,

We are testing write performance of md raid5 with SSD array and we are hitting limit which I understand is caused by writes being handled in single thread (md0_raid5 process is eating 100% of 1 CPU core when the test is running). I understood that there is some work in progress which should make write handling multi-threaded. I'd like to ask about the status of this work, is it still in progress or planned?

Regards,
Prema

#1 lore raw
Quoted 9 lines · On Tue, 31 Mar 2015 19:17:34 +0200 stkoupr <[email protected]> wrote:

Hi,

We are testing write performance of md raid5 with SSD array and we are hitting limit which I understand is caused by writes being handled in single thread (md0_raid5 process is eating 100% of 1 CPU core when the test is running). I understood that there is some work in progress which should make write handling multi-threaded. I'd like to ask about the status of this work, is it still in progress or planned?

Quoted 6 lines

Regards,
Prema
--
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

See /sys/block/mdXXX/md/group_thread_cnt

Set it to a bigger number, get more threads.

Requires 3.12 or later.

NeilBrown

#2 lore raw
Quoted 17 lines · NeilBrown
Quoted 9 lines · On Tue, 31 Mar 2015 19:17:34 +0200 stkoupr <[email protected]> wrote:

Hi,

We are testing write performance of md raid5 with SSD array and we are hitting limit which I understand is caused by writes being handled in single thread (md0_raid5 process is eating 100% of 1 CPU core when the test is running). I understood that there is some work in progress which should make write handling multi-threaded. I'd like to ask about the status of this work, is it still in progress or planned?

Quoted 6 lines

Regards,
Prema
--
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

Quoted 5 lines

See /sys/block/mdXXX/md/group_thread_cnt

Set it to a bigger number, get more threads.

Requires 3.12 or later.

What does it mean when that property is set to 0?

Quoted 1 line

NeilBrown

Signature · 2 lines
Thomas Fjellstrom
[email protected]