Optimization models for congestion control with multipath routing in TCP/IP networks



Similar documents
Optimization of Communication Systems Lecture 6: Internet TCP Congestion Control

Seamless Congestion Control over Wired and Wireless IEEE Networks

Functional Optimization Models for Active Queue Management

Controlling the Internet in the era of Software Defined and Virtualized Networks. Fernando Paganini Universidad ORT Uruguay

AN IMPROVED SNOOP FOR TCP RENO AND TCP SACK IN WIRED-CUM- WIRELESS NETWORKS

Routing in packet-switching networks

TCP in Wireless Mobile Networks

Horizon: Balancing TCP over multiple paths in wireless mesh networks

Performance Analysis of AQM Schemes in Wired and Wireless Networks based on TCP flow

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

The Quality of Internet Service: AT&T s Global IP Network Performance Measurements

Active Queue Management (AQM) based Internet Congestion Control

Transport layer issues in ad hoc wireless networks Dmitrij Lagutin,

Rate-Based Active Queue Management: A Green Algorithm in Congestion Control

Protagonist International Journal of Management And Technology (PIJMT) Online ISSN Vol 2 No 3 (May-2015) Active Queue Management

Chapter 1. Introduction

Introduction to LAN/WAN. Network Layer

Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

CSE3214 Computer Network Protocols and Applications. Chapter 1 Examples and Homework Problems

TCP/IP Performance with Random Loss and Bidirectional Congestion

2004 Networks UK Publishers. Reprinted with permission.

Performance of networks containing both MaxNet and SumNet links

Analysis of TCP Performance Over Asymmetric Wireless Links

17: Queue Management. Queuing. Mark Handley

4 Internet QoS Management

Master s Thesis. A Study on Active Queue Management Mechanisms for. Internet Routers: Design, Performance Analysis, and.

Question: 3 When using Application Intelligence, Server Time may be defined as.

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

On Packet Marking Function of Active Queue Management Mechanism: Should It Be Linear, Concave, or Convex?

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

Packet Queueing Delay

Analyzing Marking Mod RED Active Queue Management Scheme on TCP Applications

Pareto Set, Fairness, and Nash Equilibrium: A Case Study on Load Balancing

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

Using Fuzzy Logic Control to Provide Intelligent Traffic Management Service for High-Speed Networks ABSTRACT:

An enhanced TCP mechanism Fast-TCP in IP networks with wireless links

Ring Protection: Wrapping vs. Steering

Why Congestion Control. Congestion Control and Active Queue Management. Max-Min Fairness. Fairness

Applying Active Queue Management to Link Layer Buffers for Real-time Traffic over Third Generation Wireless Networks

Network congestion, its control and avoidance

Load Balancing and Switch Scheduling

Using median filtering in active queue management for telecommunication networks

Multipath TCP design, and application to data centers. Damon Wischik, Mark Handley, Costin Raiciu, Christopher Pluntke

TCP for Wireless Networks

CS268 Exam Solutions. 1) End-to-End (20 pts)

STANDPOINT FOR QUALITY-OF-SERVICE MEASUREMENT

Parallel TCP Data Transfers: A Practical Model and its Application

TCP, Active Queue Management and QoS

Comparative Analysis of Congestion Control Algorithms Using ns-2

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

Data Center Networking with Multipath TCP

REM: Active Queue Management

How will the programme be delivered (e.g. inter-institutional, summerschools, lectures, placement, rotations, on-line etc.):

Robust Router Congestion Control Using Acceptance and Departure Rate Measures

Requirements for Simulation and Modeling Tools. Sally Floyd NSF Workshop August 2005

TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

How To Write A Transport Layer Protocol For Wireless Networks

Per-Flow Queuing Allot's Approach to Bandwidth Management

Congestion Control of Active Queue Management Routers Based on LQ-Servo Control

About the Stability of Active Queue Management Mechanisms

Transport Layer Protocols

CA-AQM: Channel-Aware Active Queue Management for Wireless Networks

CHAPTER 8 CONCLUSION AND FUTURE ENHANCEMENTS

