]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
12 years agorefresh
Sean Hefty [Mon, 11 Jun 2012 21:03:23 +0000 (14:03 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 11 Jun 2012 21:03:23 +0000 (14:03 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 11 Jun 2012 21:03:23 +0000 (14:03 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 11 Jun 2012 21:03:23 +0000 (14:03 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-man
Sean Hefty [Mon, 11 Jun 2012 21:03:23 +0000 (14:03 -0700)]
Refresh of rs-man

12 years agorsocket: Add rsocket man page
Sean Hefty [Mon, 11 Jun 2012 20:20:18 +0000 (13:20 -0700)]
rsocket: Add rsocket man page

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Mon, 11 Jun 2012 20:20:18 +0000 (13:20 -0700)]
new

12 years agonew
Sean Hefty [Mon, 11 Jun 2012 20:20:18 +0000 (13:20 -0700)]
new

12 years agorsocket: Add rsocket man page
Sean Hefty [Mon, 11 Jun 2012 20:20:18 +0000 (13:20 -0700)]
rsocket: Add rsocket man page

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:37:43 +0000 (17:37 -0700)]
pop

12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:37:43 +0000 (17:37 -0700)]
pop

12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:33:42 +0000 (17:33 -0700)]
pop

12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:33:42 +0000 (17:33 -0700)]
pop

12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:32:21 +0000 (17:32 -0700)]
pop

12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:32:21 +0000 (17:32 -0700)]
pop

12 years agorefresh
Sean Hefty [Sat, 9 Jun 2012 00:29:15 +0000 (17:29 -0700)]
refresh

