Misplaced Pages

Additive increase/multiplicative decrease

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from AIMD) Feedback control algorithm used in congestion control

The additive-increase/multiplicative-decrease (AIMD) algorithm is a feedback control algorithm best known for its use in TCP congestion control. AIMD combines linear growth of the congestion window when there is no congestion with an exponential reduction when congestion is detected. Multiple flows using AIMD congestion control will eventually converge to an equal usage of a shared link. The related schemes of multiplicative-increase/multiplicative-decrease (MIMD) and additive-increase/additive-decrease (AIAD) do not reach stability.

Algorithm

The approach taken is to increase the transmission rate (window size), probing for usable bandwidth, until loss occurs. The policy of additive increase may, for instance, increase the congestion window by a fixed amount every round-trip time. When congestion is detected, the transmitter decreases the transmission rate by a multiplicative factor; for example, cut the congestion window in half after loss. The result is a saw-tooth behavior that represents the process of bandwidth probing.

AIMD requires a binary congestion signal. Most frequently, packet loss serves as the signal; the multiplicative decrease is triggered when a timeout or an acknowledgement message indicates a packet lost. It is also possible for in-network switches/routers to mark congestion (without discarding packets) as in Explicit Congestion Notification (ECN).

Mathematical Formula

Let w ( t ) {\displaystyle w(t)} be the congestion window size indicating the amount of data in flight during time slot t {\displaystyle t} , a {\displaystyle a} ( a > 0 {\displaystyle a>0} ) be the additive increase parameter, and b {\displaystyle b} ( 0 < b < 1 {\displaystyle 0<b<1} ) be the multiplicative decrease factor.

w ( t + 1 ) = { w ( t ) + a  if congestion is not detected w ( t ) × b  if congestion is detected {\displaystyle w(t+1)={\begin{cases}w(t)+a&{\text{ if congestion is not detected}}\\w(t)\times b&{\text{ if congestion is detected}}\end{cases}}}

In TCP, after slow start, the additive increase parameter a {\displaystyle a} is typically one MSS (maximum segment size) per round-trip time, and the multiplicative decrease factor b {\displaystyle b} is typically 1/2.

Protocols

AIMD congestion avoidance is or was used in:

In nature

AIMD has been found to be utilized by diverse biological systems, including maintaining cell-size homeostasis and for synaptic learning and adaptation in neural circuits.

References

  1. ^ Chiu, Dah-Ming; Raj Jain (1989). "Analysis of increase and decrease algorithms for congestion avoidance in computer networks". Computer Networks and ISDN Systems. 17: 1–14. doi:10.1016/0169-7552(89)90019-6.
  2. Floyd; Kohler (March 2006). Profile for Datagram Congestion Control Protocol (DCCP) Congestion Control ID 2: TCP-like Congestion Control. doi:10.17487/RFC4341. RFC 4341.
  3. Suen, Jonathan Y.; Navlakha, Saket (2022). "A feedback control principle common to several biological and engineered systems". Journal of the Royal Society Interface. 19 (188): 20210711. doi:10.1098/rsif.2021.0711. PMC 8889180. PMID 35232277.
Categories: