Skip to content

SUNRPC: keep the client's sends on their node, and stop copying them

Mike Snitzer linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SUNRPC: Make rpciod and xprtiod visible in sysfsnet/sunrpc/sched.c+2 -22 replies
2/2SUNRPC: Splice a request's pages into the TCP socketnet/sunrpc/socklib.c net/sunrpc/xprtsock.c+31 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] SUNRPC: keep the client's sends on their node, and stop copying them

Two changes to the RPC client's TCP send path, based on anna-nfs/linux-next.

The first adds WQ_SYSFS to rpciod and xprtiod, so that an administrator can make their affinity strict and keep their work off far NUMA nodes. Nothing changes until the sysfs attributes are written.

The second sends a request's pages to the TCP socket with MSG_SPLICE_PAGES on its first transmission, as the server already does, instead of copying them. A retransmission is still copied.

Mike Snitzer (2):
SUNRPC: Make rpciod and xprtiod visible in sysfs
SUNRPC: Splice a request's pages into the TCP socket

 net/sunrpc/sched.c    |  4 ++--
 net/sunrpc/socklib.c  | 26 ++++++++++++++++++++++----
 net/sunrpc/xprtsock.c |  9 +++++++++
 3 files changed, 33 insertions(+), 6 deletions(-)
Signature · 1 line
2.52.0