]> 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>
Wed, 6 Jun 2012 18:23:34 +0000 (11:23 -0700)
commitfd753fb9e36b4ec5f5da3e0d2ee588297a172736
tree9a355c4fd6adc489cc0c3c07b3d436d25ff2cb0c
parentb99bd0638e7d22b1b0976a34a58efd352db420b3
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>
Makefile.am
configure.in
src/cma.h
src/rsocket.c