The transmit burst limit for newreno completely breaks TCP's performance

if the receive side is using delayed acks.  Temporarily remove it.

MFC after:	0 days
This commit is contained in:
Matthew Dillon 2001-11-30 21:33:39 +00:00
parent e409590d0e
commit d912c694ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87145

View file

@ -921,8 +921,18 @@ tcp_output(tp)
tp->t_flags &= ~TF_ACKNOW;
if (tcp_delack_enabled)
callout_stop(tp->tt_delack);
#if 0
/*
* This completely breaks TCP if newreno is turned on. What happens
* is that if delayed-acks are turned on on the receiver, this code
* on the transmitter effectively destroys the TCP window, forcing
* it to four packets (1.5Kx4 = 6K window).
*/
if (sendalot && (!tcp_do_newreno || --maxburst))
goto again;
#endif
if (sendalot)
goto again;
return (0);
}