]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsockets: Reduce the default inline size
authorSean Hefty <sean.hefty@intel.com>
Fri, 25 May 2012 01:18:43 +0000 (18:18 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 00:01:27 +0000 (17:01 -0700)
commit83c3dfd6a0e358bd40465e2fb10b945f2eb022c9
treedbd034ca1174e75f764b13039fc31ff8a7025ff1
parent44fcb3625bfa10b86d563676e3337e46a64cd65f
rsockets: Reduce the default inline size

Inline data consumes the same space used by the SGL.  Since
we reduced the default number of SGEs per SQ entry to 1,
also reduce the default inline data size to 16 bytes.
Otherwise, the SQ size won't actually be reduced.

Although this increases the latency of small messages over
16 bytes, tests show that decreasing the inline data size
from 64 bytes to 32 or 16 bytes improves large message
bandwidth 8-10%.

Sample rstream 64k_bw test results:

inline size 64: 24.85 Gbps
inline size 16: 26.5  Gbps

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/rsocket.c