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:
parent
e409590d0e
commit
d912c694ee
@ -921,8 +921,18 @@ out:
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user