1 The War Between Mice and Elephants (by Liang Guo and Ibrahim Matta) Treating Short Connections fairly against Long Connections when they compete for.

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

RED-PD: RED with Preferential Dropping Ratul Mahajan Sally Floyd David Wetherall.
WHITE – Achieving Fair Bandwidth Allocation with Priority Dropping Based on Round Trip Time Name : Choong-Soo Lee Advisors : Mark Claypool, Robert Kinicki.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Congestion Control Algorithms: Open Questions Benno Overeinder NLnet Labs.
 Liang Guo  Ibrahim Matta  Computer Science Department  Boston University  Presented by:  Chris Gianfrancesco and Rick Skowyra.
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Network and Protocol Mechanisms: How well do they collaborate? Ageliki Tsioliaridou.
1 Service Differentiation at Transport Layer via TCP Westwood Low- Priority (TCPW-LP) H. Shimonishi, M.Y. Sanadidi and M. Geria System Platforms Research.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
Network Border Patrol Celio Albuquerque, Brett J. Vickers and Tatsuya Suda Jaideep Vaidya CS590F Fall 2000.
Network Border Patrol: Preventing Congestion Collapse and Promoting Fairness in the Internet Celio Albuquerque, Brett J. Vickers, Tatsuya Suda 1.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
The War Between Mice and Elephants LIANG GUO, IBRAHIM MATTA Computer Science Department Boston University ICNP (International Conference on Network Protocols)
The War Between Mice and Elephants By Liang Guo & Ibrahim Matta In Proceedings of ICNP'2001: The 9th IEEE International Conference on Network Protocols,
Worcester Polytechnic Institute The War Between Mice and Elephants Liang Guo, Ibrahim Matta Presented by Vasilios Mitrokostas for CS 577 / EE 537 Images.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
The War Between Mice and Elephants Liang Guo and Ibrahim Matta Boston University ICNP 2001 Presented by Thangam Seenivasan 1.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
Adaptive Packet Marking for Maintaining End-to-End Throughput in a Differentiated-Services Internet Wu-Chang Feng, Dilip D.Kandlur, Member, IEEE, Debanjan.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
Low Delay Marking for TCP in Wireless Ad Hoc Networks Choong-Soo Lee, Mingzhe Li Emmanuel Agu, Mark Claypool, Robert Kinicki Worcester Polytechnic Institute.
Mice and Elephants1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston University 9th IEEE International.
WB-RTO: A Window-Based Retransmission Timeout Ioannis Psaras, Vassilis Tsaoussidis Demokritos University of Thrace, Xanthi, Greece.
1 Traffic Sensitive Quality of Service Controller Masters Thesis Submitted by :Abhishek Kumar Advisors: Prof Mark Claypool Prof Robert Kinicki Reader:
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
Advanced Computer Networks - Mice and Elephants Paper1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston.
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Travis Grant – Mingzhe Li, Choong-Soo Lee, Emmanuel.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Data Communication and Networks
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
Random Early Detection Gateways for Congestion Avoidance
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
The War Between Mice and Elephants By Liang Guo (Graduate Student) Ibrahim Matta (Professor) Boston University ICNP’2001 Presented By Preeti Phadnis.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Investigating Forms of Simulating Web Traffic Yixin Hua Eswin Anzueto Computer Science Department Worcester Polytechnic Institute Worcester, MA.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
1 A State Feedback Control Approach to Stabilizing Queues for ECN- Enabled TCP Connections Yuan Gao and Jennifer Hou IEEE INFOCOM 2003, San Francisco,
Copyright © 2005 Department of Computer Science CPSC 641 Winter Tutorial: TCP 101 The Transmission Control Protocol (TCP) is the protocol that sends.
Diffusion Early Marking Department of Electrical and Computer Engineering University of Delaware May / 2004 Rafael Nunez Gonzalo Arce.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Sharing Information across Congestion Windows CSE222A Project Presentation March 15, 2005 Apurva Sharma.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
CA-RTO: A Contention- Adaptive Retransmission Timeout I. Psaras, V. Tsaoussidis, L. Mamatas Demokritos University of Thrace, Xanthi, Greece This study.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE-ACAM Transactions on Networking, 馬儀蔓.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
WB-RTO: A Window-Based Retransmission Timeout Ioannis Psaras Demokritos University of Thrace, Xanthi, Greece.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
Explicit Allocation of Best-Effort Service Goal: Allocate different rates to different users during congestion Can charge different prices to different.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
CPSC TCP Plots r Slides originally from Williamson at Calgary r Minor modifications are made.
Karn’s Algorithm Do not use measured RTT to update SRTT and SDEV Calculate backoff RTO when a retransmission occurs Use backoff RTO for segments until.
Instructor Materials Chapter 6: Quality of Service
Corelite Architecture: Achieving Rated Weight Fairness
Chapter 3 outline 3.1 Transport-layer services
The War Between Mice and Elephants
The War Between Mice & Elephants by, Matt Hartling & Sumit Kumbhar
Presentation transcript:

