From: Sean Hefty Date: Mon, 4 Jun 2012 21:51:41 +0000 (-0700) Subject: rsocket: Spin before blocking on an rsocket X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0e70b792a716764bcaaa70fb52662f5b97589fc9;p=~shefty%2Flibrdmacm.git 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 ---