]> 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 23:55:14 +0000 (16:55 -0700)
commit68f10687a682904b0c1a5d6c4e80de1e4de199e7
treeaa33eb1e92aadaf0e564f6361ed0b56b5139b6ac
parent87b32f6b164477e6d1917d1a4b7a52e7187f0ea9
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