diff options
author | 2015-01-21 11:04:16 -0500 | |
---|---|---|
committer | 2015-01-30 10:47:49 -0500 | |
commit | 85275c874eaeb92fb2a78a1d4ebb1ff4b0f7b732 (patch) | |
tree | a9816da15586ef6b23196992dd777e3656fb9f6b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xprtrdma: Allocate RPC send buffer separately from struct rpcrdma_req (diff) | |
download | wireguard-linux-85275c874eaeb92fb2a78a1d4ebb1ff4b0f7b732.tar.xz wireguard-linux-85275c874eaeb92fb2a78a1d4ebb1ff4b0f7b732.zip |
xprtrdma: Allocate RPC/RDMA send buffer separately from struct rpcrdma_req
The rl_base field is currently the buffer where each RPC/RDMA call
header is built.
The inline threshold is an agreed-on size limit to for RDMA SEND
operations that pass between client and server. The sum of the
RPC/RDMA header size and the RPC header size must be less than or
equal to this threshold.
Increasing the r/wsize maximum will require MAX_SEGS to grow
significantly, but the inline threshold size won't change (both
sides agree on it). The server's inline threshold doesn't change.
Since an RPC/RDMA header can never be larger than the inline
threshold, make all RPC/RDMA header buffers the size of the
inline threshold.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions