Un-Cooperative Congestion Control Kartikeya Chandrayana Prof. Shivkumar Kalyanaraman ECSE Dept., R.P.I. (http://www.rpi.edu/~chandk)

Slides:



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

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.
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.
CNDS 2001, Phoenix, AZ Simulating the Smart Market Pricing Scheme on Differentiated- Services Architecture Murat Yuksel and Shivkumar Kalyanaraman Rensselaer.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
Mathematical models of the Internet Frank Kelly Hood Fellowship Public Lecture University of Auckland 3 April 2012.
Ahmed El-Hassany CISC856: CISC 856 TCP/IP and Upper Layer Protocols Slides adopted from: Injong Rhee, Lisong Xu.
On Impact of Non-Conformant Flows on a Network of Drop-Tail Gateways Kartikeya Chandrayana Shivkumar Kalyanaraman ECSE Dept., R.P.I. (
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #05: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #07 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
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,
The Power of Explicit Congestion Notification Aleksandar Kuzmanovic Northwestern University
Congestion Pricing Overlaid on Edge-to-Edge Congestion Control Murat Yuksel, Shivkumar Kalyanaraman and Anuj Goel Rensselaer Polytechnic Institute, Troy,
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
Networks: Congestion Control1 Congestion Control.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
Improving Adaptability and Fairness in Internet Congestion Control May 30, 2001 Seungwan Ryu PhD Student of IE Department University at Buffalo.
RAP: An End-to-End Rate-Based Congestion Control Mechanism for Realtime Streams in the Internet Reza Rejai, Mark Handley, Deborah Estrin U of Southern.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
ACN: Congestion Control1 Congestion Control and Resource Allocation.
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.
Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
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.
1 MaxNet and TCP Reno/RED on mice traffic Khoa Truong Phan Ho Chi Minh city University of Technology (HCMUT)
Link Scheduling & Queuing COS 461: Computer Networks
U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl
Advanced Computer Networking
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Congestion Control - Supplementary Slides are adapted on Jean Walrand’s Slides.
MaxNet NetLab Presentation Hailey Lam Outline MaxNet as an alternative to TCP Linux implementation of MaxNet Demonstration of fairness, quick.
Congestion Control in CSMA-Based Networks with Inconsistent Channel State V. Gambiroza and E. Knightly Rice Networks Group
Requirements for Simulation and Modeling Tools Sally Floyd NSF Workshop August 2005.
Congestion Control for High Bandwidth-Delay Product Networks D. Katabi (MIT), M. Handley (UCL), C. Rohrs (MIT) – SIGCOMM’02 Presented by Cheng.
CSE 561 – Congestion Control with Network Support David Wetherall Spring 2000.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
15744 Course Project1 Evaluation of Queue Management Algorithms Ningning Hu, Liu Ren, Jichuan Chang 30 April 2001.
TCP Westwood: Efficient Transport for High-speed wired/wireless Networks 2009.
Analysis of Buffer Size in Core Routers by Arthur Dick Supervisor Anirban Mahanti.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Winter 2008CS244a Handout 81 CS244a: An Introduction to Computer Networks Handout 8: Congestion Avoidance and Active Queue Management Nick McKeown Professor.
Thoughts on the Evolution of TCP in the Internet (version 2) Sally Floyd ICIR Wednesday Lunch March 17,
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
1 Novel Function Placement of Congestion Control Building Blocks in the Internet Kartikeya Chandrayana.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Thoughts on the Evolution of TCP in the Internet Sally Floyd PFLDnet 2004 February 16, 2004.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
CS 268: Lecture 5 (TCP Congestion Control) Ion Stoica February 4, 2004.
1 Transport Bandwidth Allocation 3/29/2012. Admin. r Exam 1 m Max: 65 m Avg: 52 r Any questions on programming assignment 2 2.
Congestion Control for High Bandwidth-Delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs Presented by Yufei Chen.
Chapter 3 outline 3.1 transport-layer services
Router-Assisted Congestion Control
TCP Congestion Control
TCP Congestion Control
Queuing and Queue Management
Random Early Detection Gateways for Congestion Avoidance
Title: An Adaptive Queue Management Method for Congestion Avoidance in TCP/IP Networks Presented By: Frank Posluszny Vishal Phirke Matt Hartling 12/31/2018.
TCP Congestion Control
April 10, 2006, Northwestern University
Presentation transcript:

Un-Cooperative Congestion Control Kartikeya Chandrayana Prof. Shivkumar Kalyanaraman ECSE Dept., R.P.I. (

Outline Review Motivation Previous Work Network Optimization Proposed Framework Results

Present Internet Uses TCP. –TCP Variants Tahoe (First Proposal) Reno, New-Reno : Windows 95/98 Sack: Windows Vegas –Other variants possible. Routers Deploy FIFO queues to absorb bursts.

Internet Dynamics Search Game: User searches for bandwidth with some help from the network

Feedback from Network Positive Feedback –Acks Negative Feedback –Implicit Drop Packets –Explicit Mark Packets –Set a bit in the packet. –This bit is echoed in the Acks Explicit Congestion Notification (ECN)

TCP Slow Start –Probe exponentially for bandwidth. Congestion Avoidance –Send w packets in a round-trip time. –If receive w acks then put w+1 packets in next RTT –If congestion put w/2 packets in next RTT.

TCP Variants TCP Friendliness : Any rate control scheme gets the same throughput as TCP under same operating conditions. Why ? TCP does not get beaten down by newer protocols Examples of TCP-Friendly Protocols:  SQRT: Increase: 1/sqrt(w) Decrease: sqrt(w)  IIAD : Increase: 1/wDecrease: 1 Mathematical Definition: x: Rate = w/RTTp: loss rate TCP Friendliness  x  1/sqrt(p)

But.. Application needs changed. –Different congestion control protocols. Real-Player, Windows Media, Quake, Half-Life etc. –Some of these are constant rate protocols. Linux, FreeBSD Boxes came along. –Make your own TCP. –If receive w acks then put w+5 packets in next RTT –If congestion put 3w/4 packets in next RTT.

So.. Users can choose their rate control algo  Rate Control Scheme  rate allocation.  Aggressive Rate Control  More Rate  Incentive for users to misbehave.  But majority of users are responsible. Assume (for now) the network’s standard CC scheme is TCP Any scheme which gets more rate than TCP is uncooperative

Consequences  Selfish flows grab most of the bandwidth.  One form of traffic volume based denial of service attack.  Congestion Collapse  Network has no control over equilibrium rate distributions.  Unfair Sharing aggravated on a network of Drop-Tail queues

Effect of Misbehavior Long Flow: Conformant (TCP Reno, U=-1/x), Short Flows: Mis-Behaving (U=- 1/x 0.5 ) Incr : 1 packet/RTT Decr: sqrt(w) on loss Drop Tail Queue TCP Flows shut out Present Internet is a network of Drop Tail queues Happened in NCSU !

AQM: Active Queue Management Drop Tail (FIFO) queues has limitations. Synchronization: –Queue is full –Packets from all flows are dropped. –All flows cut their rates by half simultaneously. –For a long period link is not fully utilized. –Pattern of simultaneous increase and decrease. AQM: Drop some packets before queue gets full. Some flows get early congestion signal and cut back. Link tends to be fully utilized. Example: Random Early Drop (RED) Selfish flows will probably have more packets in the buffer  Probably they will cut their rates more often.

AQM: Effect of Misbehavior Long Flow: Conformant (TCP Reno, U=-1/x), Short Flows: Mis-Behaving (U=- 1/x 0.5 ) RED RED Helps: Though unfair sharing persists

AQM: Deployment RED was proposed in 1993 Almost all routers have RED. But RED is not deployed ! –No one knows how to configure it. –Providers don’t like to drop packets. –RED too has limitations ! Lots of them Unfair sharing At High Loads RED is worse than Drop Tail ! Present Internet is just network of Drop Tail queues ! Possibility of Volume based Denial of Service Attack

Related Work Some Buffer Mgmt. Scheme Users End System Based Solution: Use same congestion control algorithm Network Routers Network Based Solution: Use AQM/Scheduler in the network Limitation Constrains the choice of congestion control algorithms AQM Placement Required at every router. Limitations May require exchange of control information between all AQMs/Schedulers in the network. Generally only provides Max-Min Fairness. Most Solutions do not work with a Drop Tail queue Network No clean method to manage non-conformant flows What is the right architectural response ?

Detour: Congestion Control- Optimization Frameworks Utility Functions –Economics –One function can capture a group of rate control schemes. –TCP-Friendly schemes imply U(x) = -1/x x (Rate) U(x)

Detour: Congestion Control-Optimization Frameworks Users choose congestion control algorithm.  Choose a Utility Function.  TCP : U(x) = -1/x CC Scheme  Utility function Every user maximizes his own utility function. Distributed optimization. Network communicates price (loss, mark, delay) to users. Users use this price to update their rate.

Idea: Managing Non-Conformance: Work in the Utility Function Space Key Design Objectives: Deployment Ease Retain existing link price update rules.  No changes in the core. Retain existing user’s rate updation rules.  Allows users to chose rate control protocol. Should work with either drop or marking based network. Should work on a network of Drop Tail queues. U1U1 U2U2 UsUs Conformant Non Conformant U 1,U 2 define the conformance space U x ( Rate ) Map user’s Utility Function to Conformant Space

User s is described by: –x s : Rate, U s : Utility function, q: end-to-end price –x s = U s ' -1 (q) –If source was using U obj then rate would be: x s = U obj ' -1 (q) Communicate to user the price q new : q new = U s ' (U obj ' -1 (q)) Now user’s update algorithm looks like x s = U s ' -1 (q new )  x s = U obj ' -1 (q)  Appears as if user is maximizing U obj ! Map user’s utility function to some (or range of) objective utility function U s  U obj, U obj  [U 1, U 2 ] How? By Penalty Function Transformation

Core Network (No Changes) Any queue mgmt algorithm  Drop Tail/RED etc. Core Routers Edge Routers Edge Based Re-Marking Agent Maps utility function Manages Selfish Flows. ( Decouple it from AQM design ) Provides Service differentiation ( Map users to different utility functions ). Users Free to choose their congestion control algorithm Either marking or dropping Idea: the Edge, Not in AQM Decouple Management of Non-Conformant Flows from AQM Design

Users Network Routers Placement Destination Mark Packets Mark Acks Mark Acks Drop Packets

What do we need to make it work ? Need to identify misbehaving flows. –Smart Sampling in Netflow, Sample & Hold etc Estimate loss/mark rate –Currently using EWMA, WALI methods of TFRC Estimate utility function –Currently using Least Squares, Recursive LS –Needs only estimates of sending and loss rates Scalability –Keep state about only mis-behaving flows CBR/UDP flows –Need to drop (Marking does not work)

Re-Marker Design Implemented it in Network Simulator Estimation of loss rate Estimation of throughput Get utility function estimate Compute the Re-Marking function Appropriately Mark/Drop packets. –Can also Mark Acks Different Algorithm for CBR flows.

Results: Single Bottleneck Conformance: TCP-Friendliness 2 Flows: Conformant (TCP Reno, U=-1/x), Mis-Behaving (U=-1/x 0.5 ) Packet Drop Based Network. Drop packets from mis-behaving flows at the edge of the network. Marking Based Network. Re-mark packets from mis-behaving flows at the edge of the network. Drop Tail RED ECN Enabled

Results: Multi-Bottleneck (Drop Tail) Conformance: TCP-Friendliness Long Flow: Conformant (TCP Reno, U=-1/x), Short Flows: Mis-Behaving (U=- 1/x 0.5 ) TCP Flows shut out Framework prevents volume based denial of service attack. Without Re-Mapping With Re-Mapping

Results: Multi-Bottleneck (RED) Conformance: TCP-Friendliness Long Flow: Conformant (TCP Reno, U=-1/x), Short Flows: Mis-Behaving (U=- 1/x 0.5 ) Framework improves fair sharing of network Without Re-Mapping With Re-Mapping

Results: Multi-Bottleneck in an ECN Enabled Network Ideal Case No Re-Mapping With Re-Mapping Conformance: TCP-Friendliness Long Flow: Conformant (TCP Reno, U=-1/x), Short Flows: Mis-Behaving (U=- 1/x 0.5 )

More Results Background Traffic –Web (http) Traffic –Single/Multi Bottleneck scenarios Cross Traffic –Reverse path congestion –Especially important with RED –Multi-Bottleneck scenarios Comparison with other AQM schemes Differentiated Services

Conclusions On a network of Drop Tail queues Mis-Behaving flows can force Traffic Volume based denial of service attack. –RED can prevent it though not unfair sharing. Edge-based transformation of price can handle misbehaving flows –No changes in the core No need to add penalty box functions in the context of AQM schemes (eg: CHoKe …) –Decouple mgmt of non-conformant flows from AQM Design. Works with packet drop or packet marking (ECN) Independent of buffer management algorithm. Limitation : Path Asymmetry –Different Exit and Entry routers

Thanks For more details see   Or