Worcester Polytechnic Institute The War Between Mice and Elephants Liang Guo, Ibrahim Matta Presented by Vasilios Mitrokostas for CS 577 / EE 537 Images.

Slides:



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

Computer Networking Lecture 20 – Queue Management and QoS.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
Transport Layer3-1 TCP AIMD multiplicative decrease: cut CongWin in half after loss event additive increase: increase CongWin by 1 MSS every RTT in the.
 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,
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.
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,
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
The Power of Explicit Congestion Notification Aleksandar Kuzmanovic Northwestern University
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Networks: Congestion Control1 Congestion Control.
Analysis and Simulation of a Fair Queuing Algorithm
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.
EE689 Lecture 5 Review of last lecture More on HPF RED.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
Computer Science 1 Providing QoS through Active Domain Management Liang Guo, Ibrahim Matta Quality-of-Service Networking Lab CS Department Boston University.
WB-RTO: A Window-Based Retransmission Timeout Ioannis Psaras, Vassilis Tsaoussidis Demokritos University of Thrace, Xanthi, Greece.
WebTP: Protocol Design Issues Jeng Lung & Yogesh Bhumralkar.
Advanced Computer Networks - Mice and Elephants Paper1 The War Between Mice and Elephants Liang Guo and Ibrahim Matta Computer Science Department Boston.
A Switch-Based Approach to Starvation in Data Centers Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty of Electrical.
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
FTDCS 2003 Network Tomography based Unresponsive Flow Detection and Control Authors Ahsan Habib, Bharat Bhragava Presenter Mohamed.
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
Lecture 5: Congestion Control l Challenge: how do we efficiently share network resources among billions of hosts? n Last time: TCP n This time: Alternative.
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.
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
Analysis of Active Queue Management Jae Chung and Mark Claypool Computer Science Department Worcester Polytechnic Institute Worcester, Massachusetts, USA.
February 7, 2003BU Computer Science Colloquium Crimson - Traffic Aware Active Queue Management Mark Claypool CS Department Worcester Polytechnic Institute.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Tutorial: TCP 101 The Transmission Control Protocol (TCP) is the protocol that sends.
1 The War Between Mice and Elephants (by Liang Guo and Ibrahim Matta) Treating Short Connections fairly against Long Connections when they compete for.
ICTCP: Incast Congestion Control for TCP in Data Center Networks∗
The Effects of Systemic Packets Loss on Aggregate TCP Flows Thomas J. Hacker May 8, 2002 Internet 2 Member Meeting.
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.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
CS332, Ch. 26: TCP Victor Norman Calvin College 1.
Link Scheduling & Queuing COS 461: Computer Networks
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 A TCP Friendly Traffic Marker for IP Differentiated Services Feroz Azeem, Shiv Kalyanaraman,
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
A Self-Configuring RED Gateway Wu-chang Feng, Dilip Kandlur, Debanjan Saha, Kang Shin INFOCOM ‘99.
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
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.
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.
Explicit Allocation of Best-Effort Service Goal: Allocate different rates to different users during congestion Can charge different prices to different.
Chapter 6 TCP Congestion Control
Providing QoS through Active Domain Management
The War Between Mice and Elephants
The War Between Mice & Elephants by, Matt Hartling & Sumit Kumbhar
TCP Congestion Control
Presentation transcript:

Worcester Polytechnic Institute The War Between Mice and Elephants Liang Guo, Ibrahim Matta Presented by Vasilios Mitrokostas for CS 577 / EE 537 Images taken from Pankaj Didwania's 2013 presentation of this paper

Worcester Polytechnic Institute An Issue of Fairness Long connections are unintentionally favored over short connections by TCP congestion control algorithm 2

Worcester Polytechnic Institute Mouse 3

Worcester Polytechnic Institute Mouse 4 Many connections, short traffic

Worcester Polytechnic Institute Elephant 5

Worcester Polytechnic Institute Elephant 6 Few connections, large traffic rule

Worcester Polytechnic Institute The Elephant Wins Blame TCP; three main factors  Conservative ramp up of transmission rate  Painful packet loss for shorter connections  No packet samples for mice 7

Worcester Polytechnic Institute TCP: Conservative Ramp Up Sending window starts at the smallest value This hurts many small connections which need to begin at this point each time 8

Worcester Polytechnic Institute TCP: Painful Packet Loss A short connection's congestion window doesn't have enough packets to detect packet loss by duplicate ACKs ... so it's only detected by timeout, slowing the rate of data transmission 9

Worcester Polytechnic Institute TCP: No Packet Samples TCP uses samples of packets to help determine timeout ... but each of the many, short connections lacks sampling data, so timeouts are set to conservative, large value 10

Worcester Polytechnic Institute How to Combat Unfairness Guo and Matta's proposal; fight fire with fire Simulations say: give short connections preferential treatment to induce fairness  A weighted policy to classify TCP flows by size  RIO (RED with In and Out) queue management 11

Worcester Polytechnic Institute Validating the Problem How did the authors draw these conclusions?  A study of short and long TCP flows  Previous papers highlight the uphill battle faced by mice... but their solutions modify TCP  Issue: isolating flows by class (short vs. long) may cause packet reordering, leading to poor performance Guo and Matta: place control inside the network with RIO 12

