Skip to content

Commit 566a414

Browse files
committed
svcrdma: Increase the server's default RPC/RDMA credit grant
The range of commits from commit e327402 ("SUNRPC: move all of xprt handling into svc_xprt_handle()") to commit 15d3988 ("SUNRPC: change the back-channel queue to lwq") enabled NFSD performance to scale better as the number of nfsd threads is increased. These commits were merged in v6.7. Now that the nfsd thread count can scale to more threads, permit individual clients to make more use of those threads. Increase the RPC/RDMA per-connection credit grant from 64 to 128 -- same as the Linux NFS client. Simple single client fio-based benchmarking so far shows only improvement, no regression. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent 166274a commit 566a414

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/sunrpc/svc_rdma.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static inline struct svcxprt_rdma *svc_rdma_rqst_rdma(struct svc_rqst *rqstp)
131131
*/
132132
enum {
133133
RPCRDMA_LISTEN_BACKLOG = 10,
134-
RPCRDMA_MAX_REQUESTS = 64,
134+
RPCRDMA_MAX_REQUESTS = 128,
135135
RPCRDMA_MAX_BC_REQUESTS = 2,
136136
};
137137

0 commit comments

Comments
 (0)