]> 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>
Sun, 27 May 2012 21:48:18 +0000 (14:48 -0700)
commitb9e71caf603fbed7f5bdcdad0adcafeaec70dbbf
treea7e965c73c15582b33ef022098caf31113c775eb
parent5dd00c78d7a4687b90a02874ff77a9133c493a24
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