Dynamics of Resource Sharing in Networks Frank Kelly - - PowerPoint PPT Presentation

dynamics of resource sharing in networks
SMART_READER_LITE
LIVE PREVIEW

Dynamics of Resource Sharing in Networks Frank Kelly - - PowerPoint PPT Presentation

Dynamics of Resource Sharing in Networks Frank Kelly www.statslab.cam.ac.uk/~frank MITACS International Focus Period Network and Internet Economics Workshop, Vancouver, 1 June 2011 Outline Fairness in networks Rate control in


slide-1
SLIDE 1

Dynamics of Resource Sharing in Networks

Frank Kelly www.statslab.cam.ac.uk/~frank

MITACS International Focus Period Network and Internet Economics Workshop, Vancouver, 1 June 2011

slide-2
SLIDE 2

Outline

  • Fairness in networks
  • Rate control in communication networks

(relatively well understood)

  • Ramp metering (early models)
  • Energy networks (preliminary remarks)
slide-3
SLIDE 3

Network structure

1 = =

jr jr

A A R J

  • set of resources
  • set of routes
  • if resource j is on route r
  • otherwise

resource route

slide-4
SLIDE 4

Notation

J R j∈r xr Ur(xr ) Cj Ax ≤ C

  • 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

resource route

slide-5
SLIDE 5

The system problem

) ( ≥ ≤

x

  • ver

C Ax to subject x U Maximize

r R r r

Maximize aggregate utility, subject to capacity constraints

SYSTEM(U,A,C):

slide-6
SLIDE 6

The user problem

≥ − ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛

r r r r r

w

  • ver

w w U Maximize λ

User r chooses an amount to pay per unit time, wr , and receives in return a flow xr =wr /λr

USERr(Ur;λr):

slide-7
SLIDE 7

log ≥ ≤

x

  • ver

C Ax to subject x w Maximize

r R r r

As if the network maximizes a logarithmic utility function, but with constants {wr} chosen by the users

NETWORK(A,C;w):

The network problem

slide-8
SLIDE 8

Problem decomposition

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

K 1997, Johari, Tsitsiklis 2005, Yang, Hajek 2006

slide-9
SLIDE 9

Max-min fairness

Rates {xr} are max-min fair if they are feasible:

C Ax x ≤ ≥ ,

and if, for any other feasible rates {yr},

r s s r r

x x y s x y r < < ∃ ⇒ > ∃ : :

Rawls 1971, Bertsekas, Gallager 1987

slide-10
SLIDE 10

Proportional fairness

Rates {xr} are proportionally fair if they are feasible:

C Ax x ≤ ≥ ,

and if, for any other feasible rates {yr}, the aggregate of proportional changes is negative:

yr − xr xr ≤ 0

r∈ R

slide-11
SLIDE 11

Weighted proportional fairness

A feasible set of rates {xr} are such that are weighted proportionally fair if, for any other feasible rates {yr},

wr yr − xr xr ≤

r∈R

slide-12
SLIDE 12

Fairness and the network problem

Theorem: a set of rates {xr} solves the network problem,

NETWORK(A,C;w),

if and only if the rates are weighted proportionally fair

slide-13
SLIDE 13

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)

slide-14
SLIDE 14

Market clearing equilibrium (Gale, 1960)

Find prices p and an allocation x such that

R r p x w Ax C p C Ax p

r j j r r T

∈ = = − ≤ ≥

