]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsocket: Spin before blocking on an rsocket
authorSean Hefty <sean.hefty@intel.com>
Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 4 Jun 2012 21:51:41 +0000 (14:51 -0700)
commit486fc8e04b1dbd2d96468f4593d8840a4849f10b
treef5d66eb10e9cf6e99e038c41afeec88f72f751b2
parente7a519b8ae91403c8c0d29b2a86ae376b37a71c1
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 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. ;)

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Makefile.am
configure.in
src/cma.c
src/cma.h
src/rsocket.c