Worcester Polytechnic Institute Proposed Solution Mitigate packet loss by giving preferential treatment to short connections 13

Worcester Polytechnic Institute RIO: Classify In or Out Classify packets as In or Out to determine size, allowing for preferential treatment Favor short connections at bottleneck link queues, so they experience fewer dropped packets 14

Worcester Polytechnic Institute Why Is Packet Loss Critical? When loss rate is small, average transmission time is not greatly impacted When loss rate is large, time increases drastically (see TCP-Newreno test below, randomly dropped packets) 15

Worcester Polytechnic Institute Why Does Variability Happen? High loss rate = high chance for TCP to enter exponential backoff (congestion avoidance) phase, resulting in more variability Low loss rate = two options for TCP: transmit aggressively with slow-start or transmit in congestion avoidance phase, resulting in more variability (less consistency) First source of variability is on individual packets—greater impact on short flows due to number Second source of variability in end-phase—greater impact on long flows which finish beyond slow- start 16

Worcester Polytechnic Institute Comparison by Simulation Network simulator ns by E. Amir et al. 10 long flows (100 packets) vs. 10 short flows (10,000 packets) (TCP-Newreno) 1.25Mbps link 17

Worcester Polytechnic Institute Too Unfair to Elephants? RIO-PS (preferential treatment to short flows) graph shows short flows taking more of the total link utilization than long flows... unequal This is OK; early completion returns resources to long flows, so long-term goodput is maintained In fact, it results in a more stable environment for long flows because of fewer disturbances from short flows (once they finish) 18

Worcester Polytechnic Institute Goodput Comparison Overall goodput for all flows remains stable 500 second simulation, note difference in load (RED and RIO-PS favor higher loads) 19

Worcester Polytechnic Institute Implementation: Edge Routers Employ a Diffserv-like network architecture to differentiate between short and long TCP flows This is done through edge routers  Edge router tracks each flow, counting packets  Once a threshold L t is met, flow is considered long (the first L t packets of such a flow are considered short) Authors claim this is OK because first few packets are vulnerable to packet losses, and this makes the system fair to all starting TCP connections  Every so often (T u time units), flow is considered finished if no packets are observed in the period 20

Worcester Polytechnic Institute Choosing Variables Threshold L t can be static or dynamic; can allow edge router to modify every T c based on short and long flow counts... the Short-to-Long-Ratio (SLR) Choosing T u and T c needs further research (T u = 1 sec, T c = 10 sec in simulation) 21

Worcester Polytechnic Institute Implementation: Core Routers Core routers give preferential treatment to short packets using RIO See packet dropping figure below; note that In (short) packet queuing is not affected by Out (long) packet arrivals 22

Worcester Polytechnic Institute Packet Reordering: Not a Problem Only one FIFO queue is used for all packets, short and long  No packet reordering even if same-flow packets are classified differently 23

Worcester Polytechnic Institute Simulation Is RIO-PS as beneficial as claimed? 24

Worcester Polytechnic Institute Simulation of RIO-PS Web traffic model; each page requires TCP connection  Tuned to maximize power, ratio between throughput and delay. High power implies high throughput and low delay 25

Worcester Polytechnic Institute Single Client Experiment 4,000-second simulation  (2,000-second warm-up) Record response time using preferential treatment  What about initial timeout (ITO) from 3 seconds to 1 second? Authors warn unnecessary retransmissions may lead to congestion collapse (slow links or high round-trip delay), but plot results anyway (donkey) 26

Worcester Polytechnic Institute Advantage Performance improvements; reduction on overall mark/drop rate without risk of queue overload at the bottleneck link  Why? Short flows now have fewer packet drops, which means fewer congestion notifications 27

Worcester Polytechnic Institute Fairness Index Computed using a fairness index formula based on response time T i 28

Worcester Polytechnic Institute Fairness Index Continued Transmission times and goodput 29

Worcester Polytechnic Institute Unbalanced Requests Experiment Paper suggests preferential treatment still helps, but results are captured in another paper due to space limitation 30

Worcester Polytechnic Institute Evaluation Does the model hold in real-world cases? Can it be feasibly deployed? 31

Worcester Polytechnic Institute Evaluating the Simulation Model The web traffic model used for simulation is the “Dumbbell and Dancehall” one-way traffic model Guo and Matta claim that the RIO-PS scheme still grants an advantage when reverse traffic is present  Why? Short exchanges due to control packet handling on the client side are protected by this scheme (due to the preferential treatment) Authors also say simulation results mean RIO-PS works in extremely unbalanced cases, so odd traffic topologies would not be a problem (is this true?) 32

Worcester Polytechnic Institute Evaluating Deployment A paper on edge devices is referenced to show that per-flow state maintenance (In vs. Out) and per-packet processing does not significantly impact end-to-end performance (sounds nebulous) RIO-PS only needs to be implemented at busy bottleneck links 33

Worcester Polytechnic Institute Conclusions RIO-PS benefits short connections, which represent the majority of TCP flows  Long flows are thus minimally impacted Goodput is either the same or improved, depending on the network Flexible architecture; only edge routers need to be tuned 34