All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaohua Li <shli@fb.com>
To: linux-raid@vger.kernel.org
Cc: neilb@suse.com, songliubraving@fb.com, kernel-team@fb.com
Subject: [PATCH 0/3]md/raid5: improve IO pattern
Date: Fri, 17 Feb 2017 15:32:23 -0800	[thread overview]
Message-ID: <cover.1487373517.git.shli@fb.com> (raw)

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


             reply	other threads:[~2017-02-17 23:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 23:32 Shaohua Li [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1487373517.git.shli@fb.com \
    --to=shli@fb.com \
    --cc=kernel-team@fb.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.com \
    --cc=songliubraving@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.