From: Coly Li <colyli@suse.de>
To: Sagi Grimberg <sagi@grimberg.me>
Cc: lsf-pc@lists.linux-foundation.org, linux-block@vger.kernel.org,
songliubraving@fb.com, pawel.baldysiak@intel.com,
linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org,
NeilBrown <neilb@suse.com>,
"open list:SOFTWARE RAID (Multiple Disks) SUPPORT"
<linux-raid@vger.kernel.org>,
artur.paszkiewicz@intel.com, Hannes Reinecke <hare@suse.de>,
Guoqing Jiang <gqjiang@suse.com>,
Jes.Sorensen@redhat.com, mariusz.dabrowski@intel.com,
Shaohua Li <shli@kernel.org>
Subject: Re: [Lsf-pc] [LSF/MM TOPIC] [LSF/MM ATTEND] md raid general discussion
Date: Fri, 13 Jan 2017 12:00:12 +0800 [thread overview]
Message-ID: <0e2dc23a-bee9-6c7b-0903-a2edc05f75e6@suse.de> (raw)
In-Reply-To: <17625a3f-5598-d83d-44a1-316ccc917ad5@grimberg.me>
On 2017/1/12 下午11:09, Sagi Grimberg wrote:
> Hey Coly,
>
>> Also I receive reports from users that raid1 performance is desired when
>> it is built on NVMe SSDs as a cache (maybe bcache or dm-cache). I am
>> working on some raid1 performance improvement (e.g. new raid1 I/O
>> barrier and lockless raid1 I/O submit), and have some more ideas to
>> discuss.
>
> Do you have some performance measurements to share?
>
> Mike used null devices to simulate very fast devices which
> led to nice performance enhancements in dm-multipath code.
I have several performance data of raid1 and raid0, which is still work
in progress.
- md raid1
Current md raid1 read performance is not ideal. A raid1 with 2 NVMe
SSD, only observe 2.6GB/s throughput for multi I/O and depth reading.
Most of the time spending on I/O barrier locking. Now I am working on a
lockless I/O submit patch (the original idea is from Hannes Reinecke),
which improves reading throughput to 4.7~5GB/s. When using md raid1 as a
cache device, reading performance improvement is critical.
On my hardware, the ideal reading throughput of 2 NVMe is 6GB/s,
currently the reading performance number is 4.7~5GB/s, still have a
little some space to improve.
- md raid0
People reports on linux-raid mailing list that DISCARD/TRIM
performance on raid0 is slow. In my reproducing, a raid0 built by 4x3TB
NVMe SSD, formatting a XFS volume on top of it takes 306 seconds. Most
of the time is inside md raid0 code to issue DISCARD/TRIM request in
chunk size range. I compose a POC patch to re-combine a large
DISCARD/TRIM command into per-device request, which reduces the
formatting time to 15 seconds. Now I work on patch simplifying by the
suggestions from upstream maintainers.
For raid1, currently most of feed backs are from read performance.
Coly
next prev parent reply other threads:[~2017-01-13 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 16:38 Coly Li
2017-01-12 15:09 ` [Lsf-pc] " Sagi Grimberg
2017-01-13 4:00 ` Coly Li [this message]
2017-01-16 3:33 ` Guoqing Jiang
2017-01-16 5:40 ` [Lsf-pc] " James Bottomley
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=0e2dc23a-bee9-6c7b-0903-a2edc05f75e6@suse.de \
--to=colyli@suse.de \
--cc=Jes.Sorensen@redhat.com \
--cc=artur.paszkiewicz@intel.com \
--cc=gqjiang@suse.com \
--cc=hare@suse.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-raid@vger.kernel.org \
--cc=lsf-pc@lists.linux-foundation.org \
--cc=mariusz.dabrowski@intel.com \
--cc=neilb@suse.com \
--cc=pawel.baldysiak@intel.com \
--cc=sagi@grimberg.me \
--cc=shli@kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®