6 Congestion Control and Streaming Flashcards

1
Q

What is congestion control

A

Fill the pipes without overflowing them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is congestion collapse

A

throughput less than bottleneck link due to competing resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are causes of congestion collapse

A

Spurious retransmission

Undelivered packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are goals of congestion control

A
  • Use network resources efficiently
  • Preserve fair allocation of resources
  • Avoid congestion collapse
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are two approaches for congestion control

A
  • End-to-end (TCP)

- Network-assisted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

End-to-end Network congestion control

A
  • No feedback from network

- Congestion inferred by loss and delay

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Network assisted congestion control

A
  • Routers provide feedback
  • single bit TCP(ECN) Explicit Congestion Notifications Extension
  • Explicit rates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does TCP Congestion Control work

A
  • Sender increases rate until packets are dropped
  • TCP interprets packet loss as congestion and slows down
    1. Increase algorithm
    2. Decrease algorithm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are two approaches to adjusting rates

A
  • Window based (AIMD)

- Rate-based

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does window-based congestion control work?

A

-Increased window size increases rate
Success: one packet increased window per round trip “additive increase”
Failure: window size reduced by half “multiplicative decrease”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does rate-based congestion control work?

A
  • monitor loss rate

- use timer to modulate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is fairness in congestion control

A

everyone gets fair share

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is efficiency in congestion control

A

network resources are used well

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Goal of AIMD

A

converge to fairness and efficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What part of AIMD addresses efficiency

A

additive increase improves efficiency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What part of AIMD address fairness

A

multiplicative decrease improves fairness

17
Q

What is the TCP “Incast” problem

A
Data centers
-small buffers
-High "fan-in"
-bursty retransmissions
-TCP timeouts
RTT << timeouts
18
Q

Incast solution

A
  • microsecond granularity retransmission

- acks for every other packet

19
Q

Multimedia and Streaming Challenges

A
  • Large volume of data
  • Data volume varies over time
  • Low tolerance for delay variation
  • Low tolerance for delay, period (some loss is acceptable)
20
Q

2 types of video compression

A
  • spatial redundancy

- temporal redundancy

21
Q

Spatial redundancy

A

image compression

22
Q

Temporal redundancy

A

compression across images

23
Q

What is an anchor frame

A

i frame -> reference frame

24
Q

What is a derived frame

A

p frame -> anchor frame + “motion vectors”

25
Q

Why is TPC not a good fit for streaming

A
  • Reliable delivery
  • Slowing down upon loss
  • Protocol overhead
26
Q

Why is UDP a fit for streaming?

A
  • No retransmission
  • No sending rate adoption
  • ->higher layers must solve “TCP friendly”
27
Q

What is a CDN

A

content distribution network

28
Q

What is QoS?

A

Quality of service: marking and policing

29
Q

What does QoS do?

A
  • Apps compete for bandwidth

- scheduling using priority queues at router