1 The War Between Mice and Elephants (by Liang Guo and Ibrahim Matta) Treating Short Connections fairly against Long Connections when they compete for Bandwidth. 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 CS577 – Fall 2013 WPI, Worcester. Presented by Pankaj Didwania Sep.24 th, 2013

CS577: Mice and Elephants War paper 2 Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance – Sensitivity Analysis – Preferential Treatment Proposed Architecture and Mechanism 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 3 Outline - Contd… Simulation Simulation – Simulation Setup – Experiment 1 : Single Client Set – Experiment 2 : Unbalanced Requests Discussion Discussion – Comments on Simulation Model – The Queue Management Policy – Deployment Issues – Flow Classification – Controller Design – Malicious Users Conclusion and Future Work Conclusion and Future Work

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

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

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

CS577: Mice and Elephants War paper 7 TCP characteristics TCP relies on its own packet samples to estimate an retransmission timeout (RTO) value. 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. 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. 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 8 Approach Preferential treatment to ensure prompt responses to short TCP flows. Preferential treatment to ensure prompt responses to short TCP flows. Threshold based classification method. Threshold based classification method. Active Queue Management (AQM) – RIO at core routers. Active Queue Management (AQM) – RIO at core routers. Differentiated Services (Diffserv) architecture at the edge of networks. Differentiated Services (Diffserv) architecture at the edge of networks. This approach achieves better goodput than traditional Drop Tail or RED policies. This approach achieves better goodput than traditional Drop Tail or RED policies. RIO guarantees ordered delivery of packets. RIO guarantees ordered delivery of packets.

CS577: Mice and Elephants War paper 9 Related Work Authors : Authors : - 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 10 Analyzing Short TCP Flow Performance Relationship between loss rate and TCP flow transmission. Relationship between loss rate and TCP flow transmission. Sensitivity Analysis for Short and Long TCP flows. Sensitivity Analysis for Short and Long TCP flows. Preferential Treatment to Short TCP Flows. Preferential Treatment to Short TCP Flows.

CS577: Mice and Elephants War paper 11 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. 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). 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 12 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. 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 13 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. 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 14 Sensitivity Analysis… When Loss rate is high, TCP congestion control is more likely to enter the exponential back-off phase. 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. 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. 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. 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. 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 15 Preferential Treatment to Short TCP Flows Authors simulate the following scenario 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 16 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 17 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 18 Proposed Scheme: Architecture & Mechanisms Architecture Architecture Edge Router: Packet Classification and State Maintenance Edge Router: Packet Classification and State Maintenance Core Router: Preferential Treatment to Short Flows. Core Router: Preferential Treatment to Short Flows.

CS577: Mice and Elephants War paper 19 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 20 Edge Router : Packet Classification and State Maintenance ERs determine whether the packet is coming from a long or short flow. ERs determine whether the packet is coming from a long or short flow. A threshold(L t ) based approximation method is used to mark them short vs. long. A threshold(L t ) 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 T u time units. The per-flow state information are (softly) maintained to detect the termination of flow. The flow hash table is updated periodically every T u time units. ER adjusts threshold dynamically using Short-to- Long Ratio(SLR), a ratio between the number of active short and long flows. 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 21 Core Router: Preferential Treatment to Short Flows Authors choose RIO (RED with In & Out) policy. Authors choose RIO (RED with In & Out) policy. RIO conforms to the DiffServ Specification. RIO conforms to the DiffServ Specification. Only a single FIFO queue is used for all packets. Only a single FIFO queue is used for all packets. RIO inherits all features of RED including protection of bursty flows. RIO inherits all features of RED including protection of bursty flows. RIO performs soft prioritization, keeping benefits from statistical multiplexing. RIO performs soft prioritization, keeping benefits from statistical multiplexing.

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

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

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

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

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

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

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

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

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

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

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

CS577: Mice and Elephants War paper 33 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. 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 34 Discussion To be conformant to existing DiffServ implementations authors chose RIO like AQM policy to be used at core routers. 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 35 Discussion The proposed scheme requires edge devices to be able to perform per-flow state maintenance and per-packet processing. 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 36 Discussion The proposed scheme involves Controller design issues at different places and timescales. The proposed scheme involves Controller design issues at different places and timescales.

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

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

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