Mathematical models of the Internet Frank Kelly www.statslab.cam.ac.uk/~frank Hood Fellowship Public Lecture University of Auckland 3 April 2012.

Slides:



Advertisements
Similar presentations
Modelling and Stability of TCP Peter Key MSR Cambridge.
Advertisements

Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Traffic Control and the Problem of Congestion within the Internet By Liz Brown and Nadine Sur.
Internet Protocols Steven Low CS/EE netlab.CALTECH.edu October 2004 with J. Doyle, L. Li, A. Tang, J. Wang.
Restless bandits and congestion control Mark Handley, Costin Raiciu, Damon Wischik UCL.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
CS640: Introduction to Computer Networks Mozafar Bag-Mohammadi Lecture 3 TCP Congestion Control.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Resource Pooling A system exhibits complete resource pooling if it behaves as if there was a single pooled resource. The Internet has many mechanisms for.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
Congestion control principles Presentation by: Farhad Rad (Advanced computer Networks Lesson in
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.
TCP Stability and Resource Allocation: Part II. Issues with TCP Round-trip bias Instability under large bandwidth-delay product Transient performance.
Resource pricing and the evolution of congestion control By R. J. Gibbens and F. P. Kelly.
Lecture 9. Unconstrained Optimization Need to maximize a function f(x), where x is a scalar or a vector x = (x 1, x 2 ) f(x) = -x x 2 2 f(x) = -(x-a)
Comparing flow-oblivious and flow-aware adaptive routing Sara Oueslati and Jim Roberts France Telecom R&D CISS 2006 Princeton March 2006.
Charge-Sensitive TCP and Rate Control Richard J. La Department of EECS UC Berkeley November 22, 1999.
Network control Frank Kelly University of Cambridge Conference on Information Science and Systems Princeton, 22 March 2006.
Bandwidth sharing: objectives and algorithms Jim Roberts France Télécom - CNET Laurent Massoulié Microsoft Research.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
Network Bandwidth Allocation (and Stability) In Three Acts.
High speed TCP’s. Why high-speed TCP? Suppose that the bottleneck bandwidth is 10Gbps and RTT = 200ms. Bandwidth delay product is packets (1500.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
TCP Friendliness CMPT771 Spring 2008 Michael Jia.
Rethinking Internet Traffic Management: From Multiple Decompositions to a Practical Protocol Jiayue He Princeton University Joint work with Martin Suchara,
Estimating Congestion in TCP Traffic Stephan Bohacek and Boris Rozovskii University of Southern California Objective: Develop stochastic model of TCP Necessary.
Combining Multipath Routing and Congestion Control for Robustness Peter Key.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jennifer Rexford Princeton University With Jiayue He, Rui Zhang-Shen, Ying Li,
Particle Filtering in Network Tomography
1 EL736 Communications Networks II: Design and Algorithms Class2: Network Design Problems -- Notation and Illustrations Yong Liu 09/12/2007.
Experiences in Design and Implementation of a High Performance Transport Protocol Yunhong Gu, Xinwei Hong, and Robert L. Grossman National Center for Data.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Blocking of transitions Kelly / Whittle network Optimal design of a Kelly / Whittle.
L14. Fair networks and topology design D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
Mazumdar Ne X tworking’03 June 23-25,2003, Chania, Crete, Greece The First COST-IST(EU)-NSF(USA) Workshop on EXCHANGES & TRENDS IN N ETWORKING 1 Non-convex.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Korea Advanced Institute of Science and Technology Network Systems Lab. 1 Dual-resource TCP/AQM for processing-constrained networks INFOCOM 2006, Barcelona,
High-speed TCP  FAST TCP: motivation, architecture, algorithms, performance (by Cheng Jin, David X. Wei and Steven H. Low)  Modifying TCP's Congestion.
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.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jiayue He, Rui Zhang-Shen, Ying Li, Cheng-Yen Lee, Jennifer Rexford, and Mung.
Some questions about multipath Damon Wischik, UCL Trilogy UCL.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Un-Cooperative Congestion Control Kartikeya Chandrayana Prof. Shivkumar Kalyanaraman ECSE Dept., R.P.I. (
June 4, 2003EE384Y1 Demand Based Rate Allocation Arpita Ghosh and James Mammen {arpitag, EE 384Y Project 4 th June, 2003.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
The Macroscopic behavior of the TCP Congestion Avoidance Algorithm.
Scalable Laws for Stable Network Congestion Control Fernando Paganini UCLA Electrical Engineering IPAM Workshop, March Collaborators: Steven Low,
Explicit Allocation of Best-Effort Service Goal: Allocate different rates to different users during congestion Can charge different prices to different.
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP Congestion Control.
D. AriflerCMPE 548 Fall CMPE 548 Routing and Congestion Control.
Optimization-based Cross-Layer Design in Networked Control Systems Jia Bai, Emeka P. Eyisi Yuan Xue and Xenofon D. Koutsoukos.
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.
1 Network Transport Layer: TCP Analysis and BW Allocation Framework Y. Richard Yang 3/30/2016.
Corelite Architecture: Achieving Rated Weight Fairness
A Stochastic Model for TCP with Stationary Random Losses
CS 268: Lecture 6 Scott Shenker and Ion Stoica
Traffic Engineering with AIMD in MPLS Networks
Congestion control principles
TCP Congestion Control
TCP Congestion Control
Lecture 19 – TCP Performance
Hemant Kr Rath1, Anirudha Sahoo2, Abhay Karandikar1
TCP Congestion Control
Internet congestion control
Understanding Congestion Control Mohammad Alizadeh Fall 2018
Presentation transcript:

Mathematical models of the Internet Frank Kelly Hood Fellowship Public Lecture University of Auckland 3 April 2012

Source: CAIDA, Young Hyun

Source: CAIDA - Young Hyun, Bradley Huffaker (displayed at MOMA)

Physical technology Applications TCP/IP Functional view

Outline End-to-end congestion control –square-root formula Utilities and fairness –optimization formulation Multipath routing –reliability, robustness

End-to-end congestion control Senders learn (through feedback from receivers) of congestion at queue, and slow down or speed up accordingly. With current TCP, throughput of a flow is proportional to senders receivers T = round-trip time, p = packet drop probability. (Jacobson 1988, Mathis, Semke, Mahdavi, Ott 1997, Padhye, Firoiu, Towsley, Kurose 1998, Floyd and Fall 1999)

Feedback mechanism Now: dropped packets (acknowledgements carry information from receivers to senders) Standards track: Explicit Congestion Notification (Ramakrishnan, Floyd and Black RFC3168) - routers mark packets at queues as overload approached

Control of elastic network flows user resource flow How should available resources be shared between competing streams of elastic traffic? Conceptual problem: fairness Pragmatic problem: stability of rate control algorithm

utility, U(x) rate, x utility, U(x) rate, x Elastic flows elastic traffic - prefers to share (Shenker) inelastic traffic - prefers to randomize

Network structure (J, R, A) - set of resources - set of routes - if resource j is on route r - otherwise resource route

Notation - set of resources - set of users, or routes - resource j is on route r - flow rate on route r - utility to user r - capacity of resource j - capacity constraints

The system problem Maximize aggregate utility, subject to capacity constraints SYSTEM(U,A,C):

The user problem User r chooses an amount to pay per unit time, w r, and receives in return a flow x r =w r / r USER r (U r ; r ):

As if the network maximizes a logarithmic utility function, but with constants {w r } chosen by the users NETWORK(A,C;w): The network problem

Problem decomposition Theorem: the system problem may be solved by solving simultaneously the network problem and the user problems

Max-min fairness Rates {x r } are max-min fair if they are feasible: and if, for any other feasible rates {y r },

Proportional fairness Rates {x r } are proportionally fair if they are feasible: and if, for any other feasible rates {y r }, the aggregate of proportional changes is negative:

Weighted proportional fairness A feasible set of rates {x r } are such that are weighted proportionally fair if, for any other feasible rates {y r },

Fairness and the network problem Theorem: a set of rates {x r } solves the network problem, NETWORK(A,C;w), if and only if the rates are weighted proportionally fair

Bargaining problem (Nash, 1950) Solution to NETWORK(A,C;w) with w = 1 is unique point satisfying Pareto efficiency Symmetry Independence of Irrelevant Alternatives (General w corresponds to a model with unequal bargaining power)

Market clearing equilibrium (Gale, 1960) Find prices p and an allocation x such that (feasibility) (complementary slackness) (endowments spent) Solution solves NETWORK(A,C;w)

Fairness criteria We’ve seen three fairness criteria: proportional fairness max-min fairness TCP-fairness (as described by the square-root formula) Can we unify these fairness criteria within a single framework?

subject to maximize Optimization formulation Suppose the allocation x is chosen to (weighted -fair allocations, Mo and Walrand 2000)

- shadow price for the resource j capacity constraint Observe alignment with square-root formula when Solution

- maximum flow - proportionally fair - TCP fair - max-min fair Examples of -fair allocations subject to maximize

Example 0 11 maximum flow: 1/3 2/3 1/2 max-min fairness: proportional fairness:

Rate control algorithms Can rate control algorithms be interpreted within the optimization framework? Several types of algorithm possible, based on –congestion indication using linear increase and multiplicative decrease rules –explicit rates inversely proportional to network shadow prices

Notation - set of resources - set of routes - resource j is on route r - weight of route r - flow rate on route r at time t - shadow price, or rate of congestion indication, at resource j at time t

A primal algorithm x r (t) - rate changes by linear increase, multiplicative decrease p j (.) - proportion of packets marked a function of flow through resource

Global stability Theorem: the above dynamical system has a stable point to which all trajectories converge. The stable point is proportionally fair with respect to the weights {w r }, and solves the network problem, when

TCP We’ve seen that TCP’s square root formula is interpretable in terms of an optimization problem Next we show that its dynamic behaviour is interpretable as a form of primal algorithm

TCP (Jacobson’s congestion avoidance algorithm) Source maintains a window of sent, but not yet acknowledged, packets - size cwnd cwnd incremented by 1/cwnd on positive ack cwnd decremented by cwnd/2 on congestion change in rate x per unit time is about

Differential equations for TCP

Equilibrium point check: the equilibrium of the dynamical system recovers the inverse square root formula for TCP note again the round-trip time bias

Consequences of RTT bias Question: where to place cache? long uncongested link, T’ short congested links, T user cache? If then short RTT preferred under TCP, even though twice the resource usage

Multipath routing Suppose a source-destination pair has access to several routes across the network: resource route source destination - set of source-destination pairs - route r serves s-d pair s Combined multipath routing and congestion control: a robust Internet architecture. Key, Massoulié & Towsley 2005

Routing and optimization formulation subject to maximize Suppose is chosen to ( H is an incidence matrix, showing which routes serve a source-destination pair )

Example of multipath routing Routes, as well as flow rates, are chosen to optimize over source-destination pairs s

First cut constraint Cut defines a single pooled resource

Second cut constraint Cut defines a second pooled resource

Conclusions Mathematical models of end-to-end congestion control show it to be a distributed algorithm that: solves an optimization problem; computes a fair allocation; and finds a market clearing equilibrium. The models provide a framework for engineering efforts to improve reliability and robustness.

Further information and references are available at: