TCP congestion avoidance
TCP congestion avoidance
in the packets that flow through the router; hence the name
DECbit.
The destination host then copies this congestion bit into the ACK it
sends back to the source.
The Source checks how many ACK has DEC bit set for previous window
packets.
If less than 50% of ACK have DEC bit set, then source increases its
congestion window by 1 packet
Otherwise, decreases the congestion window by 87.5%.
Finally, the source adjusts its sending rate so as to avoid congestion.
Increase by 1, decrease by 0.875 rule was based on AIMD for
A single congestion bit is added to the packet header.
Using a queue length of 1 as the trigger for setting the
congestion bit.
A router sets this bit in a packet if its average queue length
is greater than or equal to 1 at the time the packet arrives.
Computing average queue length at a router using DEC bit