]> git.neil.brown.name Git - history.git/commit
[PATCH] RPC over UDP congestion control updates [1/8]
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 16 Jul 2002 08:53:29 +0000 (01:53 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 16 Jul 2002 08:53:29 +0000 (01:53 -0700)
commit77d7903022dbd92040f4afdfb5e05d9005a88a7f
treeba6f7a5b70f03d2c67dec1d2fca833b634000437
parentad4d2648caa581162d6c6e2a3805a0095448ae15
[PATCH] RPC over UDP congestion control updates [1/8]

Implement the basic round trip timing algorithm in order to adapt the
timeout values for the most common NFS operations to the server's
rate of response.
Algorithm is described in Van Jacobson's paper 1998 paper
on http://www-nrg.ee.lbl.gov/nrg-papers.html, and is the same as is
used for most TCP stacks.

Following the *BSD code, we implement separate rtt timers for GETATTR,
LOOKUP, READ/READDIR/READLINK, and WRITE. In addition to this, there
is one extra timer for the COMMIT operation.
All the remaining RPC calls use the current system in which a fixed
timeout value gets set by the 'timeo' mount option.

In case of a timeout, the current exponential backoff algoritm is
implemented. Subsequent patches will improve this...
fs/lockd/xdr.c
fs/lockd/xdr4.c
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
include/linux/sunrpc/clnt.h
include/linux/sunrpc/timer.h [new file with mode: 0644]
include/linux/sunrpc/xprt.h
net/sunrpc/Makefile
net/sunrpc/clnt.c
net/sunrpc/timer.c [new file with mode: 0644]
net/sunrpc/xprt.c