]> 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>
Thu, 24 May 2012 22:25:41 +0000 (15:25 -0700)
Simple bandwidth tests using rstream showed no 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 71073282643dab0dabd2e7764b0e53c16819ca13..5bfe80d9645d149f22e22f3ff3038d7b9d395ac6 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