1/18
Looks like no tags are added yet.
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
Scenario 1: two flows share one router with infinite buffers and link capacity R. What is the maximum per-connection throughput?
R/2
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
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
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
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
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
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
TCP Tahoe detects a loss through a triple duplicate ACK. What is the new cwnd?
1 MSS
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
cwnd = 20 MSS when a triple duplicate ACK arrives. What are the new ssthresh and cwnd for Reno?
cwnd = 10 MSS ssthresh = 10
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
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.
If most losses are detected by triple duplicate ACKs, where does a Reno connection spend most of its time?
AIMD (congestion avoidance with halving)
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.
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.
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
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
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.