Performance Evaluation of Active Queue Management Using a Hybrid Approach

Design and Modeling of Internet Protocols. Dmitri Loguinov March 1, 2005

Active Queue Management A router based control mechanism

Data Networks Summer 2007 Homework #3

BRAESS-LIKE PARADOXES FOR NON-COOPERATIVE DYNAMIC LOAD BALANCING IN DISTRIBUTED COMPUTER SYSTEMS

Analysis of Internet Transport Service Performance with Active Queue Management in a QoS-enabled Network

NOVEL PRIORITISED EGPRS MEDIUM ACCESS REGIME FOR REDUCED FILE TRANSFER DELAY DURING CONGESTED PERIODS

APPENDIX 1 USER LEVEL IMPLEMENTATION OF PPATPAN IN LINUX SYSTEM

Chapter 3 ATM and Multimedia Traffic

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Student, Haryana Engineering College, Haryana, India 2 H.O.D (CSE), Haryana Engineering College, Haryana, India

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

TCP and UDP Performance for Internet over Optical Packet-Switched Networks

A Survey: High Speed TCP Variants in Wireless Networks

IRMA: Integrated Routing and MAC Scheduling in Multihop Wireless Mesh Networks

Active Queue Management of TCP Flows with Self-scheduled Linear Parameter Varying Controllers

Chapter 6: Conclusion

Active Queue Management and Wireless Networks

On real-time delay monitoring in software-defined networks

Answer: that dprop equals dtrans. seconds. a) d prop. b) d trans

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

SJBIT, Bangalore, KARNATAKA

On the Interaction and Competition among Internet Service Providers

Mobile Computing/ Mobile Networks

TCP in Wireless Networks

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

Network management and QoS provisioning - QoS in the Internet

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Transcription:

Optimization models for congestion control with multipath routing in TCP/IP networks Roberto Cominetti Cristóbal Guzmán Departamento de Ingeniería Industrial Universidad de Chile Workshop on Optimization, Games and Dynamics 28-29 Novembre 2011, Institut Henri Poincaré, Paris

Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 2 / 27

Overview 1 TCP/IP communication protocols 2 Congestion control and network utility maximization 3 Congestion control with Markovian multipath routing Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 3 / 27

TCP/IP Single path routing Communication network G = (N, A) Each source s S transmits packets from origin o s to destination d s At which rate? Along which route? Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 4 / 27

Congestion measures: link delays / packet loss Switch/Router Links have random delays λ a = λ a + ɛ a with E(ɛ a ) = 0 λ a = Queuing + Transmission + Propagation Finite queuing buffers packet loss probability p a Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 5 / 27

TCP/IP Current protocols Route selection (RIP/OSPF/IGRP/BGP/EGP) Dynamic adjustment of routing tables Slow timescale evolution (15-30 seconds) Network Layer 3 Rate control (TCP Reno/Tahoe/Vegas) Dynamic adjustment of source rates congestion window Fast timescale evolution (100-300 milliseconds) Transport Layer 4 Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 6 / 27

TCP Congestion window control Packets Acks Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 7 / 27

TCP Congestion window control Packets Acks x s = source rate congestion window round-trip time = W s τ s Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 8 / 27

TCP Congestion control Sources adjust transmission rates in response to congestion Basic principle: higher congestion smaller rates x s : source transmission rate [packets/sec] λ a : link congestion measure (loss pbb, queuing delay) y a = s a x s q s = a s λ a (aggregate link loads) (end-to-end congestion) Decentralized algorithms xs t+1 = F s (xs t, qs) t (TCP source dynamics) λ t+1 a = G a (λ t a, ya) t (AQM link dynamics) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 9 / 27

TCP Congestion control Sources adjust transmission rates in response to congestion Basic principle: higher congestion smaller rates x s : source transmission rate [packets/sec] λ a : link congestion measure (loss pbb, queuing delay) y a = s a x s q s = a s λ a (aggregate link loads) (end-to-end congestion) Decentralized algorithms xs t+1 = F s (xs t, qs) t (TCP source dynamics) λ t+1 a = G a (λ t a, ya) t (AQM link dynamics) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 9 / 27

