Hwanjo Heo wrote: > Hi, > > According to the rfc 2582, cwnd and ssthresh should be set as below > upon reception of third dup ack. > > ssthresh = max (FlightSize / 2, 2*MSS) > cwnd = ssthresh + 3*MSS > > However, tcp-newreno sets cwnd = ssthresh instead(by reading from the > trace). Is this intended? If so, why? > > -- > stay tuned
Your question is more suitable for ns-users@isi.edu, so please post follow-ups there. There is not a straightforward answer to your question, since I don't know what script you are looking at, and since the TCP code has lots of options. But you can take a look at the code yourself in tcp/tcp-newreno.cc (and also tcp.cc's function TcpAgent::slowdown()) to see what may be happening. Tom