netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why is tcp_reno_min_cwnd() ssthresh/2?
@ 2008-04-04  1:00 Lachlan Andrew
  2008-04-04  2:35 ` Xiaoliang "David" Wei
  0 siblings, 1 reply; 5+ messages in thread
From: Lachlan Andrew @ 2008-04-04  1:00 UTC (permalink / raw)
  To: Netdev

Greetings all,

Apologies if this is a dumb question, but why does
tcp_reno_min_cwnd()  return  ssthresh/2?

Since   ssthresh <- snd_cwnd/2   on loss, this looks like it tries to
reduce  snd_cwnd  to 1/4 its value before a loss event, presumably
then slow-starting back to half of the original  snd_cwnd.

As Tom Quetchenbach pointed out, it is also odd that  omitting
min_cwnd()  from a congestion control module causes  ssthresh  to be
used, giving different results from using  tcp_reno_min_cwnd().

Thanks,
Lachlan

-- 
Lachlan Andrew  Dept of Computer Science, Caltech
1200 E California Blvd, Mail Code 256-80, Pasadena CA 91125, USA
Ph: +1 (626) 395-8820    Fax: +1 (626) 568-3603
http://netlab.caltech.edu/lachlan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-04 19:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04  1:00 Why is tcp_reno_min_cwnd() ssthresh/2? Lachlan Andrew
2008-04-04  2:35 ` Xiaoliang "David" Wei
2008-04-04 16:24   ` John Heffner
2008-04-04 18:31     ` Stephen Hemminger
2008-04-04 19:27       ` Lachlan Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).