1
P k S h d li Packet Scheduling: E d t E d D l B d End-to-End Delay Bounds
Delay bounds (Simon S. Lam) 1
2/7/2017
P Packet Scheduling: k S h d li E d t End-to-End Delay Bounds E - - PowerPoint PPT Presentation
P Packet Scheduling: k S h d li E d t End-to-End Delay Bounds E d D l B d Delay bounds (Simon S. Lam) 1 2/7/2017 1 References References Delay Guarantee of Virtual Clock server Geoffrey G. Xie and Simon S. Lam, Delay
1
Delay bounds (Simon S. Lam) 1
2/7/2017
2
G ff G Xi d Si S L “D l G t f
Geoffrey G. Xie and Simon S. Lam, “Delay Guarantee of
Virtual Clock Server,” IEEE/ACM Transactions on Networking, Vol. 3, No. 6, December 1995.
Simon S. Lam and Geoffrey G. Xie, “Group Priority
Scheduling,” IEEE/ACM Transactions on Networking, Vol. Sch u ng, EEE/ M ransac ons on N wor ng, Vo . 5, No. 2, April 1997.
Pawan Goyal, Simon S. Lam, and Harrick Vin, “Determining
End-to-End Delay Bounds in Heterogeneous Networks,” E E D y g , ACM/Springer-Verlag Multimedia Systems, Vol. 5, No. 3, May 1997.
Delay bounds (Simon S. Lam) 2
2/7/2017
3
f b
Let rf be the reserved rate in bits/s allocated to
Each flow f has a “virtual clock”, priority(f),
f
Delay bounds (Simon S. Lam) 3
2/7/2017
4
Wh
Whenever the VC server is ready for another packet,
FCFS within a flow non-preemptive
Consider a hypothetical server with rate rf dedicated
Consider a hypothetical server with rate rf dedicated
( 1) l p +
Virtual clock value P(p) in previous slide is same as
( 1) ( 1) max{ ( ), ( 1)}
f
l p F p F p A p r + + = + +
Delay bounds (Simon S. Lam) 4
2/7/2017
5
with no assumption that sources are flow-
It is a conditional guarantee based upon a flow’s
Delay bounds (Simon S. Lam) 5
2/7/2017
6
Delay bounds (Simon S. Lam) 6
2/7/2017
7
At time t, the condition
During a busy period of the VC server (packet by packet),
flow f may be active when there is no flow f packet in
flow f may be inactive when the system has flow f
Delay bounds (Simon S. Lam) 7
2/7/2017
8
Defintion 2: Let C denote the capacity, in bits/s, of a
( )
f f t
( ) f a t ∈
Above condition using a(t) allows more packets to
but requires admission control for each packet arrival but requires admission control for each packet arrival
Delay bounds (Simon S. Lam) 8
2/7/2017
9
max
max
Delay bounds (Simon S. Lam) 9
2/7/2017
10
While each flow, say f, has a reserved rate rf , its
The delay guarantee in (4) holds even if the flows
[assuming each flow is allocated its own buffers]
It is a conditional guarantee based on the flow’s
Delay bounds (Simon S. Lam) 10
2/7/2017
11
Delay bounds (Simon S. Lam) 11
2/7/2017
12
Flow sources are statically assigned reserved
f f
On-demand assignment per session. A source
( ) f a t f F
∈ ∈
f f
( ) ( ) f f f a t f D t
∈ ∈
Delay bounds (Simon S. Lam) 12
2/7/2017
13
All packets of an application data unit are
p ( ) p , ( ) video
Given a priori knowledge of source traffic
Delay bounds (Simon S. Lam) 13
2/7/2017
14
A packet’s delay is bounded from its expected
On the other hand packets arriving late do not On the other hand, packets arriving late do not
Delay bounds (Simon S. Lam) 14
2/7/2017
15
If P(n)-A(n) is bounded above, then the delay of
The goal of source control is to bound P(n) – A(n)
f f
max max
f
Delay bounds (Simon S. Lam) 15
f
2/7/2017
16
1 2
f k
Bits of a packet arrive when the last bit of the
The arrival function consists of a jump at each The arrival function consists of a jump at each
f k
−
1 2 2 1 1 2
f f f f f k
Delay bounds (Simon S. Lam) 16
2/7/2017
17
f
max
f
Delay bounds (Simon S. Lam) 17
2/7/2017
18
The delay guarantee theorem holds as long as the
We can change the “active flow” definition (to admit We can change the active flow definition (to admit
(i)
(ii)
(ii) a flow f packet has arrived in the current busy
(iii) priority(f) > t (iii) priority(f) t
Delay bounds (Simon S. Lam) 18
2/7/2017
19
Good or bad?
Delay bounds (Simon S. Lam) 19
2/7/2017
20
Delay bounds (Simon S. Lam) 20
2/7/2017
21
Delay bounds (Simon S. Lam) 21
2/7/2017
22
Delay bounds (Simon S. Lam) 22
2/7/2017
23
It provides the following service to flow f It provides the following service to flow f
Delay bounds (Simon S. Lam) 23
2/7/2017
24
Delay bounds (Simon S. Lam) 24
2/7/2017
25
Delay bounds (Simon S. Lam) 25
2/7/2017
26
f
( )
f k
V i
f
f k
k f f f f k k k
For the special case of VC servers
f f f f
f f
Delay bounds (Simon S. Lam) 26
2/7/2017
k k
27
f k k
1 ( ) depends on
f f k k
+
f f k k
f f
k k
Delay bounds (Simon S. Lam) 27
2/7/2017
28
f f
1 1
f f K
+
1 1
f k
1( ) f k
+
f K
1( ) f K
+
1 ( ) f
1 k k+1 K K+1 source destination
1 ( ) f
1( ) f k
+
f K
k
f k
1 ( )
f k k
1( ) k+
K
k
βk is delay due to non-preemption
1 1
f f f k k k k k k
+ +
Delay bounds (Simon S. Lam) 28
1 , 1
k k k k k k + +
2/7/2017
29
f f k k
Proof in [Lam and Xie 1997] by induction
( ) ( ) and ( )
f f f
s j v j j λ =
Delay bounds (Simon S. Lam) 29
2/7/2017
by induction
, 1 k k k k
α β α
+
= +
30
Proof in [Lam and Xie 1997] by applying Lemma 2 recursively
Delay bounds (Simon S. Lam) 30
2/7/2017
31
1 1
f f K
+
1 1
K
+
a source control mechanism is used such that
1 1
f f
server k is a GD server, 1 ≤ k ≤ K, such that the
f f
f f k k
Delay bounds (Simon S. Lam) 31
2/7/2017
32
Delay bounds (Simon S. Lam) 32
2/7/2017
33
also, the term may be positive or
( ) ( )
f f k k
P j V j −
k k
Delay bounds (Simon S. Lam) 33
2/7/2017
34
f k
k
Virtual Clock WFQ/PGPS Delay-EDD Leave-in-Time
Delay bounds (Simon S. Lam) 34
2/7/2017
35
Delay bounds (Simon S. Lam) 35
2/7/2017
36
max
f f k k PGPS k GPS
,
f f k k GPS
, , ,
k PGPS k GPS k f k GPS
f
g
( )
k
f k k g k g b t
∈
k
Set of flows must be finite for the reserved rate to be
Delay bounds (Simon S. Lam) 36
2/7/2017
for the reserved rate to be nonzero for all t
37
f
, ,
f f f f k GPS k GPS k f
f f f f
f f f f k k k f f f
f
,
f f f k k GPS k
f f k k
Delay bounds (Simon S. Lam) 37
2/7/2017
38
Delay bounds (Simon S. Lam) 38
2/7/2017
39
Delay bounds (Simon S. Lam) 39
2/7/2017
40
Using Eq. (5) of Theorem 1 together with leaky bucket source control, we get
1 1 1 1
f f K f f K j i k f f k
+ ≤ ≤ =
1 1
f f K j i k f k
≤ ≤
1 k
=
1 max , 1
k k f f k k k k k
= +
, 1 k k k k k k
+
Delay bounds (Simon S. Lam) 40
2/7/2017
41
approach to flow control in integrated services networks: approach to flow control in integrated services networks: the multiple node case,” IEEE/ACM Trans Networking, April 1994, equation (39).
f f K
max 1
f f K k f k f
=
Delay bounds (Simon S. Lam) 41
max
f
2/7/2017
42
Delay guarantee theorem Decomposition of the end-to-end delay bound
( g )
VC is easier to implement WFQ is slightly more fair
Delay bounds (Simon S. Lam) 42
2/7/2017
43
Delay bounds (Simon S. Lam) 43
2/7/2017