Lecture 14: Congestion Control

Similar documents
Lecture 14: Congestion Control"

Lecture 13: Traffic Engineering

Lecture 14: Congestion Control"

CS644 Advanced Networks

XCP: explicit Control Protocol

CS 268: Lecture 7 (Beyond TCP Congestion Control)

Congestion Control In the Network

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

ADVANCED TOPICS FOR CONGESTION CONTROL

Lecture 15: Datacenter TCP"

Congestion Control for High Bandwidth-delay Product Networks

CS268: Beyond TCP Congestion Control

Data Center TCP (DCTCP)

Congestion Control for High Bandwidth-Delay Product Networks

Data Center TCP (DCTCP)

Congestion Control. Tom Anderson

One More Bit Is Enough

6.033 Computer System Engineering

CSE/EE 461 Lecture 16 TCP Congestion Control. TCP Congestion Control

15-744: Computer Networking. Overview. Queuing Disciplines. TCP & Routers. L-6 TCP & Routers

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

CS 268: Computer Networking

TCP Congestion Control

Computer Networking

Lecture 7: Data Center Networks

Lecture 4: Routing. CSE 222A: Computer Communication Networks Alex C. Snoeren. Thanks: Amin Vahdat

Bandwidth Allocation & TCP

Packet Scheduling in Data Centers. Lecture 17, Computer Networks (198:552)

Performance-oriented Congestion Control

In-network Resource Allocation (Scribed by Ambuj Ojha)

TCP so far Computer Networking Outline. How Was TCP Able to Evolve

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

CSE 123A Computer Networks

Congestion Control for High-Bandwidth-Delay-Product Networks: XCP vs. HighSpeed TCP and QuickStart

CS 153 Design of Operating Systems Spring 18

Reasons not to Parallelize TCP Connections for Fast Long-Distance Networks

CS 43: Computer Networks. 19: TCP Flow and Congestion Control October 31, Nov 2, 2018

TCP EX MACHINA: COMPUTER-GENERATED CONGESTION CONTROL KEITH WINSTEIN AND HARI BALAKRISHNAN. Presented by: Angela Jiang

Reliable Transport II: TCP and Congestion Control

Performance-oriented Congestion Control

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Advanced Computer Networks. Flow Control

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Exercises TCP/IP Networking With Solutions

Cautionary Aspects of Cross Layer Design: Context, Architecture and Interactions

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2018

CS321: Computer Networks Congestion Control in TCP

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University

6.033 Spring 2015 Lecture #11: Transport Layer Congestion Control Hari Balakrishnan Scribed by Qian Long

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data?

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

TCP on High-Speed Networks

Congestion Control in Datacenters. Ahmed Saeed

Interdomain Routing (plus Transport Wrapup) Tom Anderson

CS4700/CS5700 Fundamentals of Computer Networks

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

TCP Congestion Control : Computer Networking. Introduction to TCP. Key Things You Should Know Already. Congestion Control RED

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2017

Oscillations and Buffer Overflows in Video Streaming under Non- Negligible Queuing Delay

Enabling Large Data Transfers on Dynamic, Very High-Speed Network Infrastructures

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2017

CS 153 Design of Operating Systems Spring 18

15-744: Computer Networking TCP

Cloud e Datacenter Networking

CS3600 SYSTEMS AND NETWORKS

Computer Networks. Course Reference Model. Topic. Congestion What s the hold up? Nature of Congestion. Nature of Congestion 1/5/2015.

Lecture 11: IPv6. CSE 123: Computer Networks Alex C. Snoeren. HW 2 due FRIDAY

Improving the Robustness of TCP to Non-Congestion Events

Implementing and Experimenting with XCP

Good Ideas So Far Computer Networking. Outline. Sequence Numbers (reminder) TCP flow control. Congestion sources and collapse

TCP on High-Speed Networks

Transport Layer (Congestion Control)

Chapter II. Protocols for High Speed Networks. 2.1 Need for alternative Protocols

Transport protocols. Transport Layer 3-1

Reliable Transport II: TCP and Congestion Control

TCP and BBR. Geoff Huston APNIC

TCP SIAD: Congestion Control supporting Low Latency and High Speed

Supporting Service Differentiation for Real-Time and Best-Effort Traffic in Stateless Wireless Ad-Hoc Networks (SWAN)

The Present and Future of Congestion Control. Mark Handley

Equation-Based Congestion Control for Unicast Applications. Outline. Introduction. But don t we need TCP? TFRC Goals

Decoupling Congestion Control and Bandwidth Allocation Policy With Application to High Bandwidth-Delay Product Networks.

Improving XCP to Achieve Max-Min Fair Bandwidth Allocation

CS 557 Congestion and Complexity

Outline. Internet. Router. Network Model. Internet Protocol (IP) Design Principles

! Network bandwidth shared by all users! Given routing, how to allocate bandwidth. " efficiency " fairness " stability. !

Flow-start: Faster and Less Overshoot with Paced Chirping

Review: Computer Organization

Increase-Decrease Congestion Control for Real-time Streaming: Scalability

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009

bitcoin allnet exam review: transport layer TCP basics congestion control project 2 Computer Networks ICS 651

TCP and BBR. Geoff Huston APNIC

Advanced Computer Networks

Network Control and Signalling

Random Early Detection (RED) gateways. Sally Floyd CS 268: Computer Networks

Computer Networks (Fall 2011) Homework 2

Chapter III: Transport Layer

Recap. TCP connection setup/teardown Sliding window, flow control Retransmission timeouts Fairness, max-min fairness AIMD achieves max-min fairness

Transcription:

Lectre 14: Congestion Control CSE 222A: Compter Commnication Networks George Porter Thanks: Amin Vahdat, Dina Katabi

Lectre 14 Overview TCP congestion control review XCP Overview CSE 222A Lectre 14: Congestion Control 2

Congestion Control Overview Challenge: how do we efficiently share network resorces among billions of hosts? Today: TCP Hosts adjst rate based on packet losses Alternative soltions Fair qeing, RED (roter spport) Vegas, packet pair (add fnctionality to TCP) Rate control, credits CSE 222A Lectre 14: Congestion Control 3

ACK Pacing in TCP ACKs open p slots in the congestion/advertised window Bottleneck link determines rate to send ACK indicates one packet has left the network CSE 222A Lectre 14: Congestion Control 4

Problems with ACK Pacing ACK compression Variations in qeing delays on retrn path changes spacing between ACKs Example: ACK waits for single long packet Worse with brsty cross-traffic What happens after a timeot? Potentially, no ACKs to time packet transmissions Congestion avoidance Slow start back to last sccessfl rate Back to linear increase/mltiplicative increase at this point CSE 222A Lectre 14: Congestion Control 5

Two TCP Connections Reach eqilibrim independent of initial bandwidth (assming eqal RTTs) 16 14 12 10 window (in segs) 8 6 4 2 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 CSE 222A Lectre 14: Congestion Control rond-trip times 6

TCP Friendliness Problem: many different TCP implementations If ct back more slowly after drops è grab bigger share If add more qickly after ACKs è grab bigger share Incentive to case congestion collapse Many TCP accelerators Easy to improve perf at expense of network Soltions? Per-flow fair qeing at roter CSE 222A Lectre 14: Congestion Control 7

Fairness vs. Efficiency Copled becase a single mechanism controls both Example: In TCP, Additive-Increase Mltiplicative- Decrease (AIMD) controls both XCP arges decopling solves the problem: 1. To control congestion: se MIMD which shows fast response 2. To control fairness: se AIMD which converges to fairness CSE 222A Lectre 14: Congestion Control 8

XCP Advantages Tighter Congestion Control Small qees Almost no drops Scalable (no per-flow state) Flexible fairness definitions Max/min Proportional Differential bandwidth Etc. CSE 222A Lectre 14: Congestion Control 9

XCP Overview 1. Congestion Controller 2. Fairness Controller CSE 222A Lectre 14: Congestion Control 10

XCP Example Rond Trip Rond Time Trip Time Congestion Congestion Window Window Feedback = + 0.1 packet Feedback Feedback Congestion Header CSE 222A Lectre 14: Congestion Control 11

XCP Example Rond Trip Time Congestion Window Feedback = - 0.3 packet Feedback = + 0.1 packet CSE 222A Lectre 14: Congestion Control 12

XCP Example Congestion Window = Congestion Window + Feedback Roters compte feedback withot any per-flow state CSE 222A Lectre 14: Congestion Control 13

Feedback Comptation Congestion Controller Goal: Matches inpt traffic to link capacity & drains the qee Looks at aggregate traffic & qee Algorithm: MIMD Aggregate traffic changes by D D ~ Spare Bandwidth D ~ - Qee Size So, D = a d avg Spare - b Qee CSE 222A Lectre 14: Congestion Control Fairness Controller Goal: Divides D between flows to converge to fairness Looks at a flow s state in Congestion Header Algorithm: AIMD If D > 0 Þ Divide D eqally between flows If D < 0 Þ Divide D between flows proportionally to their crrent rates 14

Dmbbell Topology S 1 Bottleneck S 2 R1, R2,, Rn S n CSE 222A Lectre 14: Congestion Control 15

Efficiency Avg. Utilization Avg. Utilization Bottleneck Bandwidth (Mb/s) Rond Trip Delay (sec) CSE 222A Lectre 14: Congestion Control 16

Response to Dynamics Start 40 Flows Stop the 40 Flows CSE 222A Lectre 14: Congestion Control 17

Short Flows Average Utilization Average Qee Drops CSE 222A Lectre 14: Congestion Control 18

Fairness Avg. Throghpt Avg. Throghpt Same RTT Different RTT CSE 222A Lectre 14: Congestion Control 19

Datacenter Review Large prpose-bilt DCs Hge investment: R&D, bsiness Transport inside the DC TCP rles (99.9% of traffic) How s TCP doing? 20

TCP in the Data Center TCP is challenged to meet demands of apps. Sffers from brsty packet drops, Incast [SIGCOMM 09],... Bilds p large qees: Ø Adds significant latency. Ø Wastes precios bffers, esp. bad with shallow-bffered switches. Operators work arond TCP problems. Ad-hoc, inefficient, often expensive soltions No solid nderstanding of conseqences, tradeoffs CSE 222A Lectre 14: Congestion Control 21

For Next Class Read and review DCTCP paper CSE 222A Lectre 14: Congestion Control 22