The War Between Mice and Elephants Liang Guo and Ibrahim Matta Boston University ICNP 2001 Presented by Thangam Seenivasan 1.

Slides:



Advertisements
Similar presentations
Computer Networking Lecture 20 – Queue Management and QoS.
Advertisements

1 TCP Vegas: New Techniques for Congestion Detection and Avoidance Lawrence S. Brakmo Sean W. O’Malley Larry L. Peterson Department of Computer Science.
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.
 Liang Guo  Ibrahim Matta  Computer Science Department  Boston University  Presented by:  Chris Gianfrancesco and Rick Skowyra.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Selfish Behavior and Stability of the Internet: A Game-Theoretic Analysis of TCP Presented by Shariq Rizvi CS 294-4: Peer-to-Peer Systems.
CUBIC Qian HE (Steve) CS 577 – Prof. Bob Kinicki.
Network Border Patrol: Preventing Congestion Collapse and Promoting Fairness in the Internet Celio Albuquerque, Brett J. Vickers, Tatsuya Suda 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.
An Implementation and Experimental Study of the eXplicit Control Protocol (XCP) Yongguang Zhang and Tom Henderson INFOCOMM 2005 Presenter - Bob Kinicki.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
“On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki.
Active Queue Management. Fundamental problem: Queues and TCP Queues –Queues are to absorb bursts of packets. –They are required for statistical multiplexing.
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Mice and Elephants1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston University 9th IEEE International.
EE689 Lecture 5 Review of last lecture More on HPF RED.
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.
Defending Against Low-rate TCP Attack: Dynamic Detection and Protection Haibin Sun John C.S.Lui CSE Dept. CUHK David K.Y.Yau CS Dept. Purdue U.
Advanced Computer Networks - Mice and Elephants Paper1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston.
1 Chapter 3 Transport Layer. 2 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
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.
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
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,
February 7, 2003BU Computer Science Colloquium Crimson - Traffic Aware Active Queue Management Mark Claypool CS Department Worcester Polytechnic Institute.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
1 The War Between Mice and Elephants (by Liang Guo and Ibrahim Matta) Treating Short Connections fairly against Long Connections when they compete for.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Raj Jain The Ohio State University R1: Performance Analysis of TCP Enhancements for WWW Traffic using UBR+ with Limited Buffers over Satellite.
Improving TCP Performance over Mobile Networks Zahra Imanimehr Rahele Salari.
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.
High-speed TCP  FAST TCP: motivation, architecture, algorithms, performance (by Cheng Jin, David X. Wei and Steven H. Low)  Modifying TCP's Congestion.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
Lab The network simulator ns The network simulator ns Allows us to watch evolution of parameters like cwnd and ssthresh Allows us to watch evolution of.
WB-RTO: A Window-Based Retransmission Timeout Ioannis Psaras Demokritos University of Thrace, Xanthi, Greece.
1 SIGCOMM ’ 03 Low-Rate TCP-Targeted Denial of Service Attacks A. Kuzmanovic and E. W. Knightly Rice University Reviewed by Haoyu Song 9/25/2003.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
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.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
TCP transfers over high latency/bandwidth networks & Grid DT Measurements session PFLDnet February 3- 4, 2003 CERN, Geneva, Switzerland Sylvain Ravot
Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for AQM By Srisankar Kunniyur & R. Srikant Presented by Hareesh Pattipati.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
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.
Corelite Architecture: Achieving Rated Weight Fairness
Chapter 3 outline 3.1 Transport-layer services
Lecture 19 – TCP Performance
Title: An Adaptive Queue Management Method for Congestion Avoidance in TCP/IP Networks Presented By: Frank Posluszny Vishal Phirke Matt Hartling 12/31/2018.
The War Between Mice and Elephants
The War Between Mice & Elephants by, Matt Hartling & Sumit Kumbhar
TCP Congestion Control
Presentation transcript:

The War Between Mice and Elephants Liang Guo and Ibrahim Matta Boston University ICNP 2001 Presented by Thangam Seenivasan 1

Outline Introduction Analysis and Motivation Architecture Simulation Results Discussion Conclusion 2

TCP flows in the Internet Long flow Short flows 80% 20% 3

Is Internet fair? In a fair network – Short connections expect relatively fast service compared to long connections Sometimes this is not the case with Internet Why? 4

TCP Slow start Fast retransmit 3 Dup Acks Timeout Slow start Fast recovery 5

Short TCP flows 1. Most short flows finish before slow start finish Transmission rate increases slowly Does not get the fair share of the bandwidth Slow start cwnd 6

Short TCP flows 2. Short flows have small congestion window Fast retransmit needs 3 dup ACKs Small cwnd, not enough packets to activate dup Acks So timeout happens Timeout severely degrades the performance of TCP timeout 1 2 cwnd 7

Short TCP flows 3. Conservative Initial Timeout (ITO) No sampling data available Conservative timeout for (SYN, SYN-ACK) and 1 st data packet Disastrous effect on short connection performance if these packets lost timeout ITO = 3 sec 8

Existing and proposed solution Slow start Small cwnd & Packet loss ITO & 1 st packet loss Reduce ITO Use large initial window value Get RTT from previous records or neighbors Reduce the loss probability these packets 9

Preferential treatment to short flows Differentiated Services Architecture – Classify flows into short and long flows – Isolate packets from short flows – Reduce the loss probability of these packets With the help of Active Queue Management – RED In and Out (RIO) RED with two flow classes (short and long flows) RIO-PS RED In and Out with preferential treatment to short flows 10

Outline Introduction Analysis and Motivation Architecture Simulation Results Discussion Conclusion 11

Sensitivity of TCP flows to loss rate SenderReceiverP Drops packet with certain probability RTO = 4 x RTT RTT = 0.1 sec ITO = 3 sec TCP 4 pkts 16 pkts 256 pkts 1024 pkts 4096 pkts Short flows Long flows

Average transmission time No Loss For short flows, Xmission time increases drastically after certain loss rate 13

Variance of transmission times Variation occurs across experiments because 1.When loss rate is high, TCP enters exponential back-off phase  Causes Significantly high variability in transmission time of each individual packet in a flow 2.When loss rate is low, depending on when the loss happens  Slow start phase – aggressive retransmission  Congestion avoidance phase – less aggressive 14

Variance of transmission times COV = Standard deviation/mean Variability in short flows Due to 1. Law of large numbers Variability in long flows Due to 2. Loss in slow start or congestion avoidance Less variability in long flows Loss in both slow start and congestion avoidance 15

Conclusion and Motivation Short flows are more sensitive to increase in loss probability Variability of transmission time is closely related to fairness Important to give preferential treatment to short flows – Reduce the loss probability for short flows 16

Preferential treatment to short flows Simulation – ns simulator – 10 long (10000-packet) TCP-Newreno – 10 short (100-packet) TCP-Newreno – Competing over a 1.25Mbps link Vary queue management policy – Drop tail – RED – RIO-PS Reduce the loss probability of short flows 17

Link Utilization Drop tailRED RIO-PS Fails to give fair share to short flows Favors flows with larger windows Almost fair treatment to all flows More than fair share to short flows 18

Link Utilization - RIO-PS Short flows temporarily steal more bandwidth from long flows In the long run, their early completion returns an equal amount of resources to long flows It might enhance the transmission of long flows  Less disturbed by short flow 19

Network Goodput Less loaded network DropTail performs slightly better DropTail drops packets only when queue is full unlike other schemes RIO-PS has higher goodput More loaded network 20

Conclusion Preferential treatment to short flows – Faster response to short flows – Improves the overall goodput 21

Outline Introduction Analysis and Motivation Architecture Simulation Results Discussion Conclusion 22

Diffserv Architecture Edge Router Core Router - Classifies and tags packets as Short or Long - Maintain per flow packet count RIO-PS -Use RED In and Out -Preferential treatment to short flows 23

Edge Router – Packet classification Threshold based approach Maintains a counter for every flow – Counts the number of packet per flow Maintain threshold L t – When counter exceeds L t – tag as long flow – Else tag as short flow Flow table is updated periodically – Every T u – If no packets from a flow in T u time units, remove entry 24

Edge Router – Packet classification Threshold L t adjusted dynamically – Balance the number of active short and long flows Short-to-Long-Ratio (SLR) – Configurable parameter Every T c adjust L t to achieve the target SLR 25

Core Router – RIO-PS RIO - RED with In (Short) and Out (Long) Preferential treatment to short flows – Short flows Packet dropping probability computed based on the average backlog of short packets only (Q short ) – Long flows Packet dropping probability computed based on the total average queue size (Q total ) 26

