internet congestion control: equilibrium and dynamics · poincare-hopf index theorem and...

70
Internet Congestion Control: Equilibrium and Dynamics A. Kevin Tang Cornell University ISS Seminar, Princeton University, February 21, 2008

Upload: nguyentram

Post on 05-May-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Internet Congestion Control:Equilibrium and Dynamics

A. Kevin Tang

Cornell University

ISS Seminar, Princeton University, February 21, 2008

Page 2: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

Page 3: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

Page 4: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

• Cellular phone networks (Communication/Information Theory)

Page 5: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

• Cellular phone networks (Communication/Information Theory)

• The Internet

Page 6: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

• Cellular phone networks (Communication/Information Theory)

• The Internet (? ? ?)

Page 7: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

• Cellular phone networks (Communication/Information Theory)

• The Internet (? ? ?)

aggregation of a large number of networks owned by competingentities

wide array of technologies and equipment

evolve asynchronously and anarchically

Page 8: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

• Cellular phone networks (Communication/Information Theory)

• The Internet (? ? ?)

aggregation of a large number of networks owned by competingentities

wide array of technologies and equipment

evolve asynchronously and anarchically

• A large distributed system that lacks central control!

Page 9: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Networks and Corresponding Theories

• Power networks (Maxwell Theory)

• Telephone networks (Queueing Theory)

• Cellular phone networks (Communication/Information Theory)

• The Internet (? ? ?)

aggregation of a large number of networks owned by competingentities

wide array of technologies and equipment

evolve asynchronously and anarchically

• A large distributed system that lacks central control!

• What global behaviors emerge from the interaction of local algo-rithms?

Page 10: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Outline and Highlight

• Outline

Introduction to congestion control and its current theory

Equilibrium of heterogeneous congestion control

Accurate study of dynamics

Conclusion

Page 11: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Outline and Highlight

• Outline

Introduction to congestion control and its current theory

Equilibrium of heterogeneous congestion control

Accurate study of dynamics

Conclusion

• Highlight

Poincare-Hopf index theorem and confirmation with real routersand fibers

The first accurate stability prediction of TCP/AQM

General equilibrium theory in economics, Asymmetric matricesin mathematics

Page 12: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Introduction: Congestion Control

x i (t )

p l (t)

• Sources: control data rates according to congestion signals

• Links: adapt congestion signals based on bandwidth utilization

• A purely distributed system!

Page 13: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

A Global View of Congestion Control

A distributed feedback control system

• Resource Allocation: Equilibrium (Optimization Theory)

• Interconnected Dynamical System: Dynamics (Control Theory)

Page 14: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

A Global View of Congestion Control

A distributed feedback control system

• Resource Allocation: Equilibrium (Optimization Theory)

• Interconnected Dynamical System: Dynamics (Control Theory)

Help answer questions like

• How to understand the whole system for arbitrary (possibly verycomplex) topology?

• Can all local behaviors of sources and links achieve a globally coordi-nated goal?

• Are current congestion control schemes scalable? Better ones?

[Kelly-Maulloo-Tan 98], [Low-Lapsley 99], [Mo-Walrand 00]. . .

Page 15: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Model and Notations

• L links, indexed by l = 1, . . . , L. Link l has a finite capacity cl and acongestion signal pl(t).

• N flows, indexed by i = 1, . . . , N . Flow i maintains a rate xi(t).

• fi abstracts the TCP algorithm of flow i.

• gl describes the AQM (Active Queue Management) algorithm at linkl.

xi = fi

xi(t),

l∈L(i)

pl(t)

pl = gl

i:l∈L(i)

xi(t), pl(t)

Page 16: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

An Example of TCP: TCP Reno

TCP Reno Updating rule (Additive Increase Multiplicative Decrease):

xi = fi

xi(t),

l∈L(i)

pl(t)

=

1− qi(t)τi(t)2

−12qi(t)x2

i (t)

qi(t) =∑

l∈L(i) pl(t): packet loss rate;τi(t): round trip time (RTT).

Page 17: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

An Example of TCP: TCP Reno

TCP Reno Updating rule (Additive Increase Multiplicative Decrease):

xi = fi

xi(t),

l∈L(i)

pl(t)

=

1− qi(t)τi(t)2

−12qi(t)x2

i (t)

qi(t) =∑

l∈L(i) pl(t): packet loss rate;τi(t): round trip time (RTT).At equilibrium:

qi =2

2 + τ2i x2

i

Page 18: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

An Example of TCP: TCP Reno

TCP Reno Updating rule (Additive Increase Multiplicative Decrease):

xi = fi

xi(t),

l∈L(i)

pl(t)

=

1− qi(t)τi(t)2

−12qi(t)x2

i (t)

qi(t) =∑

l∈L(i) pl(t): packet loss rate;τi(t): round trip time (RTT).At equilibrium:

qi =2

2 + τ2i x2

i

Utility function:maxxi≥0

Ui(xi)− xiqi

Ui(xi) =√

2τi

atan

(τixi√

2

)

Page 19: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Current Theory and Its Impact

Main Theorem: The equilibrium rate vector solves

maxx≥0

i

Ui(xi) subject to∑

i:l∈L(i)

xi ≤ cl

The source and link protocols serve as a primal-dual algorithm.

Page 20: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Current Theory and Its Impact

Main Theorem: The equilibrium rate vector solves

maxx≥0

i

Ui(xi) subject to∑

i:l∈L(i)

xi ≤ cl

The source and link protocols serve as a primal-dual algorithm.

Proof: the physical congestion signal ⇔ the mathematical lagrange mul-tipliers.

Page 21: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Current Theory and Its Impact

Main Theorem: The equilibrium rate vector solves

maxx≥0

i

Ui(xi) subject to∑

i:l∈L(i)

xi ≤ cl

The source and link protocols serve as a primal-dual algorithm.

Proof: the physical congestion signal ⇔ the mathematical lagrange mul-tipliers.

Implication, Application and Impact:

Basic properties: existence, uniqueness, optimality

Engineering practice: new protocol design

Wireless networks

Other directions: random arrival, game players . . .

Page 22: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Outline

• Introduction to congestion control and its current theory

• Equilibrium of heterogeneous congestion control

• Accurate study of dynamics

• Conclusion

Page 23: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Outline

• Introduction to congestion control and its current theory

• Equilibrium of heterogeneous congestion control

Heterogeneity of congestion signals

The same congestion signal but different algorithms: Homoge-neous

• Accurate study of dynamics

• Conclusion

Page 24: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Heterogeneous Congestion Control

• TCP Reno does not work well for networks with large bandwidth-delay products.

Requires extremely small equilibrium loss rate.

Becomes harder to maintain flow level stability.

Page 25: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Heterogeneous Congestion Control

• TCP Reno does not work well for networks with large bandwidth-delay products.

Requires extremely small equilibrium loss rate.

Becomes harder to maintain flow level stability.

• One solution: use other congestion signals

• Heterogeneous Protocols: Protocols that use different congestion sig-nals

Page 26: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Heterogeneous Congestion Control

• TCP Reno does not work well for networks with large bandwidth-delay products.

Requires extremely small equilibrium loss rate.

Becomes harder to maintain flow level stability.

• One solution: use other congestion signals

• Heterogeneous Protocols: Protocols that use different congestion sig-nals

• FAST TCP (queueing delay based):

At equilibrium,xi =

αi

pi

Utility function:Ui(xi) = αi log xi

Page 27: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Why Study the Heterogeneous Case?

• Various proposals that use different congestion signals

queueing delay (CARD, DUAL, Vegas, FAST)

packet loss (Reno and its variants)

both loss and delay (Westwood, Compound TCP)

one bit ECN (IETF RFC 2481)

Page 28: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Why Study the Heterogeneous Case?

• Various proposals that use different congestion signals

queueing delay (CARD, DUAL, Vegas, FAST)

packet loss (Reno and its variants)

both loss and delay (Westwood, Compound TCP)

one bit ECN (IETF RFC 2481)

• The Linux operating system already allows users to choose from avariety of congestion control algorithms since kernel version 2.6.13

Page 29: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Why Study the Heterogeneous Case?

• Various proposals that use different congestion signals

queueing delay (CARD, DUAL, Vegas, FAST)

packet loss (Reno and its variants)

both loss and delay (Westwood, Compound TCP)

one bit ECN (IETF RFC 2481)

• The Linux operating system already allows users to choose from avariety of congestion control algorithms since kernel version 2.6.13

• Compound TCP which uses multiple congestion signals is part of MSWindows Vista and Windows 2008 TCP stack.

Page 30: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Why Study the Heterogeneous Case?

• Various proposals that use different congestion signals

queueing delay (CARD, DUAL, Vegas, FAST)

