]> 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>
Fri, 8 Jun 2012 21:45:09 +0000 (14:45 -0700)
commit15cd6383ad5db6dea95ed7e25101a3270d2cfb83
treee82c044cf309455824c63dc15e3d4af71448cf16
parent9f25d83861922ca4b4842c1d81359239c15b0575
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>
Makefile.am
configure.in
src/cma.h
src/rsocket.c