universal scheduling for networks with arbitrary traffic, channels, and mobility michael j. neely,...

43
Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on Decision and Control (CDC), Atlanta, GA, Dec. 2010 PDF of paper at: http:// www-bcf.usc.edu/~mjneely/ in part by the NSF Career CCF-0747525, ARL Network Science Collaborative Te B Primary Path Alternate Paths

Post on 19-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility

Michael J. Neely, University of Southern CaliforniaProc. IEEE Conf. on Decision and Control (CDC), Atlanta, GA, Dec. 2010

PDF of paper at: http://www-bcf.usc.edu/~mjneely/Sponsored in part by the NSF Career CCF-0747525, ARL Network Science Collaborative Tech. Alliance

B

Primary Path Alternate Paths

Page 2: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

CA B

D

C

Primary Path Alternate Paths

Want to optimally react to unexpected events.Example 1: Failure at Node B

Page 3: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 4: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 5: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 6: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 7: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 8: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 9: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 10: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 11: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 12: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 13: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 14: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

A B

D

C

Primary Path

Example 2: Opportunity via Mobility

mobile node

Page 15: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Assumptions and Main Questions:

Assumptions:•Arbitrary mobility, traffic, channels.•Little or no probability models known in advance.•Any sample path is possible (non-ergodic).•Future is unknown.

Questions:•Can we design “universal” scheduling algorithms that work on general time-varying networks? •Can we optimize without knowing the future?

Page 16: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Main Results:

•We use a backpressure/max-weight algorithm that does not know future.

•Define a “T-Slot Lookahead” Utility as that obtained by an “ideal” algorithm that has perfect knowledge of the future up to T slots.

•For any T, our algorithm can achieve utility that is arbitrarily close to the utility of the ideal T-slot Lookaheadalgorithm, with tradeoff in convergence time and queue backlog.

Page 17: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

Page 18: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

1

4 5

67

2

3

8

Nodes: N = 8

Page 19: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

1

4 5

67

2

3

8

Nodes: N = 8Flows: M = 3

Page 20: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

1

4 5

67

2

3

8

1 Nodes: N = 8Flows: M = 3• Flow 1: 13

Page 21: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

1

4 5

67

2

3

8

1

2

Nodes: N = 8Flows: M = 3• Flow 1: 13• Flow 2: 73

Page 22: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

1

4 5

67

2

3

8

1

2

3 Nodes: N = 8Flows: M = 3• Flow 1: 13• Flow 2: 73• Flow 3: 56

Page 23: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Problem Formulation:•Timeslotted system, slots t = {0, 1, 2, …}.•N network nodes (possibly mobile).•M Data Flows (each with source-destination).•No pre-specified routes (we learn them).

1

4 5

67

2

3

8

1

2

3 Nodes: N = 8Flows: M = 3• Flow 1: 13• Flow 2: 73• Flow 3: 56

Page 24: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Network Queueing:

a b a

•Each node keeps queues for each separate commodity (“commodity” = “destination”).•For commodity c (say, green commodity):

Qa(c)(t+1) = Qa

(c)(t) – Transmit out + Endogenous Arrivals + Exogenous Arrivals

Page 25: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

•A(t) = (A1(t), …, AM(t)) = New Arrivals. •X(t) = (X1(t), …, XM(t)) = Flow Control Decisions.•S(t) = “Topology State” observed on slot t.•(μij

(c)(t)) = Transmission Decisions (in set Γ(S(t))

State Information and Control Decisions:

Node iAm(t)

Page 26: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

•A(t) = (A1(t), …, AM(t)) = New Arrivals. •X(t) = (X1(t), …, XM(t)) = Flow Control Decisions.•S(t) = “Topology State” observed on slot t.•(μij

(c)(t)) = Transmission Decisions (in set Γ(S(t))

State Information and Control Decisions:

Node iAm(t)Xm(t)

Dropm(t)

Page 27: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

•A(t) = (A1(t), …, AM(t)) = New Arrivals. •X(t) = (X1(t), …, XM(t)) = Flow Control Decisions.•S(t) = “Topology State” observed on slot t.•(μij

(c)(t)) = Transmission Decisions (in set Γ(S(t))

State Information and Control Decisions:

Node iAm(t)Xm(t)

Dropm(t)

Node j

Node k

Sij(t)

Sik(t)

Page 28: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

•A(t) = (A1(t), …, AM(t)) = New Arrivals. •X(t) = (X1(t), …, XM(t)) = Flow Control Decisions.•S(t) = “Topology State” observed on slot t.•(μij

(c)(t)) = Transmission Decisions (in set Γ(S(t))

State Information and Control Decisions:

Am(t)Xm(t)

Dropm(t)

Sij(t)

Sik(t)

Page 29: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

•φm(x) = concave utility function for flow m•Segment timeline into T-slot frames.•φopt[r] = optimal sum utility over frame r, assuming future is known in frame!

Utility Maximization with T-Slot Lookahead:

Frame 0 Frame 1 Frame 2

•Value of φopt[r] can be written as a non-linear program (assuming future A(t), S(t) known)…

Page 30: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Utility Maximization with T-Slot Lookahead:

Frame r•Value of φopt[r] can be written as a non-linear program (assuming future A(t), S(t) known):

Ω(t) = set of rates possible under S(t)

Page 31: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Analytical Approach:•Lyapunov Function for queues: L(Q) = ∑ [Qi

(c)]2

•New sample path “T-slot” Lyapunov Drift:

ΔT(t) = L(Q(t+T)) – L(Q(t))

•Every slot “greedily” minimize drift-plus-penalty:

Δ1(t) + V x Penalty(t) , Penalty(t) = -φ(γ(t)) •Results in a joint backpressure and flow control alg similar to those defined for ergodic systems in: [Neely, Modiano, Li -- INFOCOM 2005] [Georgiadis, Neely, Tassiulas -- F&T 2006]

Page 32: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Performance Result:Theorem: For any R>0, T>0:

(ii) Worst Case Queue Backlog = O(V).

•B, C are known constants. •V = “knob” to turn to affect the tradeoff•R = Running Time (number of T-slot frames)

V RT

(i) “Fudge Factor” = BT + CV

O(1/V), O(V) utility-backlog tradeoff when time horizon R infinity

Achieved Utility over RT slots ≥ (1/R)∑r=0 φopt[r] – “Fudge Factor”R-1

Page 33: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Example Mobile Network:

Five Mobility Groups:

•10 nodes Group 1 (upper left) •10 nodes Group 2 (upper right)•10 nodes Group 3 (lower right)•10 nodes Group 4 (lower left)•1 node Group 5

Group 1 nodes: Random Walk on Upper Left Region

S1

S2

D1

Page 34: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Example Mobile Network:

Five Mobility Groups:

•10 nodes Group 1 (upper left) •10 nodes Group 2 (upper right)•10 nodes Group 3 (lower right)•10 nodes Group 4 (lower left)•1 node Group 5

Group 2 nodes: Random Walk on Upper Right Region

S1

S2

D1

Page 35: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Example Mobile Network:

Five Mobility Groups:

•10 nodes Group 1 (upper left) •10 nodes Group 2 (upper right)•10 nodes Group 3 (lower right)•10 nodes Group 4 (lower left)•1 node Group 5

Group 3 nodes: Random Walk on Lower Right Region

S1

S2

D1

Page 36: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Example Mobile Network:

Five Mobility Groups:

•10 nodes Group 1 (upper left) •10 nodes Group 2 (upper right)•10 nodes Group 3 (lower right)•10 nodes Group 4 (lower left)•1 node Group 5

Group 4 nodes: Random Walk on Lower Left Region

S1

S2

D1

Page 37: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Example Mobile Network:

S1

S2

D1

Five Mobility Groups:

•10 nodes Group 1 (upper left) •10 nodes Group 2 (upper right)•10 nodes Group 3 (lower right)•10 nodes Group 4 (lower left)•1 node Group 5

Group 5 node: Periodically cycles about the clockwise orbit

Page 38: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Social Contacts:•Source 1: S1D1 (constant rate = 0.07 packets/slot) •Source 2: S2 S1 (for first half of simulation) S2 D1 (for second half of simulation)Goal: Maximize Throughput of Source 2 subject to stabilityUse V=10, so guarantee no more that 11 source 2 packetsin any queue!

S1

S2

D1

0 50 100 150 200 25002468

1012

Series1

0 50 100 150 200 2500

2

4

6

8

10

12

Series1

Backlog Bound for D1 in a sample RED node

Backlog Bound for S1 in a sample RED node

Example Mobile Network: Sim. 1– Change Social Contacts

Page 39: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

Social Contacts:•Source 1: S1D1 (constant rate = 0.07 packets/slot) •Source 2: S2 S1 (for first half of simulation) S2 D1 (for second half of simulation)Goal: Maximize Throughput of Source 2 subject to stabilityUse V=10, so guarantee no more that 11 source 2 packetsin any queue!

S1

S2

D1

Example Mobile Network: Sim. 1– Change Social Contacts

0 50 100 150 200 2500

0.050.1

0.150.2

0.250.3

0.350.4

0.45

Series1

0 20000 40000 60000 80000 100000 1200000

0.050.1

0.150.2

0.250.3

0.350.4

0.45

Series1

Moving Average thruput:S2D1

Moving Average thruput:S2S1

Page 40: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

S1

S2

D1

Example Mobile Network: Sim. 1– Change Social Contacts

0 50 100 150 200 2500

0.050.1

0.150.2

0.250.3

0.350.4

0.45

Series1

0 20000 40000 60000 80000 100000 1200000

0.050.1

0.150.2

0.250.3

0.350.4

0.45

Series1

Moving Average thruput:S2D1

Moving Average thruput:S2S1

Overall Performance is Seamless: •Backlog no more than 11 packets in any queue for Source 1 data•Backlog no more than 15 packets in any queue for Source 2 data•Overall Thruput of Source 2 is maintained at near-optimal over the change, even though the routes must fundamentally change!

Page 41: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

S1

S2

D1

Example Mobile Network: Sim. 2– Intermittent Jamming

Social Contacts:•Source 1: S1D1 (constant rate = 0.07 packets/slot) •Source 2: S2 S1 (Goal to maximize its throughput)Intermittent Interference during 2 intervals of the simulationThat completely cut interaction between the groups 1-4.Can only use the cyclic mobile node at these times!Max Thruput of Source 2 during interference ~= 0.03.

Time

JAM! JAM!

Page 42: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

S1

S2

D1

Example Mobile Network: Sim. 2– Intermittent Jamming

Social Contacts:•Source 1: S1D1 (constant rate = 0.07 packets/slot) •Source 2: S2 S1 (Goal to maximize its throughput)Intermittent Interference during 2 intervals of the simulationThat completely cut interaction between the groups 1-4.Can only use the cyclic mobile node at these times!Max Thruput of Source 2 during interference ~= 0.03.

Time

JAM! JAM!

Page 43: Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on

S1

S2

D1

Conclusion Slide:

0 50 100 150 200 25005

101520

Series1

0 50 100 150 200 2500

5

10

15

Series1

0 50 100 150 200 2500

0.10.20.30.40.5

Series1

Backlog Bound for D1 in a sample RED node

Backlog Bound for S1 in a sample RED node

Moving Average Thruput of Source 2

•Overall Seamless Operation•Throughput During Jamming goes down, but is close to optimal value of 0.03. •Fudge Factor = BT/V + CV/RT•Worst Case Queue Backlog = O(V)•Framework useful for stock market trading! (Thursday @ 10:20am)