mbox series

[RFC,0/5] Reduce reply buffer requirements

Message ID 20190206163256.16810.62516.stgit@manet.1015granger.net (mailing list archive)
Headers show
Series Reduce reply buffer requirements | expand

Message

Chuck Lever Feb. 6, 2019, 4:36 p.m. UTC
Hi-

Last set I have for consideration for v5.1, please review and
comment.

My interest is in reducing the size of the RPC reply buffer, since
for RDMA, this is often registered memory. If I can get away with
one or two fewer chunks here and there, that helps improve transport
scalability.

These are a little incomplete and tasteless. I'm hoping someone can
help me give them a little more shape.

---

Chuck Lever (5):
      SUNRPC: Introduce rpc_prepare_reply_pages()
      NFS: Account for XDR pad of buf->pages
      SUNRPC: Make AUTH_SYS and AUTH_NULL set au_verfsize
      SUNRPC: Add rpc_auth::au_ralign field
      SUNRPC: Use au_rslack when computing reply buffer size


 fs/nfs/nfs2xdr.c               |   33 +++++---------------
 fs/nfs/nfs3xdr.c               |   39 +++++++-----------------
 fs/nfs/nfs4xdr.c               |   66 ++++++++++++++++++----------------------
 include/linux/sunrpc/auth.h    |   14 ++++----
 include/linux/sunrpc/clnt.h    |    3 ++
 include/trace/events/sunrpc.h  |   37 ++++++++++++++++++++++
 net/sunrpc/auth_gss/auth_gss.c |   19 ++++++++----
 net/sunrpc/auth_null.c         |    2 +
 net/sunrpc/auth_unix.c         |    6 +++-
 net/sunrpc/clnt.c              |   30 ++++++++++++++++--
 net/sunrpc/xdr.c               |   11 +++++++
 11 files changed, 155 insertions(+), 105 deletions(-)

--
Chuck Lever