[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 07 Jul 2008 15:50:21 -0700
From: Rick Jones <rick.jones2@...com>
To: Olga Kornievskaia <aglo@...i.umich.edu>
CC: Stephen Hemminger <shemminger@...tta.com>, netdev@...r.kernel.org,
Jim Rees <rees@...ch.edu>,
"J. Bruce Fields" <bfields@...ldses.org>
Subject: Re: setsockopt()
Olga Kornievskaia wrote:
> Stephen Hemminger wrote:
>> It would be better if NFSD stayed out of doign setsockopt and just
>> let the sender/receiver autotuning work?
>>
>
> Auto-tuning would be guided by the sysctl values that are set for all
> applications. I could be wrong but what I see is that unless an
> application does a setsockopt(), its window is bound by the default
> sysctl value. If it is true, than it is not acceptable. It means that in
> order for NFSD to achieve a large enough window it needs to modify TCP's
> sysctl value which will effect all other applications.
My experience thusfar is that the sysctl defaults will allow an
autotuned TCP receive window far larger than it will allow with a direct
setsockopt() call.
I'm still a triffle puzzled/concerned/confused by the extent to which
autotuning will allow the receive window to grow, again based on some
netperf experience thusfar, and patient explanations provided here and
elsewhere, it seems as though autotuning will let things get to 2x what
it thinks the sender's cwnd happens to be. So far under netperf testing
that seems to be the case, and 99 times out of ten my netperf tests will
have the window grow to the max.
rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists