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.
Mohammad Alizadeh Adel Javanmard and Balaji Prabhakar Stanford University Analysis of DCTCP:Analysis of DCTCP: Stability, Convergence, and FairnessStability,
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
IETF87 Berlin DCTCP implementation in FreeBSD
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
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.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Mohammad Alizadeh, Abdul Kabbani, Tom Edsall,
ICTCP: Incast Congestion Control for TCP in Data Center Networks∗
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.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
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.
Kai Chen (HKUST) Nov 1, 2013, USTC, Hefei Data Center Networking 1.
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.
15-744: Computer Networking L-14 Data Center Networking III.
Networking in Datacenters EECS 398 Winter 2017
Low-Latency Software Rate Limiters for Cloud Networks
Data Center TCP (DCTCP)
15-744: Computer Networking
Incast-Aware Switch-Assisted TCP Congestion Control for Data Centers
6.888 Lecture 5: Flow Scheduling
Chapter 3 outline 3.1 transport-layer services
OTCP: SDN-Managed Congestion Control for Data Center Networks
HyGenICC: Hypervisor-based Generic IP Congestion Control for Virtualized Data Centers Conference Paper in Proceedings of ICC16 By Ahmed M. Abdelmoniem,
TCP Congestion Control at the Network Edge
Congestion Control: The Role of the Routers
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
Carnegie Mellon University, *Panasas Inc.
AMP: A Better Multipath TCP for Data Center Networks
Data Center TCP (DCTCP)
RAP: Rate Adaptation Protocol
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)
CS 401/601 Computer Network Systems Mehmet Gunes
AMP: An Adaptive Multipath TCP for Data Center Networks
Data Centers.
Presentation transcript:

Data Center TCP (DCTCP) Mohammad Alizadeh, Albert Greenberg, David A. Maltz, Jitendra Padhye Parveen Patel, Balaji Prabhakar, Sudipta Sengupta, Murari Sridharan Presented and Adapted by Yikai Lin EECS 582 – W16

Outline 1. Problem Statement 2. Design Goals 3. DCTCP Algorithm 4. Analysis 5. Evaluation 6. Conclusions 7. Q&A EECS 582 – W16

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? EECS 582 – W16

TCP in the Data Center We’ll see TCP does not meet demands of apps. Incast Suffers from bursty packet drops 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 Carefully control the amount of data each worker sends; Add jitter to the data communication to avoid synchronization EECS 582 – W16

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 EECS 582 – W16

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

Time is money Missed deadline TLA Strict deadlines (SLAs) ……… MLA Worker Nodes ……… Deadline = 250ms Deadline = 50ms Deadline = 10ms Picasso Time is money Strict deadlines (SLAs) Missed deadline Lower quality result “Art is a lie that makes us realize the truth. “Computers are useless. They can only give you answers.” “I'd like to live as a poor man with lots of money.“ “Inspiration does exist, but it must find you working.” “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.“ EECS 582 – W16 EECS 582 – W16

Impairments Incast Queue Buildup Buffer Pressure EECS 582 – W16

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 EECS 582 – W16

Queue Buildup Measurements in Bing cluster Sender 1 Receiver Sender 2 Measurements in Bing cluster For 90% packets: RTT < 1ms For 10% packets: 1ms < RTT < 15ms EECS 582 – W16

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 EECS 582 – W16

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 Reduced RTOmin (SIGCOMM ‘09) Doesn’t Help Latency AQM – RED: Avg Queue Not Fast Enough for Incast EECS 582 – W16

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

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% EECS 582 – W16

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. SRTT = (1-alpha)*SRTT+alpha*R’ EECS 582 – W16

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

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. EECS 582 – W16

Analysis Time (W*+1)(1-α/2) W* Window Size W*+1 EECS 582 – W16

Analysis Window Size Time Packets sent in this RTT are marked. W*+1 W* EECS 582 – W16

Analysis 85% Less Buffer than TCP bandwidth-delay product How low can DCTCP maintain queues without loss of throughput? How do we set the DCTCP parameters? Need to quantify queue size oscillations (Stability). bandwidth-delay product 85% Less Buffer than TCP EECS 582 – W16

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 EECS 582 – W16

Evaluation Background Flows Query Flows EECS 582 – W16

Evaluation Low latency for short flows. Background Flows Query Flows EECS 582 – W16

Evaluation Low latency for short flows. Background Flows Query Flows Low latency for short flows. High throughput for long flows. EECS 582 – W16

Evaluation Low latency for short flows. Background Flows Query Flows Low latency for short flows. High throughput for long flows. High burst tolerance for query flows. EECS 582 – W16

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. EECS 582 – W16

Discussions 1. Will DCTCP perform worse in the internet? 2. How about SDN using fine-grained TE? OpenTCP? 3. Not compatible with SACK, which reduces the # of ACKs 4. Convergence really doesn’t matter? 5. RTT-fairness (favors small RTT flows)? See “Analysis of DCTCP: Stability, Convergence, and Fairness” EECS 582 – W16

Q&A EECS 582 – W16