The War Between Mice and Elephants By Liang Guo & Ibrahim Matta In Proceedings of ICNP'2001: The 9th IEEE International Conference on Network Protocols,

Slides:



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

TCP Vegas: New Techniques for Congestion Detection and Control.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
 Liang Guo  Ibrahim Matta  Computer Science Department  Boston University  Presented by:  Chris Gianfrancesco and Rick Skowyra.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Restricted Slow-Start for TCP William Allcock 1,2, Sanjay Hegde 3 and Rajkumar Kettimuthu 1,2 1 Argonne National Laboratory 2 The University of Chicago.
1 Service Differentiation at Transport Layer via TCP Westwood Low- Priority (TCPW-LP) H. Shimonishi, M.Y. Sanadidi and M. Geria System Platforms Research.
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)
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
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
“On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
Mice and Elephants1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston University 9th IEEE International.
Week 9 TCP9-1 Week 9 TCP 3 outline r 3.5 Connection-oriented transport: TCP m segment structure m reliable data transfer m flow control m connection management.
1 Traffic Sensitive Quality of Service Controller Masters Thesis Submitted by :Abhishek Kumar Advisors: Prof Mark Claypool Prof Robert Kinicki Reader:
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
Advanced Computer Networks - Mice and Elephants Paper1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston.
Promoting the Use of End-to- End Congestion Control in the Internet Sally Floyd and Kevin Fall Presented by Scott McLaren.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Data Communication and Networks
SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University.
Study of Distance Vector Routing Protocols for Mobile Ad Hoc Networks Yi Lu, Weichao Wang, Bharat Bhargava CERIAS and Department of Computer Sciences Purdue.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
FTDCS 2003 Network Tomography based Unresponsive Flow Detection and Control Authors Ahsan Habib, Bharat Bhragava Presenter Mohamed.
Random Early Detection Gateways for Congestion Avoidance
The War Between Mice and Elephants By Liang Guo (Graduate Student) Ibrahim Matta (Professor) Boston University ICNP’2001 Presented By Preeti Phadnis.
Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.
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,
10th Workshop on Information Technologies and Systems 1 A Comparative Evaluation of Internet Pricing Schemes: Smart Market and Dynamic Capacity Contracting.
Discriminating Congestion Losses from Wireless Losses using Inter- Arrival Times at the Receiver By Saad Biaz,Nitin H.Vaidya Texas A&M University IEEE.
1 The War Between Mice and Elephants (by Liang Guo and Ibrahim Matta) Treating Short Connections fairly against Long Connections when they compete for.
Source-End Defense System against DDoS attacks Fu-Yuan Lee, Shiuhpyng Shieh, Jui-Ting Shieh and Sheng Hsuan Wang Distributed System and Network Security.
Sharing Information across Congestion Windows CSE222A Project Presentation March 15, 2005 Apurva Sharma.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 A TCP Friendly Traffic Marker for IP Differentiated Services Feroz Azeem, Shiv Kalyanaraman,
High-speed TCP  FAST TCP: motivation, architecture, algorithms, performance (by Cheng Jin, David X. Wei and Steven H. Low)  Modifying TCP's Congestion.
Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE-ACAM Transactions on Networking, 馬儀蔓.
WB-RTO: A Window-Based Retransmission Timeout Ioannis Psaras Demokritos University of Thrace, Xanthi, Greece.
Thoughts on the Evolution of TCP in the Internet (version 2) Sally Floyd ICIR Wednesday Lunch March 17,
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.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
Queue Scheduling Disciplines
Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for AQM By Srisankar Kunniyur & R. Srikant Presented by Hareesh Pattipati.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
Real-time Transport for Assured Forwarding: An Architecture for both Unicast and Multicast Applications By Ashraf Matrawy and Ioannis Lambadaris From Carleton.
Optimization-based Cross-Layer Design in Networked Control Systems Jia Bai, Emeka P. Eyisi Yuan Xue and Xenofon D. Koutsoukos.
Instructor Materials Chapter 6: Quality of Service
Corelite Architecture: Achieving Rated Weight Fairness
Internet Networking recitation #9
Presented by Kristen Carlson Accardi
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Internet Networking recitation #10
The War Between Mice and Elephants
The War Between Mice & Elephants by, Matt Hartling & Sumit Kumbhar
Presentation transcript:

The War Between Mice and Elephants By Liang Guo & Ibrahim Matta In Proceedings of ICNP'2001: The 9th IEEE International Conference on Network Protocols, Riverside, CA, November Presented By Eswin Anzueto

Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance Architecture and Mechanism –RIO-PS Architecture and Mechanism –RIO-PS Simulations Simulations Discussions Discussions Conclusions and Future work Conclusions and Future work

Introduction Internet traffic: Most (80%) of the traffic is actually carried by only small number of connection (elephants), while the remaining large amount of connections are very small in size or lifetime (mice) Internet traffic: Most (80%) of the traffic is actually carried by only small number of connection (elephants), while the remaining large amount of connections are very small in size or lifetime (mice) In a fair network environment, short connections expect relatively fast service that long connection. However, some times we can not observe such a nice property in the current internet. In a fair network environment, short connections expect relatively fast service that long connection. However, some times we can not observe such a nice property in the current internet.

Introduction (cont) Factors effecting the performance of mice Factors effecting the performance of mice  TCP tries to conservatively ramp up its transmission rate to the maximum available bandwidth. Therefore the sending window is initiated at the minimum possible value regardless of what is available in the network.

Introduction (cont)  For short connections, since most of the time the congestion window is very small, packet loss always requires timeout to detect. (not enough packets to activate the duplicate ACK mech.)  ITO (initial timeout) is very conservative. (no sampling data is available), Short Connection performance is degraded due to large timeout period.

Introduction (cont) In this paper, we propose to give preferential treatment to short flows with help from an Active Queue Management policy inside the network. We also rely on the proposed Diffserv-like architecture to classify flows into short and long at the edge of the network. We also rely on the proposed Diffserv-like architecture to classify flows into short and long at the edge of the network.

Related work Crovella et al 2001 [16] and Bansal et al 2001 [17] comment that size aware job scheduling helps enhance the response time of short jobs without hurting the performance of long jobs. Crovella et al 2001 [16] and Bansal et al 2001 [17] comment that size aware job scheduling helps enhance the response time of short jobs without hurting the performance of long jobs. Seddigh et al [2] shows the negative impact of the initial timeout value on the short TCP flow latency and propose to reduce the default recommended value Seddigh et al [2] shows the negative impact of the initial timeout value on the short TCP flow latency and propose to reduce the default recommended value

Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance Architecture and Mechanism –RIO-PS Architecture and Mechanism –RIO-PS Simulations Simulations Discussions Discussions Conclusions and Future work Conclusions and Future work

Sensitivity Analysis for Short and Long TCP Flows Transmission time of short TCP flows is not very sensitive to loss rate when the loss rate is relatively small, but it increases drastically as loss rate becomes larger.

Sensitivity Analysis of Transmission Time For small-size TCP flows, increasing the loss probability can lead to increased variability, while for long TCP flows, large rate reduces the variability of transmission times

Factors Effecting Variability When Loss rate high TCP Congestion control is more likely to enter exponential back off phase, which can cause significantly high variability in transmission time of each individual packet of a flow. When Loss rate high TCP Congestion control is more likely to enter exponential back off phase, which can cause significantly high variability in transmission time of each individual packet of a flow. When loss rate low, TCP either in slow start or congestion avoidance phase. This dimension of variability is more pronounced for long flows. When loss rate low, TCP either in slow start or congestion avoidance phase. This dimension of variability is more pronounced for long 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 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

Sensitivity Analysis of Transmission Time We thus conclude that reducing the loss probability is more critical to help short TCP flows experience less variations in transmission (response) time. We thus conclude that reducing the loss probability is more critical to help short TCP flows experience less variations in transmission (response) time. Observe that the C.O.V. of transmission times is closely related to the fairness of the system— smaller values imply higher fairness. Observe that the C.O.V. of transmission times is closely related to the fairness of the system— smaller values imply higher fairness. Such interesting behavior motivates us to give preferential treatment to short TCP flows. Such interesting behavior motivates us to give preferential treatment to short TCP flows.

Preferential Treatment to Short TCP flows Assumption Assumption Giving preferential treatment to short TCP flows can significantly enhance their transmission time, without degrading long flow performance. Simulation using NS simulator Simulation using NS simulator  10 long(10000-packet) TCP-NewReno flows and 10 short(100-packet) TCP-Newreno flows over 1.25Mbps link.  Queue Management Policy – Drop Tail, RED,RIO with preference to short flows.

Link Utilization under Drop Tail, RED and RIO-PS

Network Goodput Under Different Schemes

Preferential Treatment to Short TCP flows (cont) In fact, this preferential treatment might even enhance the transmission of long flows since they operate in a more stable network environment (less disturbed by short flows) for longer periods. In fact, this preferential treatment might even enhance the transmission of long flows since they operate in a more stable network environment (less disturbed by short flows) for longer periods. In a congested network, reducing the packet drops experienced by short flows can significantly enhance their response time and fairness among them. In a congested network, reducing the packet drops experienced by short flows can significantly enhance their response time and fairness among them.

Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance Architecture and Mechanism –RIO-PS Architecture and Mechanism –RIO-PS Simulations Simulations Discussions Discussions Conclusions and Future work Conclusions and Future work

Proposed Architecture Proposed Architecture

Edge Router Determines packet coming from long or short flow. Determines packet coming from long or short flow. Accurate flow characterization can be very complicated, instead we simply maintain a counter (L t) that tracks how many packets have been observed so far for a flow. Once L t exceeds a certain threshold we consider the flow to be long. 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. 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. It is configured with SLR (Short to Long ratio). It then periodically (every T c time units) performs AIAD control over the threshold to achieve the target SLR It is configured with SLR (Short to Long ratio). It then periodically (every T c time units) performs AIAD control over the threshold to achieve the target SLR

