linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever bb93a1ae2b xprtrdma: Allocate req's regbufs at xprt create time
Allocating an rpcrdma_req's regbufs at xprt create time enables
a pair of micro-optimizations:

First, if these regbufs are always there, we can eliminate two
conditional branches from the hot xprt_rdma_allocate path.

Second, by allocating a 1KB buffer, it places a lower bound on the
size of these buffers, without adding yet another conditional
branch. The lower bound reduces the number of hardway re-
allocations. In fact, for some workloads it completely eliminates
hardway allocations.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-04-25 15:02:11 -04:00
..
backchannel.c xprtrdma: Allocate req's regbufs at xprt create time 2019-04-25 15:02:11 -04:00
frwr_ops.c xprtrdma: Fix an frwr_map recovery nit 2019-04-25 14:59:25 -04:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: rpcrdma_regbuf alignment 2019-04-25 15:01:27 -04:00
svc_rdma_backchannel.c SUNRPC: Refactor xprt_request_wait_receive() 2019-04-25 14:18:12 -04:00
svc_rdma_recvfrom.c svcrdma: Remove syslog warnings in work completion handlers 2019-02-06 15:37:15 -05:00
svc_rdma_rw.c svcrdma: Remove syslog warnings in work completion handlers 2019-02-06 15:37:15 -05:00
svc_rdma_sendto.c svcrdma: Remove syslog warnings in work completion handlers 2019-02-06 15:37:15 -05:00
svc_rdma_transport.c svcrdma: Remove syslog warnings in work completion handlers 2019-02-06 15:37:15 -05:00
svc_rdma.c sunrpc: remove svc_rdma_bc_class 2018-12-27 21:01:41 -05:00
transport.c xprtrdma: Allocate req's regbufs at xprt create time 2019-04-25 15:02:11 -04:00
verbs.c xprtrdma: Allocate req's regbufs at xprt create time 2019-04-25 15:02:11 -04:00
xprt_rdma.h xprtrdma: Allocate req's regbufs at xprt create time 2019-04-25 15:02:11 -04:00