webtp meeting (10/18/1999) link sharing principles class based queueing (cbq) s. floyd and v....

31
WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Post on 19-Dec-2015

217 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

WebTP Meeting (10/18/1999)

Link Sharing Principles

Class Based Queueing (CBQ)

S. Floyd and V. Jacobson - ToN 1995

Page 2: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Goals

• Link Sharing:– Distribute bandwidth according to some

hierarchy

Page 3: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Goals

• Link Sharing:– Distribute bandwidth according to some

hierarchy

• CBQ: A unified framework for supporting– Link Sharing– Real-time (delay sensitive) services

Page 4: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing between Traffic Classes

C onn . 150%

R T - V ideo50%

C onn . 215%

C onn . 310%

T ext, C G I25%

C onn . 412 .5%

C onn . 512 .5%

G IF , JP EG25%

L ink (P ipe)

Page 5: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing

C onn . 150%

R T - V ideo50%

C onn . 215%

C onn . 310%

T ext, C G I25%

C onn . 412 .5%

C onn . 512 .5%

G IF , JP EG25%

L ink (P ipe)

Leaf Class

Interior Class

Page 6: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing

C onn . 150%

R T - V ideo50%

C onn . 215%

C onn . 310%

T ext, C G I25%

C onn . 412 .5%

C onn . 512 .5%

G IF , JP EG25%

L ink (P ipe)

Level 1

Level 2

Level 3

Page 7: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing between Users

U ser 150%

U ser 250%

L ink (P ipe)

Page 8: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing between Users

V ideo10%

F T P40%

U ser 150%

V ideo40%

F T P10%

U ser 250%

L ink (P ipe)

Page 9: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Weights Allocation

• Static

• Dynamic– network condition– user preferences– adding/removing connections

Page 10: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing Goal

Over appropriate time-intervals, each interior or leaf class should receive its allocated bandwidth

(given sufficient demand)

Page 11: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing between Users

110%

240%

U ser 150%

140%

210%

U ser 250%

L ink (P ipe)

Page 12: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing between Traffic Classes

C onn . 150%

R T - V ideo50%

C onn . 215%

C onn . 310%

T ext, C G I25%

C onn . 412 .5%

C onn . 512 .5%

G IF , JP EG25%

L ink (P ipe)

Page 13: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

CBQ Fundamentals

• Scheduling– General scheduler– Link sharing scheduler

Page 14: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

CBQ Fundamentals

• Scheduling– General scheduler– Link sharing scheduler

• Classes– Unregulated– Regulated

Page 15: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

CBQ Fundamentals

• Scheduling– General scheduler– Link sharing scheduler

• Classes– Unregulated– Regulated

• Bandwidth Estimator– Exponential weighted moving average

Page 16: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Classes - Definitions

• Bandwidth Utilization– Overlimit– Underlimit– At-limit

Page 17: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Classes - Definitions

• Bandwidth Utilization– Overlimit– Underlimit– At-limit

• Satisfaction– Unsatisfied: Underlimit + persistent backlog– Satisfied

Page 18: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing - Guidelines

• A class stays unregulated if1. It is not overlimit

Page 19: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing - Guidelines

• A class stays unregulated if1. It is not overlimit, OR

2. It has a not-overlimit ancestor at level j, and there are no unsatisfied classes in the link-sharing structure at levels lower than j.

Page 20: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing - Guidelines

• A class stays unregulated if1. It is not overlimit, OR

2. It has a not-overlimit ancestor at level j, and there are no unsatisfied classes in the link-sharing structure at levels lower than j.

• Otherwise it should be regulated

Page 21: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Link Sharing - Guidelines

• A class stays unregulated if1. It is not overlimit, OR

2. It has a not-overlimit ancestor at level j, and there are no unsatisfied classes in the link-sharing structure at levels lower than j.

• Otherwise it should be regulated

• Remark: The root is always not-overlimit

Page 22: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Examples

1 2

A

1 2

B

L ink

Page 23: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Example 1

1 2

A

1 2

B

L ink

Under

Over

Page 24: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Example 2

1 2

A

1 2

B

L ink

Under

Over

Page 25: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Example 2

1 2

A

1 2

B

L ink

Backlog

Page 26: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Example 2

1 2

A

1 2

B

L ink

Unsatisfied

Unsatisfied

Page 27: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Example 2

1 2

A

1 2

B

L ink

Regulated

Unsatisfied

Unsatisfied

Page 28: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

Example 3

1 2

A

1 2

B

L ink

Unsatisfied

Overlimit +Backlog

Regulated

Page 29: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

CBQ - Pros

• Bandwidth protection

• Hierarchy

• Support of priorities for delay-sensitive services

• flexibility

Page 30: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

CBQ - Cons

• No deterministic/statistical guarantees on performance measure (delay, throughput)

• Many tunable parameters with unknown effects

Page 31: WebTP Meeting (10/18/1999) Link Sharing Principles Class Based Queueing (CBQ) S. Floyd and V. Jacobson - ToN 1995

CBQ and WebTP

• Allow sharing of multiple connections with different requirements within a pipe

• Allow sharing between multiple users or protocols (FAT pipes)

• Open questions:– Traffic classification, admission control– Variable-rate server– interaction with the ADU scheduler