summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2011-07-21 19:49:02 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-25 20:54:31 +0200
commit2773395b34883fe54418de188733a63bb38e0ad6 (patch)
treee29d8964602bf06bce1a0ebd60e92aeac9bb05ac /net
parentMerge branch 'master' into devel and apply fixup from Stephen Rothwell: (diff)
downloadlinux-2773395b34883fe54418de188733a63bb38e0ad6.tar.xz
linux-2773395b34883fe54418de188733a63bb38e0ad6.zip
RDMA: Increasing RPCRDMA_MAX_DATA_SEGS
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>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index cae761a8536c..5d1cfe58ec20 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -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 */ \