summaryrefslogtreecommitdiff
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-06-24 17:55:51 +0300
committerJ. Bruce Fields <bfields@redhat.com>2016-07-13 22:53:49 +0300
commit637600f3ffbf1af0c2efd5587ac357b900c4c999 (patch)
treeceb9f96dd1ecb0a03958850446cc3c79aa010630 /net/sunrpc/svc_xprt.c
parentff3ac5c3dc2323ba54c3d9ef30ef4942a71b251d (diff)
downloadlinux-637600f3ffbf1af0c2efd5587ac357b900c4c999.tar.xz
SUNRPC: Change TCP socket space reservation
The current server rpc tcp code attempts to predict how much writeable socket space will be available to a given RPC call before accepting it for processing. On a 40GigE network, we've found this throttles individual clients long before the network or disk is saturated. The server may handle more clients easily, but the bandwidth of individual clients is still artificially limited. Instead of trying (and failing) to predict how much writeable socket space will be available to the RPC call, just fall back to the simple model of deferring processing until the socket is uncongested. This may increase the risk of fast clients starving slower clients; in such cases, the previous patch allows setting a hard per-connection limit. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions