Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Modified by Feng.

Slides:



Advertisements
Similar presentations
Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Microsoft Research.
Advertisements

One More Bit Is Enough Yong Xia, RPI Lakshmi Subramanian, UCB Ion Stoica, UCB Shiv Kalyanaraman, RPI SIGCOMM’ 05, Philadelphia, PA 08 / 23 / 2005.
Lecture 18: Congestion Control in Data Center Networks 1.
Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Presented by Shaddi.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
PFabric: Minimal Near-Optimal Datacenter Transport Mohammad Alizadeh Shuang Yang, Milad Sharif, Sachin Katti, Nick McKeown, Balaji Prabhakar, Scott Shenker.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
CS 268: Lecture 7 (Beyond TCP Congestion Control) Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences University.
1 Updates on Backward Congestion Notification Davide Bergamasco Cisco Systems, Inc. IEEE 802 Plenary Meeting San Francisco, USA July.
Mohammad Alizadeh Adel Javanmard and Balaji Prabhakar Stanford University Analysis of DCTCP:Analysis of DCTCP: Stability, Convergence, and FairnessStability,
CS268: Beyond TCP Congestion Control Ion Stoica February 9, 2004.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
One More Bit Is Enough Yong Xia, RPI Lakshminarayanan Subramanian, UCB Ion Stoica, UCB Shivkumar Kalyanaraman, RPI SIGCOMM’05, August 22-26, 2005, Philadelphia,
Bertha & M Sadeeq.  Easy to manage the problems  Scalability  Real time and real environment  Free data collection  Cost efficient  DCTCP only covers.
Congestion Control for High Bandwidth-Delay Product Networks Dina Katabi, Mark Handley and Charlie Rohrs SIGCOMM2002 Pittsburgh Presenter – Bob Kinicki.
Congestion control in data centers
Active Queue Management. Fundamental problem: Queues and TCP Queues –Queues are to absorb bursts of packets. –They are required for statistical multiplexing.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
Defense: Christopher Francis, Rumou duan Data Center TCP (DCTCP) 1.
SEDCL: Stanford Experimental Data Center Laboratory.
Comparison between TCPWestwood and eXplicit Control Protocol (XCP) Jinsong Yang Shiva Navab CS218 Project - Fall 2003.
Data Center TCP (DCTCP)
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Mohammad Alizadeh, Abdul Kabbani, Tom Edsall,
Practical TDMA for Datacenter Ethernet
Mohammad Alizadeh Stanford University Joint with: Abdul Kabbani, Tom Edsall, Balaji Prabhakar, Amin Vahdat, Masato Yasuda HULL: High bandwidth, Ultra Low-Latency.
Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan by liyong Data.
TCP & Data Center Networking
TCP Incast in Data Center Networks
Curbing Delays in Datacenters: Need Time to Save Time? Mohammad Alizadeh Sachin Katti, Balaji Prabhakar Insieme Networks Stanford University 1.
B 李奕德.  Abstract  Intro  ECN in DCTCP  TDCTCP  Performance evaluation  conclusion.
Packet Transport Mechanisms for Data Center Networks Mohammad Alizadeh NetSeminar (April 12, 2012) Mohammad Alizadeh NetSeminar (April 12, 2012) Stanford.
MaxNet NetLab Presentation Hailey Lam Outline MaxNet as an alternative to TCP Linux implementation of MaxNet Demonstration of fairness, quick.
High-speed TCP  FAST TCP: motivation, architecture, algorithms, performance (by Cheng Jin, David X. Wei and Steven H. Low)  Modifying TCP's Congestion.
DCTCP & CoDel the Best is the Friend of the Good Bob Briscoe, BT Murari Sridharan, Microsoft IETF-84 TSVAREA Jul 2012 Le mieux est l'ennemi du bien Voltaire.
1 IEEE Meeting July 19, 2006 Raj Jain Modeling of BCN V2.0 Jinjing Jiang and Raj Jain Washington University in Saint Louis Saint Louis, MO
Congestion Control for High Bandwidth-Delay Product Networks D. Katabi (MIT), M. Handley (UCL), C. Rohrs (MIT) – SIGCOMM’02 Presented by Cheng.
Kai Chen (HKUST) Nov 1, 2013, USTC, Hefei Data Center Networking 1.
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for AQM By Srisankar Kunniyur & R. Srikant Presented by Hareesh Pattipati.
1 Sheer volume and dynamic nature of video stresses network resources PIE: A lightweight latency control to address the buffer problem issue Rong Pan,
6.888: Lecture 3 Data Center Congestion Control Mohammad Alizadeh Spring
MMPTCP: A Multipath Transport Protocol for Data Centres 1 Morteza Kheirkhah University of Edinburgh, UK Ian Wakeman and George Parisis University of Sussex,
Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Microsoft Research.
Congestion Control for High Bandwidth-Delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs Presented by Yufei Chen.
Data Center TCP (DCTCP)
Data Center TCP (DCTCP)
Incast-Aware Switch-Assisted TCP Congestion Control for Data Centers
Congestion Control for High Bandwidth-Delay Product Networks
HyGenICC: Hypervisor-based Generic IP Congestion Control for Virtualized Data Centers Conference Paper in Proceedings of ICC16 By Ahmed M. Abdelmoniem,
CS 268: Lecture 6 Scott Shenker and Ion Stoica
Router-Assisted Congestion Control
Packet Transport Mechanisms for Data Center Networks
TCP-LP: A Distributed Algorithm for Low Priority Data Transfer
Microsoft Research Stanford University
AMP: A Better Multipath TCP for Data Center Networks
Data Center TCP (DCTCP)
SICC: SDN-Based Incast Congestion Control For Data Centers Ahmed M
Lecture 16, Computer Networks (198:552)
TCP Congestion Control
Reconciling Mice and Elephants in Data Center Networks
Lecture 17, Computer Networks (198:552)
Understanding Congestion Control Mohammad Alizadeh Fall 2018
Transport Layer: Congestion Control
CS 401/601 Computer Network Systems Mehmet Gunes
Presentation transcript:

Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Modified by Feng Xie Data Center TCP (DCTCP) 1

