linux/net/sunrpc/xprtrdma
Chuck Lever b6c2bfea09 svcrdma: Relieve contention on sc_send_lock.
/proc/lock_stat indicates the the sc_send_lock is heavily
contended when the server is under load from a single client.

To address this, convert the send_ctxt free list to an llist.
Returning an item to the send_ctxt cache is now waitless, which
reduces the instruction path length in the single-threaded Send
handler (svc_rdma_wc_send).

The goal is to enable the ib_comp_wq worker to handle a higher
RPC/RDMA Send completion rate given the same CPU resources. This
change reduces CPU utilization of Send completion by 2-3% on my
server.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-By: Tom Talpey <tom@talpey.com>
2021-08-17 11:47:53 -04:00
..
backchannel.c xprtrdma: Delete rpcrdma_recv_buffer_put() 2021-04-26 09:24:12 -04:00
frwr_ops.c xprtrdma: Fix a NULL dereference in frwr_unmap_sync() 2021-05-01 19:42:22 -04:00
Makefile svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
module.c SUNRPC: xprt_load_transport() needs to support the netid "rdma6" 2020-12-02 14:05:52 -05:00
rpc_rdma.c xprtrdma: Revert 586a0787ce 2021-05-27 08:46:19 -04:00
svc_rdma.c svcrdma: Deprecate stat variables that are no longer used 2021-01-25 09:36:28 -05:00
svc_rdma_backchannel.c svcrdma: Normalize Send page handling 2021-03-22 13:22:13 -04:00
svc_rdma_pcl.c svcrdma: Add a "parsed chunk list" data structure 2020-11-30 13:00:22 -05:00
svc_rdma_recvfrom.c svcrdma: Clean up dto_q critical section in svc_rdma_recvfrom() 2021-03-31 15:58:48 -04:00
svc_rdma_rw.c svcrdma: Fewer calls to wake_up() in Send completion handler 2021-08-17 11:47:53 -04:00
svc_rdma_sendto.c svcrdma: Relieve contention on sc_send_lock. 2021-08-17 11:47:53 -04:00
svc_rdma_transport.c svcrdma: Relieve contention on sc_send_lock. 2021-08-17 11:47:53 -04:00
transport.c sunrpc: keep track of the xprt_class in rpc_xprt structure 2021-07-08 14:03:23 -04:00
verbs.c SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00
xprt_rdma.h SUNRPC: More fixes for backlog congestion 2021-05-26 06:36:13 -04:00