diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-06-24 10:55:51 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-07-13 15:53:49 -0400 |
commit | 637600f3ffbf1af0c2efd5587ac357b900c4c999 (patch) | |
tree | ceb9f96dd1ecb0a03958850446cc3c79aa010630 /net/sunrpc/svc_xprt.c | |
parent | ff3ac5c3dc2323ba54c3d9ef30ef4942a71b251d (diff) | |
download | linux-637600f3ffbf1af0c2efd5587ac357b900c4c999.tar.bz2 |
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