The War Between Mice and Elephants

Similar documents
The War Between Mice and Elephants

WB-RTO: A Window-Based Retransmission Timeout. Ioannis Psaras, Vassilis Tsaoussidis Demokritos University of Thrace, Xanthi, Greece

The War Between Mice and Elephants

Improving Internet Performance through Traffic Managers

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

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

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

Congestion control in TCP

Improving the Performance of Interactive TCP Applications using End-point Based and Network Level Techniques

RED behavior with different packet sizes

Differential Congestion Notification: Taming the Elephants

Congestion Control for High Bandwidth-delay Product Networks

Wireless TCP Performance Issues

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

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

A Hybrid Systems Modeling Framework for Fast and Accurate Simulation of Data Communication Networks. Motivation

Basics (cont.) Characteristics of data communication technologies OSI-Model

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

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

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

itmbench: Generalized API for Internet Traffic Managers

Addressing the Challenges of Web Data Transport

Performance Analysis of TCP Variants

Lecture 14: Congestion Control"

Lecture 15: Transport Layer Congestion Control

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

Router s Queue Management

Computer Networking. Queue Management and Quality of Service (QOS)

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

Improving the Robustness of TCP to Non-Congestion Events

Investigating Forms of Simulating Web Traffic. Yixin Hua Eswin Anzueto Computer Science Department Worcester Polytechnic Institute Worcester, MA

Appendix B. Standards-Track TCP Evaluation

Investigating the Use of Synchronized Clocks in TCP Congestion Control

CUBIC. Qian HE (Steve) CS 577 Prof. Bob Kinicki

Promoting the Use of End-to-End Congestion Control in the Internet

Computer Networking

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

Transport Layer TCP / UDP

CS 268: Computer Networking

CS519: Computer Networks. Lecture 5, Part 5: Mar 31, 2004 Queuing and QoS

Principles of congestion control

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

ETSF10 Internet Protocols Transport Layer Protocols

Proportional Integrator with Short-lived flow Adjustments. Minchong Kim. A Thesis. Submitted to the Faculty. of the WORCESTER POLYTECHNIC INSTITUTE

Bandwidth Allocation & TCP

Improving Internet Congestion Control and Queue Management Algorithms. Wu-chang Feng March 17, 1999 Final Oral Examination

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

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

TCP. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli)

Improving TCP Performance over Wireless Networks using Loss Predictors

Flow-start: Faster and Less Overshoot with Paced Chirping

MEASURING PERFORMANCE OF VARIANTS OF TCP CONGESTION CONTROL PROTOCOLS

Exam - Final. CSCI 1680 Computer Networks Fonseca. Closed Book. Maximum points: 100 NAME: 1. TCP Congestion Control [15 pts]

The Impact of Delay Variations on TCP Performance

Transport layer issues

CSC 4900 Computer Networks: TCP

Impact of bandwidth-delay product and non-responsive flows on the performance of queue management schemes

TCP Congestion Control

TCP Throughput Analysis with Variable Packet Loss Probability for Improving Fairness among Long/Short-lived TCP Connections

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Probe or Wait : Handling tail losses using Multipath TCP

Chapter III. congestion situation in Highspeed Networks

Congestion Control and Resource Allocation

Cloud e Datacenter Networking

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

CS3600 SYSTEMS AND NETWORKS

Investigating the Use of Synchronized Clocks in TCP Congestion Control

IJSRD - International Journal for Scientific Research & Development Vol. 2, Issue 03, 2014 ISSN (online):

H3C S9500 QoS Technology White Paper

Advanced Computer Networks

Investigations on TCP Behavior during Handoff

Transport Layer (Congestion Control)

Congestion Control. Tom Anderson

TCP/IP Performance ITL

Size-based Scheduling to Improve the Performance of Short TCP Flows

Lecture 24: Scheduling and QoS

On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows Λ

Toward a Reliable Data Transport Architecture for Optical Burst-Switched Networks

Activity-Based Congestion Management for Fair Bandwidth Sharing in Trusted Packet Networks

CS CS COMPUTER NETWORKS CS CS CHAPTER 6. CHAPTER 6 Congestion Control

WB-RTO: A Window-Based Retransmission Timeout for TCP

Faculty Of Computer Sc. & Information Technology (FSKTM)

Fairness, Queue Management, and QoS

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Incrementally Deployable Prevention to TCP Attack with Misbehaving Receivers

Congestion Control Without a Startup Phase

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

Congestion Control in Communication Networks

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

of-service Support on the Internet

CS4700/CS5700 Fundamentals of Computer Networks

Research Article Size-Based and Direction-Based TCP Fairness Issues in IEEE WLANs

IIP Wireless. Presentation Outline

CPSC 826 Internetworking. Congestion Control Approaches Outline. Router-Based Congestion Control Approaches. Router-Based Approaches Papers

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