Data Center Packet Transport Cloud computing service provider – Amazon,Microsoft,Google Transport inside the DC – TCP rules (99.9% of traffic) How’s TCP doing? 2

TCP in the Data Center We’ll see TCP does not meet demands of apps. – Incast  Suffers from bursty packet drops  Not fast enough utilize spare bandwidth – Builds up large queues:  Adds significant latency.  Wastes precious buffers, esp. bad with shallow-buffered switches. Operators work around TCP problems. ‒Ad-hoc, inefficient, often expensive solutions Our solution: Data Center TCP 3

Case Study: Microsoft Bing Measurements from 6000 server production cluster Instrumentation passively collects logs ‒Application-level ‒Socket-level ‒Selected packet-level More than 150TB of compressed data over a month 4

TLA MLA Worker Nodes ……… Partition/Aggregate Application Structure 5 Picasso “Everything you can imagine is real.”“Bad artists copy. Good artists steal.” “It is your work in life that is the ultimate seduction.“ “The chief enemy of creativity is good sense.“ “Inspiration does exist, but it must find you working.” “I'd like to live as a poor man with lots of money.“ “Art is a lie that makes us realize the truth. “Computers are useless. They can only give you answers.” ….. 1. Art is a lie… 2. The chief… 3. … Art is a lie… 3. ….. Art is… Picasso Time is money  Strict deadlines (SLAs) Missed deadline  Lower quality result Deadline = 250ms Deadline = 50ms Deadline = 10ms

Workloads Partition/Aggregate (Query) Short messages [50KB-1MB] ( C oordination, Control state) Large flows [1MB-50MB] ( D ata update) 6 Delay-sensitive Throughput-sensitive

Impairments Incast Queue Buildup Buffer Pressure 7

Incast 8 TCP timeout Worker 1 Worker 2 Worker 3 Worker 4 Aggregator RTO min = 300 ms Synchronized mice collide.  Caused by Partition/Aggregate.

Queue Buildup 9 Sender 1 Sender 2 Receiver Big flows buildup queues.  Increased latency for short flows. Measurements in Bing cluster  For 90% packets: RTT < 1ms  For 10% packets: 1ms < RTT < 15ms

Data Center Transport Requirements High Burst Tolerance –Incast due to Partition/Aggregate is common. 2. Low Latency –Short flows, queries 3. High Throughput –Large file transfers The challenge is to achieve these three together.

Balance Between Requirements 11 High Burst Tolerance High Throughput Low Latency DCTCP Deep Buffers:  Queuing Delays Increase Latency Shallow Buffers:  Bad for Bursts & Throughput Reduced RTO min (SIGCOMM ‘09)  Doesn’t Help Latency AQM – RED:  Avg Queue Not Fast Enough for Incast Objective: Low Queue Occupancy & High Throughput

The DCTCP Algorithm 12

Review: The TCP/ECN Control Loop 13 Sender 1 Sender 2 Receiver ECN Mark (1 bit) ECN = Explicit Congestion Notification

Two Key Ideas 1.React in proportion to the extent of congestion, not its presence. Reduces variance in sending rates, lowering queuing requirements. 2.Mark based on instantaneous queue length. Fast feedback to better deal with bursts. 18 ECN MarksTCPDCTCP Cut window by 50%Cut window by 40% Cut window by 50%Cut window by 5%

