6 - Congestion Control Flashcards
Congestion Control objective
fill the internet’s pipes without overflowing them.
Congestion Collapse
a sudden increase results in a decrease of useful work done.
causes for congestion collapse
spurious retransmissions of packets from unreceived acks. Also, undelivered packets. packets consume resources and are dropped in the network.
Congestion control main goals
Use network resources efficiently. Preserve fair allocation of resources. all senders get fair share. Avoid congestion collapse.
Approaches to congestion control
End to End: Network supplies to feedback to the senders about if they should slow down their rates. Congestion is inferred by packet loss and delay. Assisted congestion control: Routers provide feeback about the rates that thee system should send. It might set a single big indicating congestion like in TCP’s ECN o congestion notification extensions.
TCP Congestion Control
senders continue to increase the rate until packet drops. They occur bc the send rate is faster than a router can drain it’s buffer. when a buffer fills up TCP interprets the packet loss and slows down.
Approaches to adjusting rates
Window based algorithm: a sender can only have a certain # of packets outstanding, in flight. The sender uses the acks it receives to clock retransmits. Then sender can’t send more packets until it’s received acks. The sender can increase its sending rate by increasing it’s window size. every time it receives an ack. It uses AIMD.
Rate based congestion Control
The sende rmonitors the loss rate, uses a timer to modulate the transmission rate.
Fairness in congestion control
Every sender gets their fair share of network resources.
Efficiency in congestion control
The network resources are used well. There should be no spare capacity or resources. Senders have data to send but can’t.
Optimal point
the network is neither under or over utilized and allocation is fair.
Multplicative decrease
sender decreases its rate by some constant factor of its sending rate.
AIMD
converges to fairness and efficiency
AIMD purpose
Handles TCP congestion control.
AIMD algorithm
distributed, all senders act independently. Looks like a sawtooth pattern. Periodically probes for available bandwidth increasaing using additive increase. Once saturate d and packet loss occurs it reduces the sending rate by half.