]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
rsockets: Change the default QP size from 512 to 384
authorSean Hefty <sean.hefty@intel.com>
Thu, 24 May 2012 21:31:12 +0000 (14:31 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 28 May 2012 08:35:11 +0000 (01:35 -0700)
Simple latency/bandwidth tests using rstream showed minimal
difference in performance between using a QP sized to 384
entries versus 512.  Reduce the overhead of a default rsocket
by using 384 entries.  A user can request a larger size by
calling rsetsockopt.

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

index b89ef4294c63b731bc4f7a52f863bc1cb9ee1fe8..c11179701833b0b18b2f5b42b9614948e3c6b2f9 100644 (file)
@@ -54,7 +54,7 @@
 #define RS_INLINE 64
 #define RS_OLAP_START_SIZE 2048
 #define RS_MAX_TRANSFER 65536
-#define RS_QP_SIZE 512
+#define RS_QP_SIZE 384
 #define RS_QP_MAX_SIZE 0xFFFE
 #define RS_QP_MIN_SIZE 8
 #define RS_QP_CTRL_SIZE 4