From: Tejun Heo <htejun@gmail.com>
To: Shaohua Li <shaohua.li@intel.com>
Cc: Jens Axboe <jaxboe@fusionio.com>,
lkml <linux-kernel@vger.kernel.org>,
"Shi, Alex" <alex.shi@intel.com>,
"Chen, Tim C" <tim.c.chen@intel.com>,
"Darrick J. Wong" <djwong@us.ibm.com>
Subject: Re: [RFC]block: add flush request at head
Date: Tue, 26 Apr 2011 13:29:05 +0200 [thread overview]
Message-ID: <20110426112905.GC878@htj.dyndns.org> (raw)
In-Reply-To: <1303778955.3981.285.camel@sli10-conroe>
Hey,
On Tue, Apr 26, 2011 at 08:49:15AM +0800, Shaohua Li wrote:
> On Mon, 2011-04-25 at 16:21 +0800, Tejun Heo wrote:
> > Hello, Shaohua.
> >
> > On Mon, Apr 25, 2011 at 09:01:59AM +0800, Shaohua Li wrote:
> > > this is a regression from 2.6.39-rc2 compared to 2.6.39-rc1, so this
> > > isn't related to the flush rewritten. Workload is sysbench fileio,
> > > please see the first mail at the thread for detail.
> >
> > Understood. Let's talk on the other thread.
>
> This issue isn't related to the optimization patch in another thread.
> And that patch can't recover the regression, which does improve
> throughput even without the regression. So please look at issue again.
IIUC, the regression happened because, before, back-to-back flushes
were basically optimized out by hardware but, after, due to regular
writes thrown into the mix, aren't. If that's the case, I would still
prefer to solve this from issue side instead of completion if possible
(it might not be tho).
Or is the latency introduced for each flush actually making difference
for the specific benchmark? Hmmm... maybe that's the case given that
your patches merging back-to-back flushes doesn't recover the whole
regression.
I don't know. Darrick, can you please chime in? Do you see
regression between front and back queueing of flushes? The original
thread is
http://thread.gmane.org/gmane.linux.kernel/1127779
and the offending commit is 53d63e6b0dfb95882ec0219ba6bbd50cde423794
(block: make the flush insertion use the tail of the dispatch list).
Thanks.
--
tejun
next prev parent reply other threads:[~2011-04-26 11:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 7:36 [RFC]block: add flush request at head Shaohua Li
2011-04-18 8:08 ` Jens Axboe
2011-04-18 8:25 ` Shaohua Li
2011-04-22 22:57 ` Tejun Heo
2011-04-25 1:01 ` Shaohua Li
2011-04-25 8:21 ` Tejun Heo
2011-04-26 0:49 ` Shaohua Li
2011-04-26 11:29 ` Tejun Heo [this message]
2011-04-28 5:13 ` Shaohua Li
2011-04-18 9:26 ` Christoph Hellwig
2011-04-19 1:07 ` 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=20110426112905.GC878@htj.dyndns.org \
--to=htejun@gmail.com \
--cc=alex.shi@intel.com \
--cc=djwong@us.ibm.com \
--cc=jaxboe@fusionio.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shaohua.li@intel.com \
--cc=tim.c.chen@intel.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;
as well as URLs for NNTP newsgroup(s).