Congestion Control

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/18

encourage image

There are no tags or description

Looks like no tags are added yet.

19 Terms

1
New cards

Difference between congestion control and flow control?

Congestion control: too many senders too fast for the network; flow control: one sender too fast for one receiver

2
New cards

Scenario 1: two flows share one router with infinite buffers and link capacity R. What is the maximum per-connection throughput?

R/2

3
New cards

What are the costs and insights of congestion

a. Delay increases as the arrival rate approaches capacity

b. retransmission mean more work for the same goodput

c. un-needed duplicate retransmissions further reduce effective throughput

d. upstream capacity and buffering are wasted when a packet is dropped downstream

e. throughput can exceed link capacity with enough buffering

a, b, c, d

4
New cards

Scenario 3 (four senders, multi-hop): as the red flow’s offered load λ′in increases toward infinity, the blue flow’s throughput:

goes to 0

5
New cards

Which of these are examples of NETWORK-ASSISTED congestion control?

a. a router marks the ECN bits in an IP header

b. a router tells senders an explicit sending rate

c. a sender halves its window after a triple duplicate ACK

d. a sender slows down because measured RTT increased

e. a receiver advertises a smaller rwnd

a, b

6
New cards

In AIMD congestion avoidance, how does cwnd grow?

a. doubles every RTT

b. Increases by 1 MSS every RTT

c. Increases by 1 MSS for every ACK

d. stays fixed until a loss

b

7
New cards

cwnd = 50,000 bytes and RTT = 100 ms. Approximately what is the TCP sending rate?

Rate = cwnd/RTT = 50000/0.1s = 500000bytes/s *8= 4000000 bps → 4Mbps

8
New cards

TCP Reno detects a loss through a triple duplicate ACK. What happens?

a. ssthresh = cwnd/2

b. cwnd = ssthresh(fast recovery)

c. cwnd then grows linearly

d. cwnd = 1 MSS
e. The sender re-enters slow start

a, b, c

9
New cards

TCP Tahoe detects a loss through a triple duplicate ACK. What is the new cwnd?

1 MSS

10
New cards

A Reno sender has a timeout. Which happen?

a. ssthresh = cwnd / 2

b. cwnd = 1 MSS

c. cwnd then grows exponentially (slow start)

d. cwnd = ssthresh

e. cwnd then grows linearly right away

a, b, c

11
New cards

cwnd = 20 MSS when a triple duplicate ACK arrives. What are the new ssthresh and cwnd for Reno?

cwnd = 10 MSS ssthresh = 10

12
New cards

A new connection starts with cwnd = 1 MSS and ssthresh = 16 MSS. With no losses, what is cwnd in the 6th transmission round?

17 MSS

13
New cards

Why does Reno cut cwnd only in half (fast recovery) after a triple duplicate ACK, instead of to 1 MSS?

A timeout signals more severe congestion and gets the drastic cut to 1 MSS.

14
New cards

If most losses are detected by triple duplicate ACKs, where does a Reno connection spend most of its time?

AIMD (congestion avoidance with halving)

15
New cards

Which statements about ECN are true?

a. It uses two bits in the IP header’s ToS field

b.Routers mark those bits to signal congestion

c. The destination sets the ECE bit in a TCP ACK

d. It involves both IP and TCP

e. It is a purely end-to-end mechanism

a, b, c, d - ECN is network-assisted: the router does the marking. The marking policy is chosen by the network operator.

16
New cards

Loss occurs when the window reaches W = 40 segments of 1500 bytes. RTT = 100 ms. Using the average-throughput formula, what is TCP’s average throughput?

Avg = (3/4) W / RTT = 0.75 Ă— 60,000 bytes / 0.1 s = 450,000 bytes/s = 3.6 Mbps.

17
New cards

Under which idealized assumptions is TCP congestion control fair?

a. All sessions have the same RTT

b. A fixed number of sessions

c. All sessions are only in congestion avoidance

d. All sessions use the same MSS as UDP flows

e. Some sessions use UDP

a, b, c

18
New cards

A link of rate R already carries 9 TCP connections. A new app opens 11 parallel TCP connections. Roughly what share does the new app get?

11R/20

19
New cards

True or false: The Internet enforces congestion control on UDP flows so they stay fair to TCP.

False. There is no “Internet police.” UDP apps can send at a constant rate and ignore congestion.