Midterm 2 Flashcards
What is Congestion Collapse?
Throughput < Bottleneck Link
Essentially, an increase in load leads to a decrease in useful work
What are 2 causes of Congestion Collapse?
- Spurious Retransmission of packets still in flight
- Undelivered Packets that consume resources but are dropped elsewhere in the network
Note: Normal traffic that contributes to congestion is not the cause of collapse, it is the extra traffic that is caused by congestion that leads to collapse
What are 3 goals of Congestion Control?
- Use network efficiently
- Preserve fair allocation of resources
- Avoid Congestion Collapse
What are 2 approaches to Congestion Control?
E2E (TCP) and Network Assisted (Routers provide feedback)
What are the 2 ways rates are adjusted in TCP Congestion Control?
- Window-based (AIMD)
2. Rate-based (monitor loss rate, use timer to modulate)
What leads to “TCP Incast”?
- High Fan In
- Workloads that are high bandwidth and low latency
- Many parallel requests
- Small Buffer in switches
What is “TCP Incast”?
Incast is a drastic reduction in application throughput that results when servers using TCP all simultaneously request data, leading to a gross underutilization of network capacity in many to one communication networks (e.g. data center). In other words, it occurs when collective communication (many to one or many to many patterns) occur in high fan-in switches.
Filling of small buffers leads to bursty retransmissions that overfill switch buffers; the bursty retransmissions are caused by TCP Timeouts. TCP Timeouts can last 100ms+, but RTT is often much less and senders must wait through timeouts.
What are the solutions to “TCP Incast”?
Finer granularity timers and fewer acknowledgments
What are 3 traffic shaping approaches?
- Leaky Bucket
- Token Bucket
- (r,T) Traffic Shaper
Bonus: Composite
What are the 2 classes of traffic?
Constant Bit Rate (CBR): audio
shaped by peak rate
Variable Bit Rate (VBR): video, data
shaped by avg. rate and peak rate
What is a Power Boost?
Allows a subscriber to send at a higher rate for a brief time
What is Buffer Bloat?
Buffer fills up with packets, but can only drain at Rsus; these large buffers are very bad for time-critical apps e.g. video and voice
What are the 2 types of Network Measurement?
Passive Measurement: collection of packets and flow statistics that are already on the network e.g. Simple Network Management Protocol (SNMP), packet monitoring, flow monitoring
Active Measurement: inject additional traffic to measure various statistics e.g. ping and traceroute
Why do CDNs like to peer with ISPs?
Peering with an ISP where a customer is located provides:
- better throughput (lower latency - not as many hops)
- reliability
- burstiness -> lower transit costs
Why do ISPs like to peer with CDNs?
- Good performance for customers
- Lower transit costs
What is the motivation of chord?
Scalable location of data in a large distributed system