RDMA: Increasing RPCRDMA_MAX_DATA_SEGS
authorSteve Dickson <steved@redhat.com>
Thu, 21 Jul 2011 17:49:02 +0000 (13:49 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 25 Jul 2011 18:54:31 +0000 (14:54 -0400)
Our performance team has noticed that increasing
RPCRDMA_MAX_DATA_SEGS from 8 to 64 significantly
increases throughput when using the RDMA transport.

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/xprt_rdma.h

index cae761a8536cc35bb724ca2b5d1d74124fbbb76e..5d1cfe58ec2017aea827f776d334a6d1a2e7ef89 100644 (file)
@@ -109,7 +109,7 @@ struct rpcrdma_ep {
  */
 
 /* temporary static scatter/gather max */
-#define RPCRDMA_MAX_DATA_SEGS  (8)     /* max scatter/gather */
+#define RPCRDMA_MAX_DATA_SEGS  (64)    /* max scatter/gather */
 #define RPCRDMA_MAX_SEGS       (RPCRDMA_MAX_DATA_SEGS + 2) /* head+tail = 2 */
 #define MAX_RPCRDMAHDR (\
        /* max supported RPC/RDMA header */ \