Hello,
I'm studing the algoritm of control congestion of tcp reno.
The model is
tcpsack with this parameters:
# tcp settings
**.tcp.advertisedWindow = 65535 # in bytes, corresponds with the maximal receiver buffer capacity (Note: normally, NIC queues should be at least this size)
**.tcp.delayedAcksEnabled = false # delayed ACK algorithm (RFC 1122) enabled/disabled
**.tcp.limitedTransmitEnabled = false # Limited Transmit algorithm (RFC 3042) enabled/disabled (can be used for TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl)
**.tcp.increasedIWEnabled = false # Increased Initial Window (RFC 3390) enabled/disabled
**.tcp.sackSupport = false # Selective Acknowledgment (RFC 2018, 2883, 3517) support (header option) (SACK will be enabled for a connection if both endpoints support it)
**.tcp.windowScalingSupport = false # Window Scale (RFC 1323) support (header option) (WS will be enabled for a connection if both endpoints support it)
**.tcp.timestampSupport = false # Timestamps (RFC 1323) support (header option) (TS will be enabled for a connection if both endpoints support it)
**.tcp.mss = 500 # Maximum Segment Size (RFC 793) (header option)
**.tcp.tcpAlgorithmClass = "TCPReno" # TCPReno/TCPTahoe/TCPNewReno/TCPNoCongestionControl/DumbTCP
**.tcp.recordStats = true
Why the Fast Recovery grow as Slow Start (not like Congestion Avoidance)?. http://codebank.jaipurdekho.com/wp-content/uploads/2013/04/tcpcongestion1.jpgThe code of tcp reno is:
http://mixim.sourceforge.net/doc-2.1/inet/doc/doxy/class_t_c_p_reno.htmlif (state->dupacks > DUPTHRESH) // DUPTHRESH = 3
state->snd_cwnd += state->snd_mss; //like Slow Start??
Best Regards.
