From: Hitoshi Mitake <mitake.hitoshi@gmail.com>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: mitake.hitoshi@gmail.com, stgt@vger.kernel.org,
mitake.hitoshi@lab.ntt.co.jp
Subject: Re: [PATCH RFC v2] tgtd: send/recv iSCSI PDUs in worker threads
Date: Mon, 18 Nov 2013 00:46:42 +0900 [thread overview]
Message-ID: <87vbzr81zx.wl%mitake.hitoshi@gmail.com> (raw)
In-Reply-To: <20131117.225058.1568838937885772695.fujita.tomonori@lab.ntt.co.jp>
At Sun, 17 Nov 2013 22:50:58 +0900 (JST),
FUJITA Tomonori wrote:
>
> On Sun, 10 Nov 2013 17:49:07 +0900
> Hitoshi Mitake <mitake.hitoshi@gmail.com> wrote:
>
> > From: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
> >
> > Current tgtd sends and receives iSCSI PDUs in its main event
> > loop. This design can cause bottleneck when many iSCSI clients connect
> > to single tgtd process. For example, we need multiple tgtd processes
> > for utilizing fast network like 10 GbE because typical single
> > processor core isn't fast enough for processing bunch of requests.
> >
> > This patch lets tgtd send/receive iSCSI PDUs and check digests in its
> > worker threads. After applying this patch, the bottleneck in the main
> > event loop is removed and the performance is improved.
> >
> > The improvement can be seen even if tgtd and iSCSI initiator are
> > running on a single host. Below is a snippet of fio result on my
> > laptop. The workload is 128MB random RW. Backingstore is sheepdog.
> >
> > Original tgtd:
> > read : io=65392KB, bw=4445.2KB/s, iops=1111, runt= 14711msec
> > write: io=65680KB, bw=4464.8KB/s, iops=1116, runt= 14711msec
> >
> > tgtd with this patch:
> > read : io=65392KB, bw=5098.9KB/s, iops=1274, runt= 12825msec
> > write: io=65680KB, bw=5121.3KB/s, iops=1280, runt= 12825msec
>
> Can you check how this scales with tcp connections on a
> reasonably-high-performance server?
Sure. I'd like to evaluate and post a result in the near future.
Thanks,
Hitoshi
next prev parent reply other threads:[~2013-11-17 15:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-10 8:49 [PATCH RFC v2] tgtd: send/recv iSCSI PDUs in worker threads Hitoshi Mitake
2013-11-12 7:35 ` Hitoshi Mitake
2013-11-17 13:50 ` FUJITA Tomonori
2013-11-17 15:46 ` Hitoshi Mitake [this message]
2013-11-22 0:29 ` FUJITA Tomonori
2013-11-24 14:06 ` Hitoshi Mitake
2013-11-24 14:09 ` Hitoshi Mitake
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=87vbzr81zx.wl%mitake.hitoshi@gmail.com \
--to=mitake.hitoshi@gmail.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=mitake.hitoshi@lab.ntt.co.jp \
--cc=stgt@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