Skip to content

74% decrease in dispatched writes, stripe-queue take3

Dan Williams linux-raid lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2raid5: add the stripe_queue object for tracking raid io requests (take2)drivers/md/raid5.c include/linux/raid/raid5.h+317 -1870 replies
2/2raid5: use stripe_queues to prioritize the "most deserving" requests (take3)drivers/md/raid5.c include/linux/raid/raid5.h+907 -2770 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [-mm PATCH 0/2] 74% decrease in dispatched writes, stripe-queue take3

Neil, Andrew,

The following patches replace the stripe-queue patches currently in -mm. Following your suggestion, Neil, I gathered blktrace data on the number of reads generated by sequential write stimulus. It turns out that reduced pre-reading is not the cause of the performance increase, but rather increased write merging. The data, in patch #1, shows a 74% decrease in the number of dispatched writes. I can only assume that this is the explanation for the 65% throughput improvement, because the occurrence of reads actually increased with these patches applied.

This take also fixes observed data corruption while running i/o to a synching array (it was wrong to move the flags parameter from r5dev to r5_queue_dev as things could get out of sync... reverted). Next step is to test reshape under this new queuing model.

Regards,
Dan