From: Jens Axboe <jens.axboe@oracle.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
Eric.Moore@lsi.com
Subject: Re: [PATCH 1/3] block: add blk-iopoll, a NAPI like approach for block devices
Date: Fri, 7 Aug 2009 13:31:47 +0200 [thread overview]
Message-ID: <20090807113146.GX12579@kernel.dk> (raw)
In-Reply-To: <20090807110517.GW12579@kernel.dk>
On Fri, Aug 07 2009, Jens Axboe wrote:
> On Fri, Aug 07 2009, Jens Axboe wrote:
> > > I'm not NAK'ing... just inserting some relevant NAPI field experience,
> > > and hoping for some numbers that better measure the costs/benefits.
> >
> > Appreciate you looking over this, and I'll certainly be posting some
> > more numbers on this. It'll largely depend on both storage, controller,
> > and worload.
>
> Here's a quick set of numbers, beating with random reads on a drive.
> Average of three runs for each, stddev is very low so confidence in the
> numbers should be high.
>
> With iopoll=0 (disabled), stock:
>
> blocksize IOPS ints/sec usr sys
> ------------------------------------------------------
> 4k 48401 ~30500 3.36% 27.26%
>
> clat (usec): min=1052, max=21615, avg=10541.48, stdev=243.48
> clat (usec): min=1066, max=22040, avg=10543.69, stdev=242.05
> clat (usec): min=1057, max=23237, avg=10529.04, stdev=239.30
>
>
> With iopoll=1
>
> blocksize IOPS ints/sec usr sys
> ------------------------------------------------------
> 4k 48452 ~29000 3.37% 26.47%
>
>
> clat (usec): min=1178, max=21662, avg=10542.72, stdev=247.87
> clat (usec): min=1074, max=21783, avg=10534.14, stdev=240.54
> clat (usec): min=1102, max=22123, avg=10509.42, stdev=225.73
Lets raise the bar a bit, this time using 8k reads on the faster box.
iopoll=0
blocksize IOPS ints/sec usr sys
------------------------------------------------------
8k 64050 ~76000 4.12% 45.01%
clat (usec): min=1326, max=18994, avg=7967.54, stdev=214.12
clat (usec): min=1325, max=25404, avg=7968.06, stdev=239.87
clat (usec): min=1273, max=21414, avg=7963.43, stdev=231.27
iopoll=1
blocksize IOPS ints/sec usr sys
------------------------------------------------------
8k 64162 ~55000 4.07% 42.32%
clat (usec): min=1380, max=19681, avg=7960.31, stdev=197.41
clat (usec): min=1370, max=37508, avg=7954.61, stdev=210.35
clat (usec): min=1332, max=23383, avg=7947.99, stdev=209.60
Again, purely a synthetic IO benchmark, but the sys reduction is
interesting.
--
Jens Axboe
next prev parent reply other threads:[~2009-08-07 11:31 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 19:58 [PATCH 0/3]: blk-iopoll, a polled completion API for block devices Jens Axboe
2009-08-06 19:58 ` [PATCH 1/3] block: add blk-iopoll, a NAPI like approach " Jens Axboe
2009-08-06 21:32 ` Alan Cox
2009-08-06 21:32 ` Alan Cox
2009-08-07 6:37 ` Jens Axboe
2009-08-07 8:38 ` Jeff Garzik
2009-08-07 8:50 ` Jens Axboe
2009-08-07 11:05 ` Jens Axboe
2009-08-07 11:31 ` Jens Axboe [this message]
2009-08-19 19:08 ` Jens Axboe
2009-08-20 11:30 ` [PATCH 1/3] block: add blk-iopoll, a NAPI like approach forblock devices jack wang
2009-08-20 11:30 ` jack wang
2009-08-20 11:38 ` Jens Axboe
2009-08-06 19:58 ` [PATCH 2/3] libata: add support for blk-iopoll Jens Axboe
2009-08-10 17:15 ` Jonathan Corbet
2009-08-10 17:15 ` Jonathan Corbet
2009-08-10 17:22 ` Jens Axboe
2009-08-06 19:58 ` [PATCH 3/3] mptfusion: " Jens Axboe
2009-08-11 10:35 ` [PATCH 0/3]: blk-iopoll, a polled completion API for block devices Bart Van Assche
2009-08-11 10:35 ` Bart Van Assche
2009-08-11 14:39 ` Jens Axboe
2009-08-11 14:59 ` Bart Van Assche
2009-08-11 14:59 ` Bart Van Assche
2009-08-11 17:14 ` Jens Axboe
2009-08-11 18:37 ` Bart Van Assche
2009-08-11 18:37 ` Bart Van Assche
2009-08-11 18:41 ` Jens Axboe
2009-08-11 18:49 ` Bart Van Assche
2009-08-11 18:49 ` Bart Van Assche
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=20090807113146.GX12579@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=Eric.Moore@lsi.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jeff@garzik.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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 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.