RIO-PS Gentle RED Less Packet dropping probability for short flows Two separate sets of RED parameters for each flow class 27

Features of RIO-PS Single FIFO queue is used for all packets – Packet reordering will not happen Inherits all properties of RED – Protection of bursty flows – Fairness within each class of traffic – Detection of incipient congestion 28

Outline Introduction Analysis and Motivation Architecture Simulation Results Discussion Conclusion 29

Simulations setup ns-2 simulations Web traffic model – HTTP 1.0 – Exponential inter-page arrival (mean 9.5 sec) – Exponential inter-object arrival (mean 0.05 sec) – Uniform distribution of objects per page (min 2 max 7) – Object size; bounded Pareto distribution (min = 4 bytes, max = 200 KB, shape = 1.2) – Each object retrieved using a TCP connection 30

Simulation topology Request Response Edge Router Core Router 31

Network configuration 32

Simulations details The load is carefully tuned to be close to the bottleneck link capacity RIO parameters – Short TCP flows are guaranteed around 75% of the total bandwidth in times of congestion Experiments run 4000 seconds with a 2000 second warm-up period 33

Average response time relative to RED Average response time reduced by 25-30% for short and medium sized flows ITO = 3 sec 34

Average response time relative to RED Average response time reduced by 10-15% for short flows ITO = 1 sec Average response time reduced by 15-25% for medium sized flows 35

Instantaneous Queue Size Load in the bottleneck link has high variability over time due to the heavy-tailedness of the file size distribution 36

Instantaneous Drop/Mark rate RIO-PS reduces the overall drop/mark probability Comes from the fact that short flows rarely experience loss Preferential treatment to short flows does not hurt the network Also, Short TCP flows are not responsible for controlling congestion because of the time scale at which they operate. 37

Study of Foreground Traffic Periodically inject 10 short flows (every 25 seconds) and 10 long flows (every 125 seconds) as foreground TCP connections and record the response time for i th connection Fairness index – For any give set of response times (x 1,.., x n ), the fairness index is 38

Fairness Index – Short Connections More fair 39

Fairness Index – Long Connections 40

Transmission time – short connections -Even with RED queues, many short flows experience loss -Some lost first packet and hence timeout (3 sec) RIO-PS much less drops 41

Transmission time – long connections RIO-PS does not hurt long flow performance 42

Goodput RIO-PS does not hurt overall goodput Slightly improves over DropTail 43

Outline Introduction Analysis and Motivation Architecture Simulation Results Discussion Conclusion 44

Discussion Simulation Model – Dumbbell and Dancehall (one-way traffic) model – All TCP connections have same propagation delay – Complicated topologies may impact the performance Queue Policy – RIO does not provide class based guarantee – PI controlled RIO queue or proportional Diffserv gives better control over classified traffic 45

Discussion Deployment Issues – Edge routers need to maintain per flow state information. – Edge router state maintenance and classification does not have a significant impact on the end to end performance. – Incrementally deployable  RIO-PS implemented only at bottleneck links  Advanced edge devices may be placed in front of busy web server cluster 46

Discussion Flow Classification – Threshold based flow classification – First few packets of long TCP flow treated same as short flows – This mistake enhances performance First few packets of the long flow are similar to short flow and vulnerable to packet losses Makes the system fair to all TCP connections. 47

Discussion Controller Design – Edge load control is a topic of further research – Preliminary results indicate performance is not sensitive to SLR – SLR depends on T c and T u – Smaller values of T c and T u may increase overhead Malicious users – Users can break their long transmission into small pieces to get fast service – This is less likely due to the overhead of fragmentation and reassembly 48

Outline Introduction Analysis and Motivation Architecture Simulation Results Discussion Conclusion 49

Conclusion TCP major traffic in the Internet Proposed Scheme is a Diffserv like architecture – Edge routers classifies TCP flow as long or short – Core routers implements RIO-PS Advantages – Short flow performance improved in terms of fairness and response time. – Long flow performance is also improved or minimally affected since short flows are rapidly served. – System overall goodput is improved – Flexible Architecture, can be tuned largely at edge routers 50

Acknowledgements Thanks to Professor. Bob Kinicki, Matt Hartling and Sumit Kumbhar. Some figures in this presentation are taken from their class presentation and modified. 51