All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3]md/raid5: improve IO pattern
@ 2017-02-17 23:32 Shaohua Li
  2017-02-17 23:32 ` [PATCH 1/3] md/raid5: prioritize stripes for writeback Shaohua Li
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Shaohua Li @ 2017-02-17 23:32 UTC (permalink / raw)
  To: linux-raid; +Cc: neilb, songliubraving, kernel-team

Hi,

These are some patches I'm testing to improve raid5-cache performance. The basic
idea is to flush a lot of stripes to raid disks and then do smart scheduling of
IOs. In my test of a 12-disk raid6 array, this improves around 20% throughput
and request size/disk seek are improved a lot. fio script I'm using are:

[global]
ioengine=libaio
direct=1
loops=1000
runtime=120
time_based=1
file_service_type=random:36
overwrite=1
thread=0
group_reporting=1

[test]
filename=/dev/md0
bs=4k
readwrite=randwrite
numjobs=8
offset_increment=10G

--------------------------------------------
Shaohua Li (3):
  md/raid5: prioritize stripes for writeback
  md/raid5-cache: bump flush stripe batch size
  md/raid5: sort bios

 drivers/md/raid5-cache.c |   2 +-
 drivers/md/raid5.c       | 189 ++++++++++++++++++++++++++++++++++++++---------
 drivers/md/raid5.h       |  13 +++-
 3 files changed, 169 insertions(+), 35 deletions(-)

-- 
2.9.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-07 20:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17 23:32 [PATCH 0/3]md/raid5: improve IO pattern Shaohua Li
2017-02-17 23:32 ` [PATCH 1/3] md/raid5: prioritize stripes for writeback Shaohua Li
2017-02-17 23:32 ` [PATCH 2/3] md/raid5-cache: bump flush stripe batch size Shaohua Li
2017-03-03  3:03   ` NeilBrown
2017-03-03 17:41     ` Shaohua Li
2017-03-06  6:23       ` NeilBrown
2017-03-07 20:50         ` Shaohua Li
2017-02-17 23:32 ` [PATCH 3/3] md/raid5: sort bios Shaohua Li
2017-03-03  3:43   ` NeilBrown
2017-03-03 17:59     ` Shaohua Li
2017-03-06  6:40       ` NeilBrown
2017-03-07 20:23         ` Shaohua Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.