Congestion Control & Streaming Flashcards
Congestion
- Different sources compete for resources
- Sources are unaware of each other
- Sources are unaware of the state of the resource
Congestion Collapse
Increase in load leads to decrease in useful work done
Congestion Collapse: Causes
- Spurious retransmission
2. undelivered packets
Spurious retransmission
Data was sent again that the receiver had already acknowledged. Also called “needless retransmission”
Spurious retransmission: solution
- Have better timers
2. Use TCP congestion control
Undelivered packets: solution
- Use TCP congestion control on all traffic
Congestion Control: Goals
- Efficiency: Use network resources efficiently
- Fairness: Preserve fair allocation of resources
- Avoid congestion collapse
Congestion Control: Approaches
- end 2 end congestion control
2. network assisted congestion control
End 2 End congestion control
This is the approach taken by TCP congestion control
- No feedback from network
- Congestion inferred by loss and delay
Network Assisted Congestion Control
- Routers provide feedback
TCP Congestion Control
- Increase algorithm: Senders increase rate until packets are dropped. This is because the routers buffer fills up.
- Decrease algorithm: TCP interprets packets loss as congestion. Slows down.
Windowing
- Increased window size increases rate
AIMD
Additive Increase: 1 packet increase per successful round trip
Multiplicative decrease: Window size reduced by 1/2 per failure.
Fairness: contributing mechanism
Multiplicative decrease
Efficiency: contributing mechanism
Additive increase