]> 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>
Fri, 25 May 2012 19:29:05 +0000 (12:29 -0700)
commit307800c8b15c71fb10a1a5ddb771d1f8e1bf82e1
treeb29b6a4c9e9f9d59b1bcb41088f14c174140e586
parent875e0301583d4cdeda4ad3d70c5b7d775a07145a
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