home /Java applets /TCP model

Highly idealised model for TCP rate control mechanism

This Java applet demonstrates the behaviour n highly idealised TCP sources sharing the capacity of the same bottleneck link. In other words, we are trying to model the so-called Additive Increase and Multiplicative Decrease (AIMD) rate control mechanism. Normally, each source increases its sending rate by a small amount per unit time corresponding to the additive increase phase of the AIMD rate control scheme. Then, as soon as the total transmission rate of the sources attains the capacity of the bottleneck link, a negative acknowledgement (NAK) signal is sent to a randomly chosen source (i.e., a packet is dropped). In response to that the particular source will reduce its sending rate to half, i.e., the multiplicative decrease in AIMD scheme.

The area in the middle of the simulator illustrates the evolution of the sending rates as a function of time. Traffic volumes corresponding to the different sources are indicated by different colours (red,blue,...). The arrows pointing downwards correspond to the moments of time when the particular source receives a NAK and thus decreases its sending rate to half.

Some details:

Note that:
The system parameters are chosen as follows:
  • the total additive increase rate is equal to 1/c, where c is the capacity of the bottleneck link
  • the multiplicative decrease factor is equal to 1/2
Statistics: (on left hand side)
  • Aggregated traffic statistics correspond to the aggregated traffic flow, i.e., a sum of all individual flows
  • Single source statistics correspond to the behaviour of source 1
  • Rate r corresponds to the observed sending rate at an arbitrary point of time
  • Inter-loss time corresponds to the time between two consecutive packet losses (or NAKs in general)
image file
Fig. 1: Stationary joint distribution of sending rates of
two AIMD flows (from [2]).

References:

  1. Esa Hyytiä and Peder J. Emstad, A model for TCP congestion control capturing the correlations in times between the congestion events, in 2nd EuroNGI Conference on Next Generation Internet Design and Engineering (NGI 2006), 2006, València, Spain.
  2. Esa Hyytiä, Erling Austreim and Peder J. Emstad, Complementary analysis and numerical results for an elementary fluid flow model of TCP, in Fourth International Working Conference on Performance Modelling and Evaluation of Heterogeneous Networks (HET-NETs'06), 2006, Ilkley, West Yorkshire, U.K.
  3. Jim Kurose and Keith Ross, Computer Networking: a top-down approach featuring the Internet, Addison-Wesley, 2001.
  4. Transmission Control Protocol article from Wikipedia
Some other Java applets.
Esa Hyytiä, created 2006, last update 15th of September 2006. Valid HTML 4.01 Transitional