L22. What is congestion collapse, how can it be avoided? Is TCP or UDP a fair protocol? Flashcards

1
Q

What is congestion collapse?

A

Congestion collapse is a condition where increasing load on a network results in a drastic reduction of useful throughput, causing the network to become essentially unusable.

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

When does congestion collapse occur?

A

When the network is overwhelmed by a data packets, leading to excessive packet loss, subsequent retransmissions, and ultimately, a situation where the network spends more time dealing with these issues than actually delivering useful data.

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

What causes congestion collapse?

A

Routers and switches become overwhelmed from too many packets being sent into the network too quickly, causing packet queues to overflow and packets to be dropped. This packet loss triggers retransmissions, which further increase the load on the network, creating a vicious cycle.

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

What kind of networks are vulnerable to congestion collapse?

A

Networks that lack effective congestion control mechanisms.

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

What are some exacerbating factors for congestion collapse?

A
  1. Unregulated Traffic: Without proper control, sources can send data at rates exceeding network capacity.
  2. Ineffective Congestion Control: Protocols that do not adequately respond to congestion signals contribute to the problem.
  3. High Network Latency: Long round-trip times can delay the detection of congestion, leading to excessive data injection before corrective measures are taken.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What prevents congestion collapse?

A

Congestion control mechanisms

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

Name some congestion control mechanisms

A
  1. Congestion control algorithms in the transport protocol, eg. TCP Reno and TCP Tahoe
  2. AQM (Active Queue Managment) – techniques used at the network layer to preemptively drop packets before queues become full.
  3. QoS (Quality of Service) mechanisms that prioritize critical traffic and ensure that important data gets through even during congestion.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do congestion control algorithms in TCP prevent congestion collapse?

A

Congestion control algorithms adjust the transmission rate based on network feedback, such as packet loss and delay. Techniques like slow start, congestion avoidance, fast retransmit, and fast recovery help TCP dynamically adapt to changing network conditions.

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

How does AQM prevent congestion collapse?

A

It helps manage queue lengths by preemptively dropping packets before queues become full. This provides early congestion signals to the sender, prompting it to reduce its transmission rate.

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

Is TCP or UDP a fairer protocol? Why?

A

TCP is generally considered more fair, because of its built-in congestion control mechanisms.

TCP adjusts its transmission rate based on network feedback, reducing its sending rate when packet loss is detected, which helps to alleviate congestion. This behavior ensures that TCP connections share network resources more equitably.

TCP also uses flow control to prevent overwhelming the receiver, further contributing to its fairness in resource allocation.

In contrast, UDP lacks these features. It sends data without considering the network state or the receiver’s capacity, which can lead to congestion and unfair resource usage. UDP does not adapt to network congestion, potentially exacerbating the problem.

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