, ) ( ,

(feasibility) (complementary slackness) (endowments spent)

Solution solves NETWORK(A,C;w)

slide-15
SLIDE 15

Outline

  • Fairness in networks
  • Rate control in communication networks

(relatively well understood)

  • Ramp metering (early models)
  • Energy networks (preliminary remarks)
slide-16
SLIDE 16

End-to-end congestion control

Senders learn (through feedback from receivers)

  • f congestion at queue, and slow down or speed

up accordingly. With current TCP, throughput of a flow is proportional to

senders receivers

) /( 1 p T T = round-trip time, p = packet drop probability.

(Jacobson 1988, Mathis, Semke, Mahdavi, Ott 1997, Padhye, Firoiu, Towsley, Kurose 1998, Floyd & Fall 1999)

slide-17
SLIDE 17

Network structure

) ( ) ( t t x r j R J

j r

μ ∈

  • set of resources
  • set of routes
  • resource j is on route r
  • flow rate on route r at time t
  • rate of congestion indication,

at resource j at time t

resource route

slide-18
SLIDE 18

A primal algorithm

( ) ( )

∑ ∑

∈ ∈

= − =

s j s s j j r j j r r r r r

t x p t t t x w t x t x dt d

:

) ( ) ( ) ( ) ( )) ( ( ) ( μ μ κ xr(t) - rate changes by linear increase, multiplicative decrease pj(.) - proportion of packets marked as a function of flow through resource

slide-19
SLIDE 19

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 {wr}, and solves the network problem, when

j j j

C x C x x p > ∞ = ≤ = 0 ) (

K, Maulloo, Tan 1998

slide-20
SLIDE 20

General TCP-like algorithm

Source maintains window of sent, but not yet acknowledged, packets - size cwnd On route r,

  • cwnd incremented by ar cwnd n
  • n positive acknowledgement
  • cwnd decremented by br cwnd m

for each congestion indication (m>n)

  • ar = 1, br = 1/2, m=1, n= -1

corresponds to Jacobson’s TCP

xT cwnd ≈

slide-21
SLIDE 21

Differential equations with delays

( ) ( )

⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ − = − − − = − − − =

∑ ∏

∈ ∈

) ( ) ( ) ( 1 1 ) ( ) ( ) ) ( ( )) ( 1 ( ) ) ( ( . ) ( ) (

: rj r j r r j j r j jr j r r m r r r r n r r r r r r r

T t x p t T t t t T t x b t T t x a T T t x t x dt d μ μ λ λ λ

r jr rj

T T T = +

r j

slide-22
SLIDE 22

Equilibrium point

R r b a T x

n m r r r r r r

∈ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ − =

− / 1

1 1 λ λ

  • ar = 1, br = 1/2, m=1, n= -1 corresponds to

Jacobson’s TCP, and recovers square root formula

  • But what is the impact of delays on stability?

Can we choose m, n,… arbitrarily?

slide-23
SLIDE 23

Delay stability

β π β 2 ) ( ), ( ) ( < < ′

n r r r j j

T x a x p x p x

Equilibrium is locally stable if there exists a global constant β such that condition on sensitivity for each resource j condition on aggressiveness for each route r

Johari, Tan 1999, Massoulié 2000, Vinnicombe 2000, Paganini, Doyle, Low 2001

slide-24
SLIDE 24

Outline

  • Fairness in networks
  • Rate control in communication networks

(relatively well understood)

  • Ramp metering (early models)
  • Energy networks (preliminary remarks)
slide-25
SLIDE 25

What we've learned about highway congestion

  • P. Varaiya, Access 27, Fall 2005, 2-9.
slide-26
SLIDE 26

Data, modelling and inference in road traffic networks R.J. Gibbens and Y. Saatci

  • Phil. Trans. R. Soc. A366

(2008), 1907-1919.

slide-27
SLIDE 27

A linear network

, d )) ( ( ) ( ) ( ) ( ≥ Λ − + =

t s s m t e m t m

t i i i i

cumulative inflow queue size metering rate

slide-28
SLIDE 28

Metering policy

, d )) ( ( ) ( ) ( ) ( ≥ ≥ Λ − + =

t s s m t e m t m

t i i i i

and such that , , , = = Λ ∈ ≥ Λ ∈ ≤ Λ

i i i j i i ji

m I i J j C A Suppose the metering rates can be chosen to be any vector satisfying ) (m Λ = Λ

slide-29
SLIDE 29

Optimal policy?

For each of i = I, I-1, …… 1 in turn choose

d )) ( ( ≥ Λ

t i

s s m

to be maximal, subject to the constraints. This policy minimizes

) (t m

i i

for all times t

slide-30
SLIDE 30

Proportionally fair metering

i i i

m Λ

log

subject to , , , = = Λ ∈ ≥ Λ ∈ ≤ Λ

i i i j i i ji

m I i J j C A maximize Suppose is chosen to ) ), ( ( ) ( I i m m

i

∈ Λ = Λ

slide-31
SLIDE 31

I i A p m m

j ji j i i

∈ = Λ

, ) (

j

p

  • shadow price (Lagrange multiplier) for the

resource j capacity constraint

J j A C p J j p J j C A I i

i i ji j j j j i i ji i

∈ ≥ ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ Λ − ∈ ≥ ∈ ≤ Λ ∈ ≥ Λ

∑ ∑

, , , ,

where KKT conditions

Proportionally fair metering

slide-32
SLIDE 32

Outline

  • Fairness in networks
  • Rate control in communication networks

(relatively well understood)

  • Ramp metering (early models)
  • Energy networks (preliminary remarks)
slide-33
SLIDE 33

Dynamic demand

From: Frequency responsive loads, Jeremy Colandairaj, NIE Use system frequency as a signal to control domestic loads, particularly refrigerators and freezers, to provide operating reserve

slide-34
SLIDE 34

Distribution of frequency

From: www.dynamicDemand.co.uk (Dynamic Demand is a not‐for‐profit

  • rganisation set up by a grant from

the Esmée Fairbairn Foundation)

slide-35
SLIDE 35
slide-36
SLIDE 36

Hybrid reserve service

Operating the Electricity Transmission Networks in 2020, Follow Up Report, National Grid, February 2010

slide-37
SLIDE 37

Typical wind turbine power curve

Operating the Electricity Transmission Networks in 2020 Initial Consultation, National Grid 2009

slide-38
SLIDE 38

Recorded wind load factors 2008

Operating the Electricity Transmission Networks in 2020 Initial Consultation, National Grid 2009

slide-39
SLIDE 39

Persistence errors in forecasting wind

Operating the Electricity Transmission Networks in 2020 Initial Consultation, National Grid 2009

slide-40
SLIDE 40

Matching vehicle charging to the current electricity demand profile

Operating the Electricity Transmission Networks in 2020 Initial Consultation, National Grid 2009

slide-41
SLIDE 41

British Electricity Transmission System

The Transmission System broadly comprises all circuits operating at 400kV and 275kV. In Scotland transmission also includes 132kV networks. The Transmission System is connected via interconnectors to transmission systems in France and Northern Ireland.

slide-42
SLIDE 42