diff options
author | Chuck Lever <[email protected]> | 2021-02-09 10:32:20 -0500 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2021-08-17 11:47:53 -0400 |
commit | b6c2bfea096ba22583f1071c10ce0745804b9b95 (patch) | |
tree | d6a74441d55852b6335b4fe935300550d2bb993a /scripts/gdb/linux/mm.py | |
parent | 6c8c84f525100a1cade5698320b4abe43062e159 (diff) |
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 <[email protected]>
Reviewed-By: Tom Talpey <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions