From: Pete Wyckoff <pw-pxmRpbKlMIQ@public.gmane.org>
To: FUJITA Tomonori
<fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
Cc: James.Bottomley-JuX6DAaQMKPCXq6kfMZ53/egYHeGw8Jk@public.gmane.org,
stgt-devel-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org,
linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
scst-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
vst-d+Crzxg7Rs0@public.gmane.org
Subject: Re: Performance of SCST versus STGT
Date: Thu, 17 Jan 2008 12:45:42 -0500 [thread overview]
Message-ID: <20080117174542.GC29650@osc.edu> (raw)
In-Reply-To: <20080117190558K.fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org wrote on Thu, 17 Jan 2008 19:05 +0900:
> On Thu, 17 Jan 2008 12:48:28 +0300
> Vladislav Bolkhovitin <vst-d+Crzxg7Rs0@public.gmane.org> wrote:
>
> > FUJITA Tomonori wrote:
> > > On Thu, 17 Jan 2008 10:27:08 +0100
> > > "Bart Van Assche" <bart.vanassche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > >
> > >
> > >>Hello,
> > >>
> > >>I have performed a test to compare the performance of SCST and STGT.
> > >>Apparently the SCST target implementation performed far better than
> > >>the STGT target implementation. This makes me wonder whether this is
> > >>due to the design of SCST or whether STGT's performance can be
> > >>improved to the level of SCST ?
> > >>
> > >>Test performed: read 2 GB of data in blocks of 1 MB from a target (hot
> > >>cache -- no disk reads were performed, all reads were from the cache).
> > >>Test command: time dd if=/dev/sde of=/dev/null bs=1M count=2000
> > >>
> > >> STGT read SCST read
> > >> performance (MB/s) performance (MB/s)
> > >>Ethernet (1 Gb/s network) 77 89
> > >>IPoIB (8 Gb/s network) 82 229
> > >>SRP (8 Gb/s network) N/A 600
> > >>iSER (8 Gb/s network) 80 N/A
> > >>
> > >>These results show that SCST uses the InfiniBand network very well
> > >>(effectivity of about 88% via SRP), but that the current STGT version
> > >>is unable to transfer data faster than 82 MB/s. Does this mean that
> > >>there is a severe bottleneck present in the current STGT
> > >>implementation ?
> > >
> > >
> > > I don't know about the details but Pete said that he can achieve more
> > > than 900MB/s read performance with tgt iSER target using ramdisk.
> > >
> > > http://www.mail-archive.com/stgt-devel-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org/msg00004.html
> >
> > Please don't confuse multithreaded latency insensitive workload with
> > single threaded, hence latency sensitive one.
>
> Seems that he can get good performance with single threaded workload:
>
> http://www.osc.edu/~pw/papers/wyckoff-iser-snapi07-talk.pdf
>
> But I don't know about the details so let's wait for Pete to comment
> on this.
Page 16 is pretty straight forward. One command outstanding from
the client. It is an OSD read command. Data on tmpfs. 500 MB/s is
pretty easy to get on IB.
The other graph on page 23 is for block commands. 600 MB/s ish.
Still single command; so essentially a "latency" test. Dominated by
the memcpy time from tmpfs to pinned IB buffer, as per page 24.
Erez said:
> We didn't run any real performance test with tgt, so I don't have
> numbers yet. I know that Pete got ~900 MB/sec by hacking sgp_dd, so all
> data was read/written to the same block (so it was all done in the
> cache). Pete - am I right?
Yes (actually just 1 thread in sg_dd). This is obviously cheating.
Take the pread time to zero in SCSI Read analysis on page 24 to show
max theoretical. It's IB theoretical minus some initiator and stgt
overheads.
The other way to get more read throughput is to throw multiple
simultaneous commands at the server.
There's nothing particularly stunning here. Suspect Bart has
configuration issues if not even IPoIB will do > 100 MB/s.
-- Pete
next prev parent reply other threads:[~2008-01-17 17:45 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 9:27 Performance of SCST versus STGT Bart Van Assche
2008-01-17 9:40 ` FUJITA Tomonori
2008-01-17 9:48 ` Vladislav Bolkhovitin
2008-01-17 10:05 ` FUJITA Tomonori
2008-01-17 14:22 ` Erez Zilber
[not found] ` <478F64A0.6020201-hKgKHo2Ms0F+cjeuK/JdrQ@public.gmane.org>
2008-01-17 14:32 ` Vladislav Bolkhovitin
[not found] ` <478F6708.30604-d+Crzxg7Rs0@public.gmane.org>
2008-01-17 14:46 ` Erez Zilber
[not found] ` <20080117190558K.fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2008-01-17 10:34 ` Vladislav Bolkhovitin
[not found] ` <478F2F46.9040103-d+Crzxg7Rs0@public.gmane.org>
2008-01-17 12:29 ` Robin Humble
2008-01-17 13:44 ` [Scst-devel] [Stgt-devel] " Vladislav Bolkhovitin
[not found] ` <20080117122956.GA3567-Td5ZOp7sT3Xw02mFwxTg32+DJq1SqhBbsOSz5zK2v9k@public.gmane.org>
2008-01-17 14:43 ` Bart Van Assche
2008-01-17 17:45 ` Pete Wyckoff [this message]
[not found] ` <20080117174542.GC29650-pxmRpbKlMIQ@public.gmane.org>
2008-01-18 10:30 ` Bart Van Assche
2008-01-18 12:08 ` Vladislav Bolkhovitin
2008-01-20 9:36 ` Bart Van Assche
[not found] ` <e2e108260801200136g7f17b8a0g89a54cc1d73bbc34-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-01-21 12:07 ` Vladislav Bolkhovitin
2008-01-22 3:26 ` FUJITA Tomonori
[not found] ` <20080122122657R.fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2008-01-22 7:50 ` Bart Van Assche
2008-01-22 11:33 ` Vladislav Bolkhovitin
[not found] ` <4795D479.1080805-d+Crzxg7Rs0@public.gmane.org>
2008-01-22 11:48 ` FUJITA Tomonori
2008-01-22 12:20 ` Vladislav Bolkhovitin
2008-01-22 15:14 ` Bart Van Assche
2008-01-22 10:04 ` Bart Van Assche
2008-01-22 11:33 ` Vladislav Bolkhovitin
[not found] ` <4795D4A7.5000105-d+Crzxg7Rs0@public.gmane.org>
2008-01-22 12:32 ` Bart Van Assche
[not found] ` <e2e108260801220432l353b1d76xd2707b5e6f336aef-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-01-22 15:23 ` Vladislav Bolkhovitin
2008-01-24 7:06 ` Robin Humble
2008-01-24 10:36 ` [Stgt-devel] " Bart Van Assche
2008-01-24 11:10 ` Vladislav Bolkhovitin
[not found] ` <4798720E.4020802-d+Crzxg7Rs0@public.gmane.org>
2008-01-24 11:40 ` Robin Humble
[not found] ` <20080124114027.GC26751-Td5ZOp7sT3Xw02mFwxTg32+DJq1SqhBbsOSz5zK2v9k@public.gmane.org>
2008-01-24 12:41 ` Vladislav Bolkhovitin
[not found] ` <e2e108260801240236o2273be0bw24a2a61dcc781222-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-01-24 11:32 ` Robin Humble
[not found] ` <20080124113215.GB26751-Td5ZOp7sT3Xw02mFwxTg32+DJq1SqhBbsOSz5zK2v9k@public.gmane.org>
2008-01-24 12:40 ` Vladislav Bolkhovitin
2008-01-24 16:16 ` [Stgt-devel] " Bart Van Assche
2008-01-24 19:54 ` Vladislav Bolkhovitin
2008-01-25 7:24 ` Bart Van Assche
2008-01-22 12:33 ` 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=20080117174542.GC29650@osc.edu \
--to=pw-pxmrpbklmiq@public.gmane.org \
--cc=James.Bottomley-JuX6DAaQMKPCXq6kfMZ53/egYHeGw8Jk@public.gmane.org \
--cc=fujita.tomonori-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=scst-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=stgt-devel-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org \
--cc=vst-d+Crzxg7Rs0@public.gmane.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;
as well as URLs for NNTP newsgroup(s).