OMNeT/INET - TCPReno algoritm

239 views
Skip to first unread message

Kike Ledesma

unread,
Oct 13, 2015, 9:02:42 AM10/13/15
to OMNeT++ Users
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.jpg

The code of tcp reno is:
http://mixim.sourceforge.net/doc-2.1/inet/doc/doxy/class_t_c_p_reno.html
if (state->dupacks > DUPTHRESH) // DUPTHRESH = 3
state->snd_cwnd += state->snd_mss; //like Slow Start??

Best Regards.

Kike Ledesma

unread,
Oct 22, 2015, 8:40:09 AM10/22/15
to OMNeT++ Users
I would appreciate if someone could explain this Inflation effect in tcp congestion algoritms implemented in INET framework.
Reply all
Reply to author
Forward
0 new messages