[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1374599882.3449.46.camel@edumazet-glaptop>
Date: Tue, 23 Jul 2013 10:18:02 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Rick Jones <rick.jones2@...com>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Yuchung Cheng <ycheng@...gle.com>,
Neal Cardwell <ncardwell@...gle.com>,
Michael Kerrisk <mtk.manpages@...il.com>
Subject: Re: [PATCH v3 net-next 2/2] tcp: TCP_NOTSENT_LOWAT socket option
On Tue, 2013-07-23 at 09:20 -0700, Rick Jones wrote:
> Isn't this change really just trying to paper-over the autotuning's
> over-growing of the socket buffers? Or are you considering it an
> extension of the auto-tuning heuristics?
>
> If your 20Gbit test setup needed only 256KB socket buffers (figure
> pulled form the ether) to get to 17 Gbit/s, isn't the autotuning's
> growing them to several MB a bug in the autotuning?
As long as we limit the number of unsent bytes, there is no longer an
over provisioning problem.
TCP stack will be able to use the large windows if _needed_ by current
network conditions, receiver (in)ability to drain the data, and if
allowed by congestion control constraints.
If now you are complaining that TCP congestion controls are bad, thats a
completely different story, and this patch does not claim to solve this.
--
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