mbox series

[v1,0/8] More svcrdma improvements

Message ID 170230788373.90242.9421368360904462120.stgit@bazille.1015granger.net (mailing list archive)
Headers show
Series More svcrdma improvements | expand

Message

Chuck Lever Dec. 11, 2023, 3:24 p.m. UTC
Here are some clean-ups and minor optimizations for svcrdma, in
addition to two patches that reduce the likelihood of connection
loss on heavy workloads (the final two patches in the series).

svcrdma appears to under-allocate Send Queue resources, which will
cause NFSD to drop the connection occasionally. This results in a
burp in the Send pipeline and a loss of throughput.

The series (including these patches) is in the svcrdma-next branch
of:

https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git

---

Chuck Lever (8):
      svcrdma: De-duplicate completion ID initialization helpers
      svcrdma: Optimize svc_rdma_cc_init()
      svcrdma: Remove pointer addresses shown in dprintk()
      svcrdma: Remove queue-shortening warnings
      svcrdma: Clean up comment in svc_rdma_accept()
      svcrdma: Reserve an extra WQE for ib_drain_rq()
      svcrdma: Use all allocated Send Queue entries
      svcrdma: Increase the per-transport rw_ctx count


 include/linux/sunrpc/svc_rdma.h          | 24 ++++++++
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c  |  9 +--
 net/sunrpc/xprtrdma/svc_rdma_rw.c        | 16 ++---
 net/sunrpc/xprtrdma/svc_rdma_sendto.c    |  9 +--
 net/sunrpc/xprtrdma/svc_rdma_transport.c | 75 ++++++++++++++----------
 5 files changed, 74 insertions(+), 59 deletions(-)

--
Chuck Lever