12 years agorefresh
Sean Hefty [Sat, 9 Jun 2012 00:29:15 +0000 (17:29 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 9 Jun 2012 00:29:15 +0000 (17:29 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 9 Jun 2012 00:29:15 +0000 (17:29 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-1sge
Sean Hefty [Sat, 9 Jun 2012 00:29:15 +0000 (17:29 -0700)]
Refresh of rs-1sge

12 years agorefresh
Sean Hefty [Sat, 9 Jun 2012 00:28:03 +0000 (17:28 -0700)]
refresh

12 years agorefresh
Sean Hefty [Sat, 9 Jun 2012 00:28:03 +0000 (17:28 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 9 Jun 2012 00:28:03 +0000 (17:28 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 9 Jun 2012 00:28:03 +0000 (17:28 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-1sge
Sean Hefty [Sat, 9 Jun 2012 00:28:03 +0000 (17:28 -0700)]
Refresh of rs-1sge

12 years agorefresh
Sean Hefty [Sat, 9 Jun 2012 00:11:57 +0000 (17:11 -0700)]
refresh

12 years agorefresh
Sean Hefty [Sat, 9 Jun 2012 00:11:57 +0000 (17:11 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 9 Jun 2012 00:11:57 +0000 (17:11 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 9 Jun 2012 00:11:57 +0000 (17:11 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-1sge
Sean Hefty [Sat, 9 Jun 2012 00:11:57 +0000 (17:11 -0700)]
Refresh of rs-1sge

12 years agorsocket: Reduce SQ from 2 SGE per WR to 1 SGE
Sean Hefty [Thu, 24 May 2012 21:36:41 +0000 (14:36 -0700)]
rsocket: Reduce SQ from 2 SGE per WR to 1 SGE

We currently request 2 SGEs per WR when allocating a QP.  The
second SGE is only used when sending data at the end of
the circular send buffer and the start.  All other sends are
restricted to a single SGE.

Reduce the size of the SQ by only requesting 1 SGE per WR.  The
resulting performance is basically unaffected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Reduce SQ from 2 SGE per WR to 1 SGE
Sean Hefty [Thu, 24 May 2012 21:36:41 +0000 (14:36 -0700)]
rsocket: Reduce SQ from 2 SGE per WR to 1 SGE

We currently request 2 SGEs per WR when allocating a QP.  The
second SGE is only used when sending data at the end of
the circular send buffer and the start.  All other sends are
restricted to a single SGE.

Reduce the size of the SQ by only requesting 1 SGE per WR.  The
resulting performance is basically unaffected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Reduce SQ from 2 SGE per WR to 1 SGE
Sean Hefty [Thu, 24 May 2012 21:36:41 +0000 (14:36 -0700)]
rsocket: Reduce SQ from 2 SGE per WR to 1 SGE

We currently request 2 SGEs per WR when allocating a QP.  The
second SGE is only used when sending data at the end of
the circular send buffer and the start.  All other sends are
restricted to a single SGE.

Reduce the size of the SQ by only requesting 1 SGE per WR.  The
resulting performance is basically unaffected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop (CONFLICT)
Sean Hefty [Sat, 9 Jun 2012 00:09:51 +0000 (17:09 -0700)]
pop (CONFLICT)

12 years agopop (CONFLICT)
Sean Hefty [Sat, 9 Jun 2012 00:09:51 +0000 (17:09 -0700)]
pop (CONFLICT)

12 years agorsocket: Reduce SQ from 2 SGE per WR to 1 SGE
Sean Hefty [Thu, 24 May 2012 21:36:41 +0000 (14:36 -0700)]
rsocket: Reduce SQ from 2 SGE per WR to 1 SGE

We currently request 2 SGEs per WR when allocating a QP.  The
second SGE is only used when sending data at the end of
the circular send buffer and the start.  All other sends are
restricted to a single SGE.

Reduce the size of the SQ by only requesting 1 SGE per WR.  The
resulting performance is basically unaffected.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:09:51 +0000 (17:09 -0700)]
pop

12 years agopop
Sean Hefty [Sat, 9 Jun 2012 00:09:51 +0000 (17:09 -0700)]
pop

12 years agocommit
Sean Hefty [Fri, 8 Jun 2012 21:45:49 +0000 (14:45 -0700)]
commit

12 years agocommit
Sean Hefty [Fri, 8 Jun 2012 21:45:49 +0000 (14:45 -0700)]
commit

12 years agocommit
Sean Hefty [Fri, 8 Jun 2012 21:45:49 +0000 (14:45 -0700)]
commit

12 years agocommit
Sean Hefty [Fri, 8 Jun 2012 21:45:49 +0000 (14:45 -0700)]
commit

12 years agocommit
Sean Hefty [Fri, 8 Jun 2012 21:45:46 +0000 (14:45 -0700)]
commit

12 years agocommit
Sean Hefty [Fri, 8 Jun 2012 21:45:46 +0000 (14:45 -0700)]
commit

12 years agodelete
Sean Hefty [Fri, 8 Jun 2012 21:45:38 +0000 (14:45 -0700)]
delete

12 years agodelete
Sean Hefty [Fri, 8 Jun 2012 21:45:38 +0000 (14:45 -0700)]
delete

12 years agorsocket: Use configuration files to specify default settings
Sean Hefty [Tue, 5 Jun 2012 22:28:18 +0000 (15:28 -0700)]
rsocket: Use configuration files to specify default settings

Give an administrator control over the default settings
used by rsockets.  Use files under %sysconfig%/rdma/rsocket as shown:

mem_default - default size of receive buffer(s)
wmem_default - default size of send buffer(s)
sqsize_default - default size of send queue
rqsize_default - default size of receive queue
inline_default - default size of inline data

If configuration files are not available, rsockets will continue to
use internal defaults.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:45:11 +0000 (14:45 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:45:11 +0000 (14:45 -0700)]
pop

12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file %sysconfig%/rdma/rsocket/polling_time.  This
is user adjustable.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe,
significantly. ;)

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:45:09 +0000 (14:45 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:45:09 +0000 (14:45 -0700)]
pop

12 years agorsocket: Handle TCP_MAXSEG socket option
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
rsocket: Handle TCP_MAXSEG socket option

netperf uses the TCP_MAXSEG socket option.  Add support for it.
Problem reported by Sridhar Samudrala <sri@us.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:45:06 +0000 (14:45 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:45:06 +0000 (14:45 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:44:56 +0000 (14:44 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 8 Jun 2012 21:44:56 +0000 (14:44 -0700)]
pop

12 years agouncommit
Sean Hefty [Fri, 8 Jun 2012 21:44:45 +0000 (14:44 -0700)]
uncommit

12 years agouncommit
Sean Hefty [Fri, 8 Jun 2012 21:44:45 +0000 (14:44 -0700)]
uncommit

12 years agodelete
Sean Hefty [Fri, 8 Jun 2012 21:44:11 +0000 (14:44 -0700)]
delete

12 years agodelete
Sean Hefty [Fri, 8 Jun 2012 21:44:11 +0000 (14:44 -0700)]
delete

12 years agonew
Sean Hefty [Fri, 8 Jun 2012 21:41:20 +0000 (14:41 -0700)]
new

12 years agonew
Sean Hefty [Fri, 8 Jun 2012 21:41:20 +0000 (14:41 -0700)]
new

12 years agorsockets: Revert commit 110fcad2ecce39d6888448c19b08791ea193e7f9
Sean Hefty [Fri, 8 Jun 2012 21:41:20 +0000 (14:41 -0700)]
rsockets: Revert commit 110fcad2ecce39d6888448c19b08791ea193e7f9

It turns out ignoring the SHUT_WR shutdown flag introduces a
separate issue with netperf.  From Sridhar Samudrala <sri@us.ibm.com> :

This causes netperf to hang in recv() after shutdown(SHUT_WR)
on the data socket.

#0  0x000000805caa77e4 in __read_nocancel () from /lib64/libc.so.6
#1  0x00000fff78e6422c in .read ()
   from /home/sridhar/git/librdmacm/src/preload.so
#2  0x000000805ccfe68c in .ibv_get_cq_event () from /usr/lib64/libibverbs.so.1
#3  0x00000fff78e8a9d4 in rs_get_cq_event (rs=0x1000b85f220)
    at src/rsocket.c:867
#4  0x00000fff78e8c160 in rs_process_cq (rs=0x1000b85f220,
    nonblock=<value optimized out>,
    test=@0xfff78e9efc0: 0xfff78e899c0 <rs_conn_have_rdata>)
    at src/rsocket.c:915
#5  0x00000fff78e8d2c0 in rrecv (socket=<value optimized out>,
    buf=0xfffd897e428, len=1, flags=<value optimized out>)
    at src/rsocket.c:1037
#6  0x00000fff78e63eec in .recv ()
   from /home/sridhar/git/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 ()

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agocommit
Sean Hefty [Wed, 6 Jun 2012 21:41:35 +0000 (14:41 -0700)]
commit

12 years agocommit
Sean Hefty [Wed, 6 Jun 2012 21:41:35 +0000 (14:41 -0700)]
commit

12 years agorsocket: Use configuration files to specify default settings
Sean Hefty [Tue, 5 Jun 2012 22:28:18 +0000 (15:28 -0700)]
rsocket: Use configuration files to specify default settings

Give an administrator control over the default settings
used by rsockets.  Use files under %sysconfig%/rdma/rsocket as shown:

mem_default - default size of receive buffer(s)
wmem_default - default size of send buffer(s)
sqsize_default - default size of send queue
rqsize_default - default size of receive queue
inline_default - default size of inline data

If configuration files are not available, rsockets will continue to
use internal defaults.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Wed, 6 Jun 2012 19:07:43 +0000 (12:07 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 19:07:43 +0000 (12:07 -0700)]
pop

12 years agorefresh
Sean Hefty [Wed, 6 Jun 2012 18:37:07 +0000 (11:37 -0700)]
refresh

12 years agorefresh
Sean Hefty [Wed, 6 Jun 2012 18:37:07 +0000 (11:37 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Wed, 6 Jun 2012 18:37:00 +0000 (11:37 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Wed, 6 Jun 2012 18:37:00 +0000 (11:37 -0700)]
refresh (create temporary patch)

12 years agoRefresh of rs-spin
Sean Hefty [Wed, 6 Jun 2012 18:37:00 +0000 (11:37 -0700)]
Refresh of rs-spin

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:36:57 +0000 (11:36 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:36:57 +0000 (11:36 -0700)]
pop

12 years agodelete
Sean Hefty [Wed, 6 Jun 2012 18:24:30 +0000 (11:24 -0700)]
delete

12 years agodelete
Sean Hefty [Wed, 6 Jun 2012 18:24:30 +0000 (11:24 -0700)]
delete

12 years agodelete
Sean Hefty [Wed, 6 Jun 2012 18:24:25 +0000 (11:24 -0700)]
delete

12 years agodelete
Sean Hefty [Wed, 6 Jun 2012 18:24:25 +0000 (11:24 -0700)]
delete

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:41 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:41 +0000 (11:23 -0700)]
pop

12 years agorsocket: Use configuration files to specify default settings
Sean Hefty [Tue, 5 Jun 2012 22:28:18 +0000 (15:28 -0700)]
rsocket: Use configuration files to specify default settings

Give an administrator control over the default settings
used by rsockets.  Use files under %sysconfig%/rdma/rsocket as shown:

mem_default - default size of receive buffer(s)
wmem_default - default size of send buffer(s)
sqsize_default - default size of send queue
rqsize_default - default size of receive queue
inline_default - default size of inline data

If configuration files are not available, rsockets will continue to
use internal defaults.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file %sysconfig%/rdma/rsocket/polling_time.  This
is user adjustable.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe,
significantly. ;)

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Spin before blocking on an rsocket
Sean Hefty [Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)]
rsocket: Spin before blocking on an rsocket

The latency cost of blocking is significant compared to round
trip ping-pong time.  Spin briefly on rsockets before calling
into the kernel and blocking.

The time to spin before blocking is read from an rsocket
configuration file %sysconfig%/rdma/rsocket/polling_time.  This
is user adjustable or may be set automatically by ibacm.

As a completely unintentional side effect, this just happens to
improve application performance in benchmarks, like netpipe,
significantly. ;)

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:34 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:34 +0000 (11:23 -0700)]
pop

12 years agorsocket: Handle TCP_MAXSEG socket option
Sean Hefty [Mon, 4 Jun 2012 20:22:10 +0000 (13:22 -0700)]
rsocket: Handle TCP_MAXSEG socket option

netperf uses the TCP_MAXSEG socket option.  Add support for it.
Problem reported by Sridhar Samudrala <sri@us.ibm.com>

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:30 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:30 +0000 (11:23 -0700)]
pop

12 years agorsocket: Handle SHUT_RD/WR shutdown flags
Sean Hefty [Mon, 4 Jun 2012 20:14:42 +0000 (13:14 -0700)]
rsocket: Handle SHUT_RD/WR shutdown flags

Sridhar Samudrala <sri@us.ibm.com> reported an error (EOPNOTSUPP)
after calling select().

The issue is that rshutdown(SHUT_WR) was called before select().
As part of shutdown, rsockets switches the underlying fd from
nonblocking to blocking to ensure that previously sent data has
completed.  shutdown(SHUT_WR) indicates that the socket should be
kept open for receiving data.

Delay handling the actual shutdown unless SHUT_RDWR is specified,
or the socket is closed.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:24 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:24 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:19 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:19 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:17 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:17 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:17 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:17 +0000 (11:23 -0700)]
pop

12 years agopop
Sean Hefty [Wed, 6 Jun 2012 18:23:16 +0000 (11:23 -0700)]
pop