From: Nagilum <nagilum@nagilum.org>
To: majianpeng <majianpeng@gmail.com>
Cc: Neil Brown <neilb@suse.de>, linux-raid <linux-raid@vger.kernel.org>
Subject: Re: [PATCH] md:Add blk_plug in sync_thread.
Date: Mon, 11 Jun 2012 12:30:14 +0200 [thread overview]
Message-ID: <4FD5C8B6.1050009@nagilum.org> (raw)
In-Reply-To: <201206111811008288882@gmail.com>
On 06/11/2012 12:11 PM, majianpeng wrote:
> On Mon, 11 Jun 2012 02:32:57 najilum wrote:
>> On 06/11/2012 11:16 AM, majianpeng wrote:
>>> Add blk_plug in sync_thread will increase the performance of sync.
>>> Because sync_thread did not blk_plug,so when raid sync, the bio merge
>>> not well.
>>>
>>> Testing environment:
>>> SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI
>>> Controller.
>>> OS:Linux xxx 3.5.0-rc2+ #340 SMP Tue Jun 12 09:00:25 CST 2012
>>> x86_64 x86_64 x86_64 GNU/Linux.
>>> RAID5: four ST31000524NS disk.
>>>
>>> Without blk_plug:recovery speed about 63M/Sec;
>>> Add blk_plug:recovery speed about 120M/Sec.
>> Whahoo!! :)
> What's mean ?
Almost doubled the performance with one simple change, that's great! :)
next prev parent reply other threads:[~2012-06-11 10:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-11 9:16 [PATCH] md:Add blk_plug in sync_thread majianpeng
2012-06-11 9:32 ` Nagilum
2012-06-11 10:11 ` majianpeng
2012-06-11 10:30 ` Nagilum [this message]
2012-06-27 2:30 ` NeilBrown
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=4FD5C8B6.1050009@nagilum.org \
--to=nagilum@nagilum.org \
--cc=linux-raid@vger.kernel.org \
--cc=majianpeng@gmail.com \
--cc=neilb@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).