packet loss (Reno and its variants)

both loss and delay (Westwood, Compound TCP)

one bit ECN (IETF RFC 2481)

• The Linux operating system already allows users to choose from avariety of congestion control algorithms since kernel version 2.6.13

• Compound TCP which uses multiple congestion signals is part of MSWindows Vista and Windows 2008 TCP stack.

• Network will become more heterogeneous.

Page 31: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Why Study the Heterogeneous Case?

• Various proposals that use different congestion signals

queueing delay (CARD, DUAL, Vegas, FAST)

packet loss (Reno and its variants)

both loss and delay (Westwood, Compound TCP)

one bit ECN (IETF RFC 2481)

• The Linux operating system already allows users to choose from avariety of congestion control algorithms since kernel version 2.6.13

• Compound TCP which uses multiple congestion signals is part of MSWindows Vista and Windows 2008 TCP stack.

• Network will become more heterogeneous.

• How do we understand it? How can we manage it?

Page 32: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

A Motivating Example

Link1 Link2 Link3

Path3 (Reno)

Path1 (FAST) Path2 (FAST)

Page 33: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

A Motivating Example

Link1 Link2 Link3

Path3 (Reno)

Path1 (FAST) Path2 (FAST)

Equilibrium Rate Allocation:

0

20

40

60

80

100

FAST First Reno First

FAST Reno

Page 34: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Model

Link l: an intrinsic price pl, other “effective prices” mjl (pl).

E.g., pl: queue length, p1l : loss probability, p2

l : queueing delay.With RED algorithm:

m1l (pl) = max(1, kpl) m2

l (pl) =pl

cl

Page 35: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Model

Link l: an intrinsic price pl, other “effective prices” mjl (pl).

E.g., pl: queue length, p1l : loss probability, p2

l : queueing delay.With RED algorithm:

m1l (pl) = max(1, kpl) m2

l (pl) =pl

cl

Homogeneous case:

xi = fi

xi(t),

l∈L(i)

pl(t)

Heterogeneous case:

xji = f j

i

xj

i (t),∑

l∈L(j,i)

mjl (pl(t))

Page 36: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Results

• Existence

• Uniqueness

• Efficiency

• Fairness

• Stability

• Solution: A slow timescale control

Page 37: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Results

• Existence

• Uniqueness: Number of equilibria

• Efficiency

• Fairness

• Stability

• Solution: A slow timescale control

Page 38: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Results

• Existence

• Uniqueness: Number of equilibria

How many of them? Can the number be 0, 1, 2, 3, ∞?

Two equilibria and both are stable?

A globally unique and stable equilibrium?

• Efficiency

• Fairness

• Stability

• Solution: A slow timescale control

Page 39: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Local Uniqueness is Generic

• multiple locally unique equilibria with different sets of bottleneck links

Page 40: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Local Uniqueness is Generic

• multiple locally unique equilibria with different sets of bottleneck links

• multiple locally unique equilibria with the same set of bottleneck links

Page 41: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Local Uniqueness is Generic

• multiple locally unique equilibria with different sets of bottleneck links

• multiple locally unique equilibria with the same set of bottleneck links

• infinitely many equilibria that are not locally unique

1x1

2x1

1x2

1x3

3x1

2x2

Page 42: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Local Uniqueness is Generic

• multiple locally unique equilibria with different sets of bottleneck links

• multiple locally unique equilibria with the same set of bottleneck links

• infinitely many equilibria that are not locally unique Pathological!

Theorem 1 Given any price mapping functions m, any routing matrix Rand utility functions U ,

• for almost all c, equilibria are locally unique. Such networks are called reg-ular.

• the number of equilibria for a regular network (c,m, R, U) is finite.

Proof. Use Sard’s theorem.

Page 43: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Global Description: Index Theorem

Equation y(p) = c (demand equals supply) characterizes equilibrium.J(p) = ∂y(p)/∂p.

Page 44: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Global Description: Index Theorem

Equation y(p) = c (demand equals supply) characterizes equilibrium.J(p) = ∂y(p)/∂p.

Define an index I(p) of p ∈ E (set of equilibrium) as

I(p) ={

1 if det (J(p)) > 0−1 if det (J(p)) < 0

Page 45: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Global Description: Index Theorem

Equation y(p) = c (demand equals supply) characterizes equilibrium.J(p) = ∂y(p)/∂p.

Define an index I(p) of p ∈ E (set of equilibrium) as

I(p) ={

1 if det (J(p)) > 0−1 if det (J(p)) < 0

Theorem 2 Given any regular network, we have∑

p∈E

I(p) = (−1)L

where L is the number of links.

Proof. Use Poincare-Hopf index Theorem.

Page 46: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Two Corollaries

Corollary 1 A regular network has an odd number of equilibria.

Corollary 2 If all equilibria are locally stable, then there is exactly oneequilibrium.

p1

p 2

Page 47: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty?

Page 48: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty? Asymmetry!

Page 49: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty? Asymmetry!

Further Development:

−J(p) =J∑

j=1

Rj ∂xj

∂qj(p)

(Rj

)T ∂mj

∂p(p)

Page 50: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty? Asymmetry!

Further Development:

−J(p) =J∑

j=1

Rj ∂xj

∂qj(p)

(Rj

)T ∂mj

∂p(p)

• Uniqueness: det(J) > 0.

Page 51: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty? Asymmetry!

Further Development:

−J(p) =J∑

j=1

Rj ∂xj

∂qj(p)

(Rj

)T ∂mj

∂p(p)

• Uniqueness: det(J) > 0.

• Local stability: All eigenvalues of J have positive real parts.

Page 52: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty? Asymmetry!

Further Development:

−J(p) =J∑

j=1

Rj ∂xj

∂qj(p)

(Rj

)T ∂mj

∂p(p)

• Uniqueness: det(J) > 0.

• Local stability: All eigenvalues of J have positive real parts.

• Global stability: v′Jv > 0

Page 53: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

From Homogeneity to Heterogeneity

What is the fundamental mathematical difficulty? Asymmetry!

Further Development:

−J(p) =J∑

j=1

Rj ∂xj

∂qj(p)

(Rj

)T ∂mj

∂p(p)

• Uniqueness: det(J) > 0.

• Local stability: All eigenvalues of J have positive real parts.

• Global stability: v′Jv > 0

J = 1, J is positive definite. How about J > 1? J becomes asymmetric!

Page 54: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Bounded Heterogeneity

Theorem 3 The equilibrium of a regular network is globally unique andstable if the degree of heterogeneity of price mapping functions is properlybounded.

Homogeneous case

Bound on Heterogeneity

Homogeneous case

Bound on Heterogeneity

• protocol independent: uni-protocol case

• link independent: default RED router parameters work

Page 55: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Outline

• Introduction to congestion control and its current theory

• Equilibrium of heterogeneous congestion control

• Accurate study of dynamics

• Conclusion

Page 56: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Outline

• Introduction to congestion control and its current theory

• Equilibrium of heterogeneous congestion control

• Accurate study of dynamics

make sure the system enjoy desirable equilibrium properties

avoid under-utilization of link bandwidth

minimize delay jitters, important for certain real time applica-tions

• Conclusion

Page 57: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Dynamics of Congestion Control

• Equilibrium: Utility Maximization Problem.

• Dynamics:

Local stability: [Johari-Tan 00], [Paganini-Doyle-Low 01], [Hollot-Misra-Towsley-Gong 01], [Vinnicombe 02], [Massoulie 02], [Low-Paganini-Wang-Doyle 03], [Wang-Wei-Low 05] . . .

Global stability: [Hollot-Chait 01], [Wang-Paganini 02],[Alpcan-Basar 03], [Papachristodoulou-Li-Doyle 04], [Wen-Arcak 04], [Ying-Dullerud-Srikant 06]. . .

• State of the art:

Quantitative results on equilibrium,

Qualitative study. Cannot compare predictions with packet levelsimulations quantitatively. Sometimes even worse...

Page 58: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Why Are They Inaccurate

• Window based congestion control

RTT RTT

time

time

Source

Destination

1 2 W 1 2 W

1 2 W 1 2 W

1 2 W 1 2 W

data data ACKs ACKs

1 2 W 1 2 W

• Consequences:

Burstiness: faster convergence

Ack-clocking: scale with RTT, less overshoot

• These microscopic properties matter for dynamics!

Page 59: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Dynamics of Congestion Control

C

P(t)

RTT_i(t)=d_i+p(t)

TCP FLOWS

Page 60: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Dynamics of Congestion Control

C

P(t)

RTT_i(t)=d_i+p(t)

TCP FLOWS

• FAST TCP Window Evolution (Default stepsize γi = 0.5):

wi(t) = −γip(t)

(di + p(t))2wi(t) + γi

αi

di + p(t).

• Existing work suggest that FAST TCP is unstable for large enoughdelay!

• Experiments show that a single FAST TCP flow is always stable re-gardless of delay!

Page 61: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Existing Models

Integrator link model:

p(t) =1c

(N∑

i=1

xi(t− τfi )− c

)=

1c

(N∑

i=1

wi(t− τfi )

di + p(t)− c

).

10 10.5 11 11.5 12

8

8.2

8.4

8.6

8.8

9x 10

−3

Time [sec]

Queu

e size

[sec

]

NS−2Static modelIntegrator modelJoint model

The integrator link model may lag the true dynamics.

Page 62: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Existing Models

Static link model:

N∑

i=1

wi(t− τfi )

di + p(t)= c.

10 11 12 13 14 15 16

8

8.1

8.2

8.3

8.4

8.5

8.6

8.7

8.8

8.9

9

x 10−3

Time [sec]

Queu

e size

[sec

]

NS−2Static modelIntegrator modelJoint model

The static link model may lead the true dynamics.

Page 63: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

A New Model

Joint link model:∫ t+d+p(t)

t

xi(s)ds = wi(t + d + p(t)).

10 10.2 10.4 10.6 10.8 11

0.0115

0.012

0.0125

0.013

0.0135

0.014

0.0145

Time [sec]

Queu

e size

[sec

]

NS−2Static modelIntegrator modelJoint model

The new joint link model is more accurate.

Page 64: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Accurate Closed Loop Validation

The first time in the literature of TCP/AQM!

c = 10 000 pkt/s. d1 = 400 ms and d2 = 700ms. Both flows use α = 50

Stepsize 1.65 1.75

Stable Unstable

link model

prediction

???

Page 65: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Accurate Closed Loop Validation

The first time in the literature of TCP/AQM!

c = 10 000 pkt/s. d1 = 400 ms and d2 = 700ms. Both flows use α = 50

1.23 1.83 1.65 1.75

Stable Unstable

Integrator

link model

prediction

Joint link

model

prediction

Static link

model

prediction

Stepsize

Page 66: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Accurate Closed Loop Validation

400 600 800 1000 1200 140040

60

80

100

120

140

time (s)

queu

e si

ze (

pack

ets)

400 600 800 1000 1200 140040

60

80

100

120

140

time (s)

queu

e si

ze (

pack

ets)

γ = 1.23 γ = 1.83

“unstable” under integrator link model “stable” under static link model

Page 67: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Accurate Closed Loop Validation

400 600 800 1000 1200 140040

60

80

100

120

140

time (s)

queu

e si

ze (

pack

ets)

400 600 800 1000 1200 140040

60

80

100

120

140

time (s)

queu

e si

ze (

pack

ets)

γ = 1.65 γ = 1.75

“stable” under joint link model “unstable” under joint link model

Page 68: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Loop Gain for FAST + New Model

L(S)

-1

L(s) =N∑

i=1

µiLi(s) =N∑

i=1

µi

s + 1τi

s + 1τ

diγie−τis

τ2i s + γip

whereµi =

xi

c=

αi

cp

and1τ

=N∑

i=1

µi1τi

Page 69: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Stability Analysis

Theorem 4 If γ ≤ M(f(τ)), FAST TCP operating over a single link isalways locally stable. Here M(f(τ)) only depends on relative heterogeneityof delay distribution, which is independent of absolute values of delays.

−1.5 −1 −0.5 0 0.5−1

−0.5

0

0.5

1

−1 + j0

slope 1/ωτ^ = 1/3

L1(jω)

L2(jω)

• Features:

Directly deal with the sum L(jω) instead of individual Li(jω)

Bounding region is different for different ω

Page 70: Internet Congestion Control: Equilibrium and Dynamics · Poincare-Hopf index theorem and conflrmation with real routers and flbers The flrst accurate stability prediction of TCP/AQM

Summary

• Introduction to the internet congestion control and its current theory

• The current theory breaks down with heterogeneous protocols

Interesting behaviors: theoretically and experimentally

A new theory: existence, uniqueness, optimality, and stability

• The current theory is not enough to study dynamics quantitatively

Work directly with window instead of rate and use a fundamentalinvariant integral equation to relate both.

Provide the first accurate stability prediction

Resolve the previous discrepancy between theory and practice