TCP Congestion control Sources adjust transmission rates in response to congestion Basic principle: higher congestion smaller rates x s : source transmission rate [packets/sec] λ a : link congestion measure (loss pbb, queuing delay) y a = s a x s q s = a s λ a (aggregate link loads) (end-to-end congestion) Decentralized algorithms xs t+1 = F s (xs t, qs) t (TCP source dynamics) λ t+1 a = G a (λ t a, ya) t (AQM link dynamics) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 9 / 27

Example: TCP-Reno / packet loss probability AIMD control { W t Ws t+τs = s + 1 Ws t /2 if Ws t packets are successfully transmitted one or more packets are lost (duplicate ack s) π t s = a s (1 pt a) = success probability (per packet) Additive congestion measure q t s ln(π t s) λ t a ln(1 p t a) Approximate model for rate dynamics } qs t = a s λt a E(Ws t+τs Ws t ) e qt s Ws t (Ws t + 1) + (1 e qt s Ws t ) Ws t /2 ] xs t+1 = xs t + 1 2τ s [e τsqt s xt s (x t s + 2 τ s ) xs t Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 10 / 27

Example: TCP-Reno / packet loss probability AIMD control { W t Ws t+τs = s + 1 Ws t /2 if Ws t packets are successfully transmitted one or more packets are lost (duplicate ack s) π t s = a s (1 pt a) = success probability (per packet) Additive congestion measure q t s ln(π t s) λ t a ln(1 p t a) Approximate model for rate dynamics } qs t = a s λt a E(Ws t+τs Ws t ) e qt s Ws t (Ws t + 1) + (1 e qt s Ws t ) Ws t /2 ] xs t+1 = xs t + 1 2τ s [e τsqt s xt s (x t s + 2 τ s ) xs t Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 10 / 27

Example: TCP-Reno / packet loss probability AIMD control { W t Ws t+τs = s + 1 Ws t /2 if Ws t packets are successfully transmitted one or more packets are lost (duplicate ack s) π t s = a s (1 pt a) = success probability (per packet) Additive congestion measure q t s ln(π t s) λ t a ln(1 p t a) Approximate model for rate dynamics } qs t = a s λt a E(Ws t+τs Ws t ) e qt s Ws t (Ws t + 1) + (1 e qt s Ws t ) Ws t /2 ] xs t+1 = xs t + 1 2τ s [e τsqt s xt s (x t s + 2 τ s ) xs t Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 10 / 27

Example: AQM / Droptail RED-REM Marking probability on links controlled by AQM p t a = ϕ a (r t a) as a function of the link s average queue length r t+1 a = (1 α)r t a + αl t a Loss probability vs. average queue length Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 11 / 27

Network Utility Maximization Kelly, Maullo and Tan (1998) proposed an optimization-based model for distributed rate control in networks. Low, Srikant, etc. (1999-2002) showed that current TCP/AQM control algorithms solve an implicit network optimization problem. During last decade, the model has been used and extended to study the performance of wired and wireless networks. Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 12 / 27

Steady state equations x t+1 λ t+1 s = F s (xs t, qs) t (TCP source dynamics) a = G a (λ t a, ya) t (AQM link dynamics) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 13 / 27

Steady state equations x s = F s (x s, q s ) (TCP source equilibrium) λ a = G a (λ a, y a ) (AQM link equilibrium) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 13 / 27

Steady state equations x s = F s (x s, q s ) (TCP source equilibrium) λ a = G a (λ a, y a ) (AQM link equilibrium) x s = f s (q s ) λ a = ψ a (y a ) (decreasing) (increasing) q s = a s λ a y a = s a x s Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 13 / 27

Steady state equations x s = F s (x s, q s ) (TCP source equilibrium) λ a = G a (λ a, y a ) (AQM link equilibrium) x s = f s (q s ) λ a = ψ a (y a ) q s = a s λ a y a = s a x s (decreasing) (increasing) x s = f s ( a s λ a) λ a = ψ a ( s a x s) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 13 / 27

Examples Workshop on Optimization, Games and Dynamics IHP, Paris, 28-29 Novembre 2011 TCP-Reno (loss probability) q s = f 1 s (x s ) 1 τ sx s ln(1 + 2 τ sx s ) λ a = ψ a (y a ) δya c a y a TCP-Vegas (queueing delay) q s = f 1 s (x s ) ατs x s λ a = ψ a (y a ) y a c a y a Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 14 / 27

Steady state Primal optimality x s = f s ( a s λ a) λ a = ψ a ( s a x s) f 1 s (x s ) = a s λ a = a s ψ a( u a x u) optimal solution of strictly convex program (P) min x s S U s(x s ) + a A Ψ a( s a x s) U s( ) = f 1 s ( ) Ψ a( ) = ψ a ( ) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 15 / 27

Steady state Primal optimality x s = f s ( a s λ a) λ a = ψ a ( s a x s) f 1 s (x s ) = a s λ a = a s ψ a( u a x u) optimal solution of strictly convex program (P) min x s S U s(x s ) + a A Ψ a( s a x s) U s( ) = f 1 s ( ) Ψ a( ) = ψ a ( ) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 15 / 27

Steady state Dual optimality x s = f s ( a s λ a) λ a = ψ a ( s a x s) ψ 1 a (λ a ) = s a x s = s a f s( b s λ b) optimal solution of strictly convex program (D) min λ a A Ψ a(λ a ) + s S U s ( a s λ a) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 16 / 27

Steady state Dual optimality x s = f s ( a s λ a) λ a = ψ a ( s a x s) ψ 1 a (λ a ) = s a x s = s a f s( b s λ b) optimal solution of strictly convex program (D) min λ a A Ψ a(λ a ) + s S U s ( a s λ a) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 16 / 27

Theorem (Low 2003) x s = f s ( a s λ a) λ a = ψ a ( s a x s) x and λ are optimal solutions for (P) and (D) respectively Relevance: Reverse engineering of existing protocols / forward engineering (f s, ψ a ) Design distributed stable protocols to optimize prescribed utilities Flexible choice of congestion measure q s Limitations: Ignores delays in transmission of congestion signals Improper account of stochastic phenomena Single-path routing Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 17 / 27

Theorem (Low 2003) x s = f s ( a s λ a) λ a = ψ a ( s a x s) x and λ are optimal solutions for (P) and (D) respectively Relevance: Reverse engineering of existing protocols / forward engineering (f s, ψ a ) Design distributed stable protocols to optimize prescribed utilities Flexible choice of congestion measure q s Limitations: Ignores delays in transmission of congestion signals Improper account of stochastic phenomena Single-path routing Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 17 / 27

Theorem (Low 2003) x s = f s ( a s λ a) λ a = ψ a ( s a x s) x and λ are optimal solutions for (P) and (D) respectively Relevance: Reverse engineering of existing protocols / forward engineering (f s, ψ a ) Design distributed stable protocols to optimize prescribed utilities Flexible choice of congestion measure q s Limitations: Ignores delays in transmission of congestion signals Improper account of stochastic phenomena Single-path routing Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 17 / 27

Markovian Network Utility Maximization (MNUM) Increase transmission rates: single path multi-path Goal: design distributed TCP protocols with multi-path routing Packet-level protocol that is stable and satisfies optimality criteria Model based on the notion of Markovian traffic equilibrium Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 18 / 27

MNUM: integrated routing & rate control Cross-layer design: routing + rate control Based on a common congestion measure: delay Link random delays λ a = λ a + ɛ a with E(ɛ a ) = 0 λ a = Queuing + Transmission + Propagation Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 19 / 27

MNUM: Markovian multipath routing At switch i, packets headed to destination d are routed through the outgoing link a A + i that minimizes the observed cost-to-go τ i d = min a A + λ a + τj d i } {{ } a z a d Markov chain with transition matrix P d ij = { P( z d a z d b, b A+ i ) if i = i a, j = j a 0 otherwise Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 20 / 27

MNUM: Markovian multipath routing At switch i, packets headed to destination d are routed through the outgoing link a A + i that minimizes the observed cost-to-go τ i d = min a A + λ a + τj d i } {{ } a z a d Markov chain with transition matrix P d ij = { P( z d a z d b, b A+ i ) if i = i a, j = j a 0 otherwise Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 20 / 27

Expected flows (invariant measures) The flow φ d i entering node i and directed towards d φ d i = os =i x s + a A ds =d i v d a splits among the outgoing links a = (i, j) according to v d a = φ d i P d ij Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 21 / 27

Expected costs Letting z d a = E( z d a ) and τ d i = E( τ d i ), we have z d a = λ a + τ d j a τ d i = ϕ d i (zd ) with ϕ d i (zd ) E(min a A + [za d + ɛ d a ]) i Moreover ( P z a d z b d, b A+ i ) = ϕd i za d (z d ) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 22 / 27

Expected costs Letting z d a = E( z d a ) and τ d i = E( τ d i ), we have z d a = λ a + τ d j a τ d i = ϕ d i (zd ) with ϕ d i (zd ) E(min a A + [za d + ɛ d a ]) i Moreover ( P z a d z b d, b A+ i ) = ϕd i za d (z d ) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 22 / 27

Markovian NUM Definition x s = f s (q s ) λ a = ψ a (y a ) y a = d v a d q s = τ s τs 0 (source rate control) (link congestion) (total link flows) (end-to-end queuing delay) where τ s = τ ds o s with expected costs given by { z d (ZQ) a = λ a + τj d a τi d = ϕ d i (zd ) and expected flows v d satisfying (FC) φ d i = os =i x s + a A ds =d i v d a = φ d i v d a i d ϕ d i (z d ) a A + za d i Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 23 / 27

MNUM Characterization: Dual problem (ZQ) defines implicitly za d and τi d as concave functions of λ x s = f s (q s ) with q s = τo ds s (λ) τo ds s (λ 0 ) yields x s as a function of λ (FC) then defines va d as functions of λ MNUM conditions ψa 1 (λ a ) = y a = d v a d (λ) Theorem MNUM optimal solution of the strictly convex program (D) min λ a A Ψ a(λ a ) + s S U s (q s (λ)) Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 24 / 27

MNUM Characterization: Primal problem Theorem MNUM optimal solution of where min (x,y,v) P s S U s (x s ) + a A Ψ a (y a ) + d D χ d (v d ) = sup z d (ϕ d i a (z d ) za d )va d a A χ d (v d ) and P is the polyhedron defined by flow conservation constraints. Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 25 / 27

SUMMARY Described an optimization model for TCP/IP equilibrium rates Model extended to multipath routing & rate control (MNUM) Inspired from packet-level distributed protocols Implementable under current TCP/IP standards FUTURE WORK Simulation and testing of MNUM-based protocols Investigate stochastic-stability of protocols Investigate delay-stability of protocols ECN mechanisms for congestion signals Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 26 / 27

SUMMARY Described an optimization model for TCP/IP equilibrium rates Model extended to multipath routing & rate control (MNUM) Inspired from packet-level distributed protocols Implementable under current TCP/IP standards FUTURE WORK Simulation and testing of MNUM-based protocols Investigate stochastic-stability of protocols Investigate delay-stability of protocols ECN mechanisms for congestion signals Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 26 / 27

Some references F. Kelly, A. Maulloo, D. Tan: Rate control for communication networks: Shadow prices, proportional fairness and stability, Journal of Operation Research, (1998). H. Yaïche, R. Mazumdar and C. Rosenberg: A game theoretic framework for bandwidth allocation and pricing in broadband networks, IEEE/ACM Transactions on Networking, (2000). M. Chiang, S. H. Low, A. R. Calderbank, J. C. Doyle: Layering as optimization decomposition, Proceedings of IEEE, (2006). J. B. Baillon, R. Cominetti: Markovian traffic equilibrium, Mathematical Programming (2007). R. Cominetti, C. Guzmán: Network congestion control with Markovian multipath routing, Submitted (2011). Cominetti-Guzmán (Universidad de Chile) Congestion control with multipath routing 27 / 27