Data Center TCP (DCTCP)

Slides:



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

B 黃冠智.
Deconstructing Datacenter Packet Transport Mohammad Alizadeh, Shuang Yang, Sachin Katti, Nick McKeown, Balaji Prabhakar, Scott Shenker Stanford University.
Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Modified by Feng.
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.
Fixing TCP in Datacenters Costin Raiciu Advanced Topics in Distributed Systems 2011.
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.
Balajee Vamanan et al. Deadline-Aware Datacenter TCP (D 2 TCP) Balajee Vamanan, Jahangir Hasan, and T. N. Vijaykumar.
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,
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.
Profiling Network Performance in Multi-tier Datacenter Applications
Bertha & M Sadeeq.  Easy to manage the problems  Scalability  Real time and real environment  Free data collection  Cost efficient  DCTCP only covers.
Congestion control in data centers
Defense: Christopher Francis, Rumou duan Data Center TCP (DCTCP) 1.
SEDCL: Stanford Experimental Data Center Laboratory.
Data Center TCP (DCTCP)
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
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.
Detail: Reducing the Flow Completion Time Tail in Datacenter Networks SIGCOMM PIGGY.
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.
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.
Murari Sridharan and Kun Tan (Collaborators: Jingmin Song, MSRA & Qian Zhang, HKUST.
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,
Shuihai Hu, Wei Bai, Kai Chen, Chen Tian (NJU), Ying Zhang (HP Labs), Haitao Wu (Microsoft) Sing Hong Kong University of Science and Technology.
Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Microsoft Research.
Data Center TCP (DCTCP)
15-744: Computer Networking
Incast-Aware Switch-Assisted TCP Congestion Control for Data Centers
6.888 Lecture 5: Flow Scheduling
On Queuing, Marking, and Dropping
HyGenICC: Hypervisor-based Generic IP Congestion Control for Virtualized Data Centers Conference Paper in Proceedings of ICC16 By Ahmed M. Abdelmoniem,
Google’s BBR Congestion control algorithm
TCP Congestion Control at the Network Edge
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
Hamed Rezaei, Mojtaba Malekpourshahraki, Balajee Vamanan
FAST TCP : From Theory to Experiments
AMP: A Better Multipath TCP for Data Center Networks
Data Center TCP (DCTCP)
Fast Congestion Control in RDMA-Based Datacenter Networks
SICC: SDN-Based Incast Congestion Control For Data Centers Ahmed M
Lecture 16, Computer Networks (198:552)
Reconciling Mice and Elephants in Data Center Networks
Lecture 17, Computer Networks (198:552)
Transport Layer: Congestion Control
CS 401/601 Computer Network Systems Mehmet Gunes
AMP: An Adaptive Multipath TCP for Data Center Networks
Data Centers.
Lecture 6, Computer Networks (198:552)
Presentation transcript:

Data Center TCP (DCTCP) Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Tao Ye Mar. 3rd 2013

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?

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

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

Partition/Aggregate Application Structure Art is… Picasso 1. 2. Art is a lie… 3. ….. TLA MLA Worker Nodes ……… Deadline = 250ms Deadline = 50ms Deadline = 10ms Picasso Time is money Strict deadlines (SLAs) Missed deadline Lower quality result 1. 2. 3. ….. 1. Art is a lie… 2. The chief… “Computers are useless. They can only give you answers.” “I'd like to live as a poor man with lots of money.“ “Bad artists copy. Good artists steal.” “Everything you can imagine is real.” “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.” “Art is a lie that makes us realize the truth.

Workloads Partition/Aggregate (Query) Short messages [50KB-1MB] (Coordination, Control state) Large flows [1MB-50MB] (Data update) Delay-sensitive Throughput-sensitive Replace PDF

Impairments Incast Queue Buildup Buffer Pressure

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

Queue Buildup Big flows buildup queues. Measurements in Bing cluster Sender 1 Big flows buildup queues. Increased latency for short flows. Receiver Sender 2 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. Low Latency Short flows, queries 3. High Throughput Large file transfers The challenge is to achieve these three together.

Balance Between Requirements High Throughput High Burst Tolerance Low Latency Deep Buffers: Queuing Delays Increase Latency Shallow Buffers: Bad for Bursts & Throughput Objective: Low Queue Occupancy & High Throughput DCTCP Deep Buffers – bad for latency Shallow Buffers – bad for bursts & throughput Reduce RTOmin – no good for latency AQM – Difficult to tune, not fast enough for incast-style micro-bursts, lose throughput in low stat-mux Reduced RTOmin (SIGCOMM ‘09) Doesn’t Help Latency AQM – RED: Avg Queue Not Fast Enough for Incast

The DCTCP Algorithm

Review: The TCP/ECN Control Loop Sender 1 ECN = Explicit Congestion Notification ECN Mark (1 bit) Receiver DCTCP is based on the existing Explicit Congestion Notification framework in TCP. Sender 2

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

Data Center TCP Algorithm B K Switch side: Mark packets when Queue Length > K. Don’t Mark Mark Sender side: Maintain running average of fraction of packets marked (α). In each RTT: Adaptive window decreases: Note: decrease factor between 1 and 2. very simple marking mechanism not all the tunings other aqms have on the source side, the source is tryign to estimate the fraction of packets getting marked using the obs that there is a stream of ecn marks coming back – more info in the stream than in any single bit trying to maintain smooth rate variations to operate well even when using shallow buffers, and only a few flows (no stat mux) F over the last RTT. In TCP there is always a way to get the next RTT from the window size. Comes from the self-clocking of TCP. Only changing the decrease. Simplest version – makes a lot of sense. So generic could apply it to any algorithm – CTCP, CUBIC – how to cut its window leaving increase part to what it already does. Have to be careful here.

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

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

Analysis

Analysis 85% Less Buffer than TCP How low can DCTCP maintain queues without loss of throughput? How do we set the DCTCP parameters? 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 Cat4948 48 1G ports – 16MB shared memory Broadcom Scorpion 24 10G ports – 4MB shared memory Numerous benchmarks – Throughput and Queue Length – Multi-hop – Queue Buildup – Buffer Pressure – Fairness and Convergence – Incast – Static vs Dynamic Buffer Mgmt

We use RTOmin = 10ms for both TCP & DCTCP. 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. Put more details We use RTOmin = 10ms for both TCP & DCTCP.

Baseline Background Flows Query Flows To transition to scaled traffic: people always want to get more out of their network.

Baseline Low latency for short flows. Background Flows Query Flows To transition to scaled traffic: people always want to get more out of their network. Low latency for short flows.

Baseline Low latency for short flows. High throughput for long flows. Background Flows Query Flows To transition to scaled traffic: people always want to get more out of their network. Low latency for short flows. High throughput for long flows.

Baseline Low latency for short flows. High throughput for long flows. Background Flows Query Flows To transition to scaled traffic: people always want to get more out of their network. Low latency for short flows. High throughput for long flows. High burst tolerance for query flows.

Scaled Background & Query 10x Background, 10x Query Need to put the take-aways on the slide, or at least have them in mind and slam them… Deep buffer fixes incast, makes delay worse RED, no good on the queries – doesn’t react fast enough

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.

Thanks! Any questions? Reference: Feng Xie Tsinghua Univ. DCTCP presentation ppt Mart Haitjema Washington Univ. DCTCP presentation ppt