From: Sridhar Samudrala <sri-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"kashyapv-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org"
<kashyapv-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>,
"pradeeps-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org"
<pradeeps-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Subject: Re: rsockets and standard socket based TCP benchmarks
Date: Wed, 23 May 2012 22:02:44 -0700 [thread overview]
Message-ID: <4FBDC0F4.9020801@us.ibm.com> (raw)
In-Reply-To: <1828884A29C6694DAF28B7E6B8A8237346A23C38-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
On 5/23/2012 4:16 PM, Hefty, Sean wrote:
>> - netserver has a -f option to disable forking a child and handle 1
>> netperf client at a time
>> Using this option, data transfer completed successfully, but the
>> client blocked on recv()
>> even after the connection is closed on the other side. Here is the
>> stack trace.
>>
>> #0 0x000000805caa77e4 in __read_nocancel () from /lib64/libc.so.6
>> #1 0x00000fffa4543d48 in .read () from
>> /home/sridhar/librdmacm/src/preload.so
>> #2 0x000000805ccfe68c in .ibv_get_cq_event () from
>> /usr/lib64/libibverbs.so.1
>> #3 0x00000fffa456a534 in rs_get_cq_event (rs=0x100203105f0)
>> at src/rsocket.c:825
>> #4 0x00000fffa456bb48 in rs_process_cq (rs=0x100203105f0,
>> nonblock=<value optimized out>,
>> test=@0xfffa457e7d8: 0xfffa45697b0<rs_have_rdata>) at
>> src/rsocket.c:894
>> #5 0x00000fffa456d4e0 in rrecv (socket=<value optimized out>,
>> buf=0xffff97e15f8, len=1, flags=<value optimized out>)
>> at src/rsocket.c:1007
>> #6 0x00000fffa4543a08 in .recv () from
>> /home/sridhar/librdmacm/src/preload.so
>> #7 0x00000000100497f4 in .disconnect_data_socket ()
>> #8 0x000000001004c528 in .send_omni_inner ()
>> #9 0x00000000100502e0 in .send_tcp_stream ()
>> #10 0x00000000100028a4 in .main ()
> Thanks - I'll look into this. Do you know offhand if the server calls shutdown/close?
looks like the server is doing a shutdown().
but i have seen the same issue even with a simple tcp client/server test
that does a close().
>
> I do know that abrupt shutdown is an area that needs work, along with real support for KEEPALIVE.
>
>> iperf
>> - Successfully got iperf working using rsockets via preload library.
>> With default 128K message sizes, on P6 systems with Mellanox ConnectX
>> cards, here are
>> some test results for comparision.
>> IPoIB : 1.5Gb/s
>> IPoIB Connected Mode: 5.5Gb/s
>> rsockets using RDMA : 8.9Gb/s
>> ib_write_bw(native RDMA using ibverbs): 12Gb/s
> Note that I've recently added additional controls to rsockets to adjust the size of the QP and inline data. I haven't posted these patches yet (still testing), but I've been able to use them to increase bandwidth that I see on my systems from 24 Gbps to 26 Gbps. I'll add both netperf and iperf to my list of apps to test. From the above trace, it looks like netperf uses blocking calls. I'm not sure about iperf, but the use of blocking calls impacts rsocket performance considerably. I'm actively working on trying to reduce that impact. rstream uses nonblocking calls and should be able to come close to ib_write_bw() performance.
Even iperf seems to be doing blocking calls.
Thanks
Sridhar
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-05-24 5:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 22:49 rsockets and standard socket based TCP benchmarks Sridhar Samudrala
[not found] ` <4FBD6981.2070502-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2012-05-23 23:16 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A23C38-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-05-24 5:02 ` Sridhar Samudrala [this message]
2012-06-09 0:48 ` Vivek Kashyap
[not found] ` <alpine.LRH.2.00.1206081745150.3988-Nzfcc2Us4m+Xfo/+vza+31aTQe2KTcn/@public.gmane.org>
2012-06-09 1:27 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A2FA25-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-06-11 21:02 ` Vivek Kashyap
[not found] ` <alpine.LRH.2.00.1206111220550.4907-Nzfcc2Us4m+Xfo/+vza+31aTQe2KTcn/@public.gmane.org>
2012-06-11 21:21 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A2FE06-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-06-14 6:06 ` Vivek Kashyap
[not found] ` <alpine.LRH.2.00.1206132110190.13728-Nzfcc2Us4m+Xfo/+vza+31aTQe2KTcn/@public.gmane.org>
2012-06-14 16:20 ` Hefty, Sean
2012-07-16 4:46 ` Vivek Kashyap
[not found] ` <alpine.LRH.2.00.1207131640350.3944-Nzfcc2Us4m+Xfo/+vza+31aTQe2KTcn/@public.gmane.org>
2012-07-16 15:07 ` Hefty, Sean
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=4FBDC0F4.9020801@us.ibm.com \
--to=sri-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=kashyapv-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pradeeps-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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