1 Jan 2005 20:22
Re: TCP/Westwood+ support.
Charles M. Hannum <abuse <at> spamalicious.com>
2005-01-01 19:22:36 GMT
2005-01-01 19:22:36 GMT
On Saturday 01 January 2005 14:49, Kentaro A. Kurahone wrote: > I've implemented TCP/Westwood+ congestion control for NetBSD. The authors > claim that it deals better with high BDP lossy networks (like wireless). > Since I'm using it to ssh to another box to write this e-mail, I'm fairly > confident that I didn't break anything. > > Description: http://www-ictserv.poliba.it/mascolo/tcp%20westwood/homeW.htm > Patch: > http://www.sigusr1.org/~kurahone/tcp-westwood+-netbsd-2.99.11.diff.gz > > Feedback will be appriciated. If I understand your code correctly, it makes two changes to the algorithm: a) A running bandwidth estimate based on the ack rate is kept, and ssthresh is set according to that -- in other words, we do exponential growth up to the estimated bandwidth, and then linear growth thereafter, whereas Reno will just keep trying to increase ssthresh forever. b) On a fast retransmit, the congestion window is initialized to ssthresh -- in other words, we always set to the linear growth point on a fast retransmit, and never do exponential growth again, except in the case of slow retransmit (or CWM). Both of these behaviors are, on their face, more conservative than Reno. My question is: what happens if you have rapid fluctuations; e.g. due to sharing a link with another system that is doing occasional short transactions that are not really congestion-controlled? It appears to me that Westwood is fairly slow to react in decreasing ssthresh and switching to(Continue reading)
RSS Feed