72
October 27, 2005 ANCS 2005 Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling Bogdan Caprita, Jason Nieh, and Wong Chun Chan Columbia University

Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

  • Upload
    ifama

  • View
    27

  • Download
    0

Embed Size (px)

DESCRIPTION

Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling. Bogdan Caprita, Jason Nieh, and Wong Chun Chan Columbia University. Hierarchical framework for proportional sharing of network links with good fairness and overhead. GRR. - PowerPoint PPT Presentation

Citation preview

Page 1: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Group Round Robin: Improving the Fairness and

Complexity of Packet Scheduling

Bogdan Caprita, Jason Nieh, and Wong Chun Chan

Columbia University

Page 2: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR

Hierarchical framework for proportional sharing of network links with good fairness and overhead

Page 3: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR

Hierarchical framework for proportional sharing of network links with good fairness and overhead

• Proportional sharing

• Related work• GRR scheduling• Results

Page 4: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Scheduling

Time-multiplexing a shared resource among a set of competing entities

Page 5: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Scheduling

Time-multiplexing a shared link among a set of competing flows

Page 6: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Scheduling

Time-multiplexing a shared link among a set of competing clients

Page 7: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Scheduling

Time-multiplexing a shared link among a set of competing clients

Goals:metric of interest (throughput, delay, fairness …)speed, simplicity

Page 8: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource share in proportion to its weight

Goals:

fairness: is the allocation really ~ weight?

speed, simplicity

Page 9: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource time (WC) in proportion to its weight (φC)

WC ≈ (φC/ΦT)WT

-

-

-

-

Page 10: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource time (WC) in proportion to its weight (φC)

WC ≈ (φC/ΦT)WT

-

-

-

-

Client work

Page 11: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource time (WC) in proportion to its weight (φC)

WC ≈ (φC/ΦT)WT

-

-

-

-

Client weight

Page 12: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource time (WC) in proportion to its weight (φC)

WC ≈ (φC/ΦT)WT

-

-

-

-

Total weight

Page 13: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource time (WC) in proportion to its weight (φC)

WC ≈ (φC/ΦT)WT

-

-

-

-

Total work

Page 14: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Allocate to each client resource time (WC) in proportion to its weight (φC)

WC ≈ (φC/ΦT)WT

Goals:fairness: is the allocation really ~ weight?

Ideal: GPS (Parekh, Gallager)speed, simplicity

Page 15: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Issues:

skewed weights –

unfair

many clients –

slow, complicated

Page 16: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Formalize:

fairness service error EC=|WC – (φC/ΦT)WT|

Issues:

skewed weights –

unfair

many clients –

slow, complicated

Page 17: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Proportional Scheduling

Issues:

skewed weights –

unfair

many clients –

slow, complicated

Formalize:

fairness service error EC=|WC – (φC/ΦT)WT|

complexity

running time / decision

Page 18: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Related Work

Round-Robin

Virtual Time

Page 19: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Round Robin

• Weighted Round Robin

• Deficit Round Robin

• Virtual Time Round Robin

• Smoothed Round Robin

• Stratified Round Robin

Fast ( usually O(1) ), but unfair ( Ω(N) )

Page 20: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Virtual Time

• Weighted Fair Queuing• Start-Time Fair Queuing• Self-Clocked Fair Queuing • Worst-case Fair Weighted Fair Queuing• Earliest Eligible Virtual Deadline First• Hierarchical Stride

Slow (usually Ω(log N) ), but fair ( O(N), O(1) )

Page 21: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR

Hierarchical framework for proportional sharing of network links with good fairness and overhead

• Proportional sharing

• Related work• GRR scheduling• Results

Page 22: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

• Grouping Strategy• Scheduling groups using intergroup

scheduler• Scheduling clients within groups using

intragroup scheduler

Page 23: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

Our approach: Exponential grouping by weight

G = { C : 2σ ≤ φC < 2σ+1 } σG = “group order”

1 2,3 4..7 8..15 16..31 32..63 …

σ=0 σ=1 σ=2 σ=3 σ=4 σ=5

number of groups: g = constant

Page 24: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

Our approach: Exponential grouping by weight

G = { C : 2σ ≤ φC < 2σ+1 } σG = “group order”

why? Decrease:

number of schedulable entities (few groups)

weight skew(clients within groups have similar weights)

Page 25: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Example:

C1 C2 C3 C4 C5

φ1=12 φ2=3 φ3=3 φ4=2 φ5=4

Grouping Strategy

Page 26: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

G1 G2 G3

C1 C4 C5

Example:

C1 C2 C3 C4 C5

φ1=12 φ2=3 φ3=3 φ4=2 φ5=4

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Grouping Strategy

Page 27: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

Data structures

Group G: unordered list of clients

group weight: Φ = ∑CG φC

Group list:

Φ1 , Φ2 , Φ3 ,… Φg g ≤ 32

Page 28: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

Two-level scheduler

1. Intergroup scheduling

2. Intragroup scheduling

Page 29: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

