[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [patch] bug fix & TCP networking performance improvements
On Wed, Apr 20, 2011 at 01:57:09PM +0200, Matthias Drochner wrote:
> tls%panix.com@localhost said:
> > I don't see any such change in our patch. Could you point it out?
> Here (in your devel-vtw-diff1 file):
> @@ -3231,9 +3492,9 @@ tcp_xmit_timer(struct tcpcb *tp, uint32_
> * an alpha of .875 (srtt = rtt/8 + srtt*7/8 in fixed
> * point). Adjust rtt to origin 0.
> - delta = (rtt << 2) - (tp->t_srtt >> TCP_RTT_SHIFT);
> + delta = (rtt << 0) - (tp->t_srtt >> TCP_RTT_SHIFT);
> if ((tp->t_srtt += delta) <= 0)
> - tp->t_srtt = 1 << 2;
> + tp->t_srtt = 1; // 1 << 2;
> * We accumulate a smoothed rtt variance (actually, a
> * smoothed mean difference), then set the retransmit
I have committed vestigial time-wait and maximum segment lifetime
truncation. I left the RTT changes out. Do people agree that the
changes are correct?
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 344-0444 x24
Main Index |
Thread Index |