From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nivedita Singhvi Subject: Re: [TCP] Fixed mss in tcp_init_cwnd Date: Mon, 27 Sep 2004 08:43:51 -0700 Sender: netdev-bounce@oss.sgi.com Message-ID: <41583537.2090906@us.ibm.com> References: <20040927080828.GA12056@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , netdev@oss.sgi.com Return-path: To: Herbert Xu In-Reply-To: <20040927080828.GA12056@gondor.apana.org.au> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org Herbert Xu wrote: > ===== net/ipv4/tcp_input.c 1.73 vs edited ===== > --- 1.73/net/ipv4/tcp_input.c 2004-09-13 10:30:58 +10:00 > +++ edited/net/ipv4/tcp_input.c 2004-09-27 17:00:32 +10:00 > @@ -799,10 +799,10 @@ > __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0); > > if (!cwnd) { > - if (tp->mss_cache > 1460) > + if (tp->mss_cache_std > 1460) > cwnd = 2; > else > - cwnd = (tp->mss_cache > 1095) ? 3 : 4; > + cwnd = (tp->mss_cache_std > 1095) ? 3 : 4; > } > return min_t(__u32, cwnd, tp->snd_cwnd_clamp); > } Helps to send after finishing commenting.. I fixed this locally but was still seeing poor throughput, though it does correct how many we initially/on restart send out. Thought this was fixed in the bk tree? thanks, Nivedita