]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: More Send completion batching
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:39:59 +0000 (09:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:20:58 +0000 (15:20 -0400)
commitc209e49ceac0ff479f79ac5cd2fbf8be80621203
treedbf542f1eb5bf676ffe26c2e202cc512cf075ea5
parentdbcc53a52df256880c2ffa4ee45661419435998a
xprtrdma: More Send completion batching

Instead of using a fixed number, allow the amount of Send completion
batching to vary based on the client's maximum credit limit.

- A larger default gives a small boost to IOPS throughput

- Reducing it based on max_requests gives a safe result when the
  max credit limit is cranked down (eg. when the device has a small
  max_qp_wr).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h