Core Router Gives preferential treatment to short packets. Gives preferential treatment to short packets. RIO (Red In and Out) queuing policy is used because its conformity to the Diff-serv specification. RIO (Red In and Out) queuing policy is used because its conformity to the Diff-serv specification. The probability of dropping short packets depends on the average backlog of short packets queue. On the contrary, for long packets the total average queue size is used to detect incipient congestion and those flows have to give up some resources. The probability of dropping short packets depends on the average backlog of short packets queue. On the contrary, for long packets the total average queue size is used to detect incipient congestion and those flows have to give up some resources. No packet reordering will happen in the FIFO queue with RIO No packet reordering will happen in the FIFO queue with RIO RIO inherits all features of RED RIO inherits all features of RED

RIO Queue with preferential treatment to short flows

Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance Architecture and Mechanism –RIO-PS Architecture and Mechanism –RIO-PS Simulations Simulations Discussions Discussions Conclusions and Future work Conclusions and Future work

Simulation Edge router Core router

Simulation (cont)

4000 secs simulation time,2000 secs warm up time secs simulation time,2000 secs warm up time. Average response time relative to RED Average response time relative to RED

Simulation (cont)

Transmission Time of foreground traffic

Network goodput

Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance Architecture and Mechanism –RIO-PS Architecture and Mechanism –RIO-PS Simulations Simulations Discussions Discussions Conclusions and Future work Conclusions and Future work

Discussion Comments on the Simulation Model Our simulation is one-way traffic model. Our simulation is one-way traffic model. All TCP connections have similar end to end propagation delays, this is not common topology seen by internet users All TCP connections have similar end to end propagation delays, this is not common topology seen by internet users When there is also reverse traffic present, out proposed scheme will even have a superior performance over the traditional policies. When there is also reverse traffic present, out proposed scheme will even have a superior performance over the traditional policies.

Discussion Queue Management Policy RIO neither provides absolute aggregate (class based) nor relative flow based guarantees. RIO neither provides absolute aggregate (class based) nor relative flow based guarantees. To attack these problems, one may resort to AQM policies like the PI controlled RED queue, or a service model like the Proportional Diffserv proposed in for better control over the classified traffic and more predictable service To attack these problems, one may resort to AQM policies like the PI controlled RED queue, or a service model like the Proportional Diffserv proposed in for better control over the classified traffic and more predictable service

Discussion Deployment Issues Our proposed scheme requires edge devices to be able to perform per-flow state maintenance and per-packet processing. Our proposed scheme requires edge devices to be able to perform per-flow state maintenance and per-packet processing. The scheme does not require the queue mechanisms to be implemented at each router. The scheme does not require the queue mechanisms to be implemented at each router.

Discussion Flow Classification We use a threshold based classification method. We use a threshold based classification method.  Such method thus mistakenly classifies the first few packets of a long flow as if they came from a short flow. However, such “mistake” may help to enhance performance and make the system more fair to all TCP connections  The first few packets of a long flow are more vulnerable to packet losses and deserve to be treated with high preference.

Discussions Controller Design Our preliminary results indicate that the performance is not very sensitive to the target load ratio of active short to active long flows (the value of SLR at the edge). Our preliminary results indicate that the performance is not very sensitive to the target load ratio of active short to active long flows (the value of SLR at the edge). The “actual” SLR depends on the values of T c and T u, which determine how often the classification threshold and active flow table are updated, respectively. The “actual” SLR depends on the values of T c and T u, which determine how often the classification threshold and active flow table are updated, respectively.

Discussion Malicious Users One concern regarding our proposed scheme may be that users are then encouraged to break long transmissions into small pieces so that they can enjoy faster services. However, we argue that such initiative may not be so attractive to users given the large overhead of fragmentation and reassembly. One concern regarding our proposed scheme may be that users are then encouraged to break long transmissions into small pieces so that they can enjoy faster services. However, we argue that such initiative may not be so attractive to users given the large overhead of fragmentation and reassembly.

Outline Introduction Introduction Analyzing Short TCP Flow Performance Analyzing Short TCP Flow Performance Architecture and Mechanism –RIO-PS Architecture and Mechanism –RIO-PS Simulations Simulations Discussions Discussions Conclusions Conclusions

Conclusions The Performance of the majority of TCP flows (the short transfers or mice) is improved in terms of response time and fairness The Performance of the majority of TCP flows (the short transfers or mice) is improved in terms of response time and fairness The Performance of few elephants is also improved The Performance of few elephants is also improved Overall goodput of the system is also improved or at least stays almost the same Overall goodput of the system is also improved or at least stays almost the same

Conclusion (cont) The proposed architecture is flexible in that the functionality that defines this scheme can be largely tuned at the edge routers The proposed architecture is flexible in that the functionality that defines this scheme can be largely tuned at the edge routers

Thank you! Thank you to the following persons for the pictures used for this presentation Matt Hartling & Sumit Kumbhar Iris Su Preeti Phadnis