Congestion Control 3/16/09

CS 268: Lecture 7 (Beyond TCP Congestion Control)

An experimental study of the learnability of congestion control

Transcription:

The War Between Mice and Elephants (by Liang Guo and Ibrahim Matta) Treating Short Connections fairly against Long Connections when they compete for Bandwidth. Advanced Computer Networks CS577 Fall 2013 WPI, Worcester. Presented by Pankaj Didwania Sep.24 th, 2013 1

Introduction Outline Analyzing Short TCP Flow Performance Sensitivity Analysis Preferential Treatment Proposed Architecture and Mechanism The Architecture Edge Router Packet Classification and State Maintenance Core Router : Preferential Treatment to Short Flows Contd CS577: Mice and Elephants War paper 2

Outline - Contd Simulation Simulation Setup Experiment 1 : Single Client Set Experiment 2 : Unbalanced Requests Discussion Comments on Simulation Model The Queue Management Policy Deployment Issues Flow Classification Controller Design Malicious Users Conclusion and Future Work CS577: Mice and Elephants War paper 3

Introduction This paper highlights and resolves the 80-20 rule as applicable to Internet traffic. 80% of the traffic is actually carried by a small number of connections the Elephants. And only the remaining 20%, large number of connections are very small in size or lifetime the Mice. CS577: Mice and Elephants War paper 4

Introduction contd Short TCP Flows vs. Long TCP Flows, an example. In a Fair Network: the Short Connections expect faster service in comparison with their Long counterparts. However this is not true for Internet scenarios. Let s see why and what the authors recommend. CS577: Mice and Elephants War paper 5

TCP characteristics TCP was originally designed for elephants. TCP slow start: Sending windows gets initiated at a minimum value without considering available network resources. TCP couples error control with congestion control. TCP depends upon timeout (vs. duplicate ACK mechanism) to detect packet loss for Short connection. CS577: Mice and Elephants War paper 6

TCP characteristics TCP relies on its own packet samples to estimate an retransmission timeout (RTO) value. TCP uses conservatively estimated initial timeout (ITO) for the first control and data packets. This causes TCP flows to be more conservative for short connections and tend to get less than their fair share. CS577: Mice and Elephants War paper 7

Approach Preferential treatment to ensure prompt responses to short TCP flows. Threshold based classification method. Active Queue Management (AQM) RIO at core routers. Differentiated Services (Diffserv) architecture at the edge of networks. This approach achieves better goodput than traditional Drop Tail or RED policies. RIO guarantees ordered delivery of packets. CS577: Mice and Elephants War paper 8

Authors : Related Work - study interaction between long and short flows. - propose to isolate long and short flows. - discover that class based flow isolation in combination with threshold based classification at the edge cause packet reordering and severely degrade TCP performance. - propose to push the bandwidth(load) control to the edges of the network. CS577: Mice and Elephants War paper 9

Analyzing Short TCP Flow Performance Relationship between loss rate and TCP flow transmission. Sensitivity Analysis for Short and Long TCP flows. Preferential Treatment to Short TCP Flows. CS577: Mice and Elephants War paper 10

Sensitivity Analysis for Short and Long TCP flows In this section authors provide the analytical results on the transmission time for TCP flows of different sizes. It is observed that the average transmission time of short flows is not very sensitive to loss when the loss rate is relatively small. But it increases drastically as loss rate becomes larger (when persistent congestion happens). CS577: Mice and Elephants War paper 11

Sensitivity Analysis Figure gives in a log-log plot the average total latency with avg RTT = 0.1 second, avg. RTO = 4 x RTT and the default initial retransmission timer ITO = 3 seconds, for a TCP flow of a fixed size FS for various loss rates. CS577: Mice and Elephants War paper 12

Sensitivity Analysis Figure plots C.O.V. against loss rate. Notice the trend - for small size TCP flows, increasing the loss probability can lead to increased variability, while for long TCP flows, large loss rate reduces the variability of transmission times. CS577: Mice and Elephants War paper 13

Sensitivity Analysis When Loss rate is high, TCP congestion control is more likely to enter the exponential back-off phase. When Loss rate is low, depending on when the packet loss occurs TCP can either transmit a significant amount of packets in slow-start phase or have to transmit them in the less aggressive congestion avoidance phase. Since the first source of variability is on individual packets of a flow, the law of large numbers indicates that its impact is more significant on short flows. The second source of variability is more pronounced for long flows since most short flows finish their transmission in slow-start phase. Authors thus conclude that reducing the loss probability is more critical to help short TCP flows experience less variations in transmission(response) time. CS577: Mice and Elephants War paper 14

Preferential Treatment to Short TCP Flows Authors simulate the following scenario -Using ns Simulator -10 Long(10000 packet) TCP-Newreno flows -10 Short(100-packet) TCP-Newreno flows -Competing for bandwidth over a 1.25 Mbps link -Authors then vary the queue management policy at the bottleneck link and measure the instantaneous portion of bandwidth taken by each class of flows to show the effect of preferential treatment. -The results of Drop Tail Queue, RED Queue and the proposed RIO- PS(RIO with preferential treatment to Short flows) in the plot. (left to right on the next slide). CS577: Mice and Elephants War paper 15

Preferential Treatment to Short TCP Flows -Drop Tail Queue, RED Queue and the proposed RIO-PS (left to right). CS577: Mice and Elephants War paper 16

Preferential Treatment to Short TCP Flows -Table below gives measured network goodput over the 500 seconds simulation period. -The table also shows the measured goodput for a less loaded network with bottleneck link bandwidth of 1.5 Mbps CS577: Mice and Elephants War paper 17

Proposed Scheme: Architecture & Mechanisms Architecture Edge Router: Packet Classification and State Maintenance Core Router: Preferential Treatment to Short Flows. CS577: Mice and Elephants War paper 18

Architecture This section covers the detailed implementation of the proposed scheme including the network architecture and the supporting mechanisms required to differentiate between short and long flows. CS577: Mice and Elephants War paper 19

Edge Router : Packet Classification and State Maintenance ERs determine whether the packet is coming from a long or short flow. A threshold(lt) based approximation method is used to mark them short vs. long. The per-flow state information are (softly) maintained to detect the termination of flow. The flow hash table is updated periodically every Tu time units. ER adjusts threshold dynamically using Short-to- Long Ratio(SLR), a ratio between the number of active short and long flows. CS577: Mice and Elephants War paper 20

Core Router: Preferential Treatment to Short Flows Authors choose RIO (RED with In & Out) policy. RIO conforms to the DiffServ Specification. Only a single FIFO queue is used for all packets. RIO inherits all features of RED including protection of bursty flows. RIO performs soft prioritization, keeping benefits from statistical multiplexing. CS577: Mice and Elephants War paper 21

Early dropping/marking function of an RIO queue CS577: Mice and Elephants War paper 22

Simulation Simulation Setup Experiment 1: Single Client Set Experiment 2:.Unbalanced Requests CS577: Mice and Elephants War paper 23

Simulation Topology : 0 = Edge Router; 1,2,3 = Core Routers. CS577: Mice and Elephants War paper 24

Simulation Distribution of inter-page and inter-object time (in seconds), page size and object size(in packets). CS577: Mice and Elephants War paper 25

Simulation Detailed Simulation Configuration : CS577: Mice and Elephants War paper 26

Single Client Set Experiment 1 CS577: Mice and Elephants War paper 27

Experiment 1 Instantaneous queue size and drop rate in the last 20 seconds for the case of 3-seconds ITO CS577: Mice and Elephants War paper 28

Experiment 1 Fairness Index of response time CS577: Mice and Elephants War paper 29

Experiment 1 Transmission time for each individual connection and their ensemble average CS577: Mice and Elephants War paper 30

Network Goodput Experiment 1 CS577: Mice and Elephants War paper 31

Discussion Comments on Simulation Model The Queue Management Policy Deployment Issues Flow Classification Controller Design Malicious Users CS577: Mice and Elephants War paper 32

Discussion The simulation presented in this paper uses 'DumbBell and DanceHall' (one-way traffic) and all TCP connections have similar end-to-end propagation delays. CS577: Mice and Elephants War paper 33

Discussion To be conformant to existing DiffServ implementations authors chose RIO like AQM policy to be used at core routers. CS577: Mice and Elephants War paper 34

Discussion The proposed scheme requires edge devices to be able to perform per-flow state maintenance and per-packet processing. CS577: Mice and Elephants War paper 35

Discussion The proposed scheme involves Controller design issues at different places and timescales. CS577: Mice and Elephants War paper 36

Discussion One concern regarding the proposed scheme may be that users are then encouraged to break long transmissions into small pieces so that they can enjoy faster services. CS577: Mice and Elephants War paper 37

Conclusions and Future Work Performance of majority of TCP flow is improved. The performance of few TCP long flows is also enhanced. The overall Goodput of the system is improved. The proposed architecture is extremely flexible and can be largely tuned at the edge routers. Authors currently investigating an approach that integrates size-aware traffic management at both the network and transport layers. CS577: Mice and Elephants War paper 38

Questions & Class Discussion Questions Suggestions Professor Comments Others Thanks!! CS577: Mice and Elephants War paper 39

References: Paper by Liang Guo, Ibrahim Matta. Prof. Kinicki WPI CSFQ paper. Review document : Preeti Phadnis CS577: Mice and Elephants War paper 40