From: Jan Kara <jack@suse.cz>
To: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] block: Reserve only one queue tag for sync IO if only 3 tags are available
Date: Fri, 28 Jun 2013 22:46:31 +0200 [thread overview]
Message-ID: <20130628204631.GB15288@quack.suse.cz> (raw)
In-Reply-To: <20130628193152.GF24293@kernel.dk>
On Fri 28-06-13 21:31:52, Jens Axboe wrote:
> On Fri, Jun 28 2013, Jan Kara wrote:
> > In case a device has three tags available we still reserve two of them
> > for sync IO. That leaves only a single tag for async IO such as
> > writeback from flusher thread which results in poor performance.
> >
> > Allow async IO to consume two tags in case queue has three tag availabe
> > to get a decent async write performance.
> >
> > This patch improves streaming write performance on a machine with such disk
> > from ~21 MB/s to ~52 MB/s. Also postmark throughput in presence of
> > streaming writer improves from 8 to 12 transactions per second so sync
> > IO doesn't seem to be harmed in presence of heavy async writer.
>
> That's pretty crazy! Never seen a device like that. But yes, it
> obviously exists, and the 2 reserved tags doesn't work well for that. So
> it's an improvement.
Yeah, I agree it's a weird hardware. It's a ppc64 machine where storage
identifies as:
scsi2 : IBM 573E Storage Adapter
scsi 2:0:4:0: Direct-Access IBM ST373453LC C51C PQ: 0 ANSI: 3
scsi 2:0:5:0: Direct-Access IBM H0 ST373207LC C70D PQ: 0 ANSI: 4
scsi 2:0:8:0: Direct-Access IBM H0 ST373207LC C70D PQ: 0 ANSI: 4
It took me a while to figure out why this machine observes performance
characteristics noone else sees.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2013-06-28 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 15:08 Jan Kara
2013-06-28 19:31 ` Jens Axboe
2013-06-28 20:46 ` Jan Kara [this message]
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=20130628204631.GB15288@quack.suse.cz \
--to=jack@suse.cz \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
/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®