Data Center TCP Algorithm Switch side: – Mark packets when Queue Length > K. 19 Sender side: – Maintain running average of fraction of packets marked (α). In each RTT:  Adaptive window decreases: – Note: decrease factor between 1 and 2. B K Mark Don’t Mark

DCTCP in Action 20 Setup: Win 7, Broadcom 1Gbps Switch Scenario: 2 long-lived flows, K = 30KB (Kbytes)

Why it Works 1.High Burst Tolerance Large buffer headroom → bursts fit. Aggressive marking → sources react before packets are dropped. 2. Low Latency Small buffer occupancies → low queuing delay. 3. High Throughput ECN averaging → smooth rate adjustments, cwind low variance. 21

Analysis 22 Time (W*+1)(1-α/2) W* Window Size W*+1

Packets sent in this RTT are marked. Analysis 22 Time (W*+1)(1-α/2) W* Window Size W*+1

Analysis How low can DCTCP maintain queues without loss of throughput? How do we set the DCTCP parameters? 22  Need to quantify queue size oscillations (Stability). 85% Less Buffer than TCP

Evaluation Implemented in Windows stack. Real hardware, 1Gbps and 10Gbps experiments – 90 server testbed – Broadcom Triumph 48 1G ports – 4MB shared memory – Cisco Cat G ports – 16MB shared memory – Broadcom Scorpion 24 10G ports – 4MB shared memory Numerous benchmarks – Throughput and Queue Length – Multi-hop – Queue Buildup – Buffer Pressure 23 – Fairness and Convergence – Incast – Static vs Dynamic Buffer Mgmt

Experiment implement 45 1G servers connected to a Triumph, a 10G server extern connection – 1Gbps links K=20 – 10Gbps link K=65 Generate query, and background traffic – 10 minutes, 200,000 background, 188,000 queries Metric: – Flow completion time for queries and background flows. 24 We use RTO min = 10ms for both TCP & DCTCP.

Baseline 25 Background FlowsQuery Flows

Baseline 25 Background FlowsQuery Flows Low latency for short flows.

Baseline 25 Background FlowsQuery Flows Low latency for short flows. High throughput for long flows.

Baseline 25 Background FlowsQuery Flows Low latency for short flows. High throughput for long flows. High burst tolerance for query flows.

Scaled Background & Query 10x Background, 10x Query 26

Conclusions DCTCP satisfies all our requirements for Data Center packet transport. Handles bursts well Keeps queuing delays low Achieves high throughput Features: Very simple change to TCP and a single switch parameter K. Based on ECN mechanisms already available in commodity switch. 27

29 Congestion Control for High Bandwidth-Delay Product Networks D. Katabi (MIT), M. Handley (UCL), C. Rohrs (MIT) – SIGCOMM’02

Basics of TCP Congestion Control Bandwidth-delay product – Capacity of the “pipe” between a TCP sender and a TCP receiver Congestion window (cwnd) – Sender’s estimation of the capacity Additive Increase and Multiplicative Decrease (AIMD) algorithm – no loss:cwnd = cwnd + s – loss: cwnd = cwnd – cwnd/2

Motivations Inadequacy of TCP, as bandwidth-delay product increases – Prone to instability regardless of AQM schemes – Inefficient Fairness concern – TCP tends to bias against long RTT flows Satellite links, wireless links, etc.

Design Rationale NOT an end-to-end approach Using precise congestion signaling Decoupling efficiency and fairness control

XCP (eXplicit Control Protocol) Maintains high utilization, small queues, and almost no drops, as bandwidth/delay increases – drop: less than one in a million packets Maintains good performance in dynamic environment (with many short web-like flows) No bias against long RTT flows

Sender&Receiver ’ s Role Sender – Fill the congestion header – Update cwnd = max(cwnd + H_feedback, s) Receiver – Copy H_feedback to ACK

XCP – Router ’ s Role Control Interval Estimation – Average RTT Efficiency Control – Maximize link utilization Fairness Control – Achieve fairness among individual flows

Efficiency Controller (EC) Aggragate feedback (total H_feedback) –, : constant value – d: control interval (average RTT) – S: spare bandwidth – Q: persistent queue size Stability requirement determines = 0.4; = – Independent of delay, capacity and number of flows

Fairness Controller (FC) Achieve fairness via AIMD algorithm – > 0, equal throughput increment of all flows – < 0, throughput decrement proportional to its current throughput

Performance Evaluation Simulation topology

Performance Evaluation BandwidthDelay

Performance Evaluation Mice arrival rateDifferent RTT flow

The dynamics of XCP

Conclusion XCP provides a theoretically analysis, yet effective approach to congestion control. It obtains excellent performance, independent of link capacity, delay and number of flows.

DCTCP vs. XCP Date center Practical High bandwidth-delay Theoretic 43

44