diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-11-05 21:07:16 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-11-13 22:12:54 +0100 |
commit | 6ff40decff0ef35a5d755ec60182d7f803356dfb (patch) | |
tree | 1dc4117cbd90e5b560d0ba1d8575148d03f0e844 /lib/atomic64_test.c | |
parent | svcrpc: remove an unnecessary assignment (diff) | |
download | linux-6ff40decff0ef35a5d755ec60182d7f803356dfb.tar.xz linux-6ff40decff0ef35a5d755ec60182d7f803356dfb.zip |
nfsd4: improve write performance with better sendspace reservations
Currently the rpc code conservatively refuses to accept rpc's from a
client if the sum of its worst-case estimates of the replies it owes
that client exceed the send buffer space.
Unfortunately our estimate of the worst-case reply for an NFSv4 compound
is always the maximum read size. This can unnecessarily limit the
number of operations we handle concurrently, for example in the case
most operations are writes (which have small replies).
We can do a little better if we check which ops the compound contains.
This is still a rough estimate, we'll need to improve on it some day.
Reported-by: Shyam Kaushik <shyamnfs1@gmail.com>
Tested-by: Shyam Kaushik <shyamnfs1@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'lib/atomic64_test.c')
0 files changed, 0 insertions, 0 deletions