From 0e70b792a716764bcaaa70fb52662f5b97589fc9 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Mon, 4 Jun 2012 14:51:41 -0700 Subject: [PATCH] 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 -- 2.45.2