Two-level scheduler

1. Intergroup scheduling

idea: use an existing scheduler to schedule groups

Page 30: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

Φ 12 8 4

G1 G2 G3

Page 31: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

Φ 12 8 4

G1 G2 G3

Page 32: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

G1 G2 G3

12 8 4

Page 33: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

G1 G2 G3

12 8 4

Page 34: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

G1 G2 G3

12 8 4

Scheduling algorithm

Page 35: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

G1 G2 G3

12 8 4

Scheduling algorithmWFQ HS

SCFQ WF2Q

SFQ SRR

Page 36: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR SchedulingExamples (1 - Intergroup):

G1 G2 G3

12 8 4

Scheduling algorithm

G1 G2 G3G1 G1 G2 G1 G2 G3G1 G1 G2

Schedule:

Page 37: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Scheduling

Two-level scheduler

2. Intragroup scheduling

idea: round robin with deficit tracking

“current client” index i < |G| :

if ( Di < 1 ) {

i = i + 1; Di = Di + φC/2σ;

}

Di = Di – 1;

Page 38: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Intragroup Scheduling

Page 39: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 00 00 0

Intragroup Scheduling

Page 40: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 00 00 0

Page 41: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 00.5 00 0

C1

Page 42: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.50.5 00 0

C1 C2

Page 43: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 1 00 0

C1 C2 C1

Page 44: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C3C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C2

Deficit: 0.5 0 00 0

C1 C2 C1 C1

Page 45: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 00.5 0

C1 C2 C1 C1 C3

Page 46: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 00.5 0

C1 C2 C1 C1 C3 C5

Page 47: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C4C4C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0.5 00.5 0

C1 C2 C1 C1 C3 C5 C1

Page 48: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 0

C1 C2 C1 C1 C3 C5 C1 C4

0.5 0.5

Page 49: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 1 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1

0.5 0.5

Page 50: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0.5 0.5

Page 51: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

1 0.5

C2

Page 52: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

1 0.5

C2 C5

Page 53: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

1 0.5

C2 C5

C1

Page 54: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0.5

C2 C5

C1 C2

Page 55: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 1 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0.5

C2 C5

C1 C2 C1

Page 56: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0.5

C2 C5

C1 C2 C1 C1

Page 57: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 1

C2 C5

C1 C2 C1 C1 C3

Page 58: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 1

C2 C5

C1 C2 C1 C1 C3 C5

Page 59: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 1

C2 C5

C1 C2 C1 C1 C3 C5 C1

Page 60: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0.5 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0

C2 C5

C1 C2 C1 C1 C3 C5 C1 C3

Page 61: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 1 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0

C2 C5

C1 C2 C1 C1 C3 C5 C1 C3 C1

Page 62: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C4C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0

C2 C5

C1 C2 C1 C1 C3 C5 C1 C3 C1 C1

Page 63: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C4C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0

C2 C5

C1 C2 C1 C1 C3 C5 C1 C3 C1 C1 C4

Page 64: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

C4C1 C5C3C2C1

Intragroup Scheduling

G1 G2 G3

C1 C4 C5

Examples (2 - Intergroup):

G1={C1} Φ1=12 ; G2={C2, C3, C4} Φ1=8 ; G3={C5} Φ3=4

φ1=12 ; φ2=3, φ3=3, φ4=2 ; φ5=4

C3C2

Deficit: 0 0 0

C1 C2 C1 C1 C3 C5 C1 C4 C1 C1

0 0

C2 C5

C1 C2 C1 C1 C3 C5 C1 C3 C1 C1 C4 C5

Page 65: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR

Hierarchical framework for proportional sharing of network links with good fairness and overhead

• Proportional sharing

• Related work• GRR scheduling• Results

Page 66: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Properties

Theoretical

Worst-case bounds

Experimental

Simulations

Page 67: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR Theoretical Properties

Error: EC < EG + O(1)

Time complexity: TCG + O(1)

Page 68: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Intergroup Schedulers

Scheduler Error – Θ() Time – Θ()

WFQ N Log(N)

SCFQ N Log(N)

SFQ N Log(N)

HS Log(N) Log(N)

WF2Q 1 Log(N)

SRR N*Log(φC) 1

Page 69: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Simulation Studies

0.1

1

10

100

1000

32 64 128 256 512 1024 2048 4096 8192

Number of Clients

Neg

ativ

e S

ervi

ce E

rro

rGRR WFQ SRR WF2Q

Page 70: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Simulation Studies

0.1

1

10

100

1000

32 64 128 256 512 1024 2048 4096 8192

Number of Clients

Po

sit

ive

Se

rvic

e E

rro

rGRR WFQ SRR WF2Q

Page 71: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

GRR C & FW

Hierarchical framework for proportional sharing of network links with good fairness and overhead

• Scheduler

Integration• Analysis• Implementation

Page 72: Group Round Robin: Improving the Fairness and Complexity of Packet Scheduling

October 27, 2005 ANCS 2005

Thank You!

http://ncl.cs.columbia.edu/