]> git.ipfire.org Git - thirdparty/linux.git/commit
svcrdma: Increase the server's default RPC/RDMA credit grant
authorChuck Lever <chuck.lever@oracle.com>
Thu, 2 Oct 2025 14:00:52 +0000 (10:00 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 16 Nov 2025 23:20:11 +0000 (18:20 -0500)
commit566a414558aec1ab263ab8709fa783dfa2e34325
tree3eb2b9f2a2c2da47c24deaa20cb5b0bb2f6a2a3f
parent166274a2456e5de9dc7e63a0818f7b842f218a5c
svcrdma: Increase the server's default RPC/RDMA credit grant

The range of commits from commit e3274026e2ec ("SUNRPC: move all of
xprt handling into svc_xprt_handle()") to commit 15d39883ee7d
("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>
include/linux/sunrpc/svc_rdma.h