1
Packet Scheduling: ( ) Weighted Fair Queueing (WFQ) and Virtual Clock (VC) and Virtual Clock (VC)
2/2/2017
1 WFQ and VC scheduling (Simon S. Lam)
Packet Scheduling: Weighted Fair Queueing (WFQ) ( ) and Virtual - - PowerPoint PPT Presentation
Packet Scheduling: Weighted Fair Queueing (WFQ) ( ) and Virtual Clock (VC) and Virtual Clock (VC) WFQ and VC scheduling (Simon S. Lam) 1 2/2/2017 1 Fair Queueing server Flow 1 packets Flow 2 packets R R Flow n packets Round robin
1
2/2/2017
1 WFQ and VC scheduling (Simon S. Lam)
2
R Flow 1 packets Flow 2 packets R Flow n packets
2 WFQ and VC scheduling (Simon S. Lam)
3
w1 w2 R Flow 1 packets Flow 2 packets wn Flow n packets
3 WFQ and VC scheduling (Simon S. Lam)
4
During each round, each flow with data sends a
4 WFQ and VC scheduling (Simon S. Lam)
5
Packet Size (bits) Packet inter-arrival time (ms) Arrival Rate (Kbps) Fl 1 1000 10 100
100 Kbps Flow 1 (w1 = 1)
Flow 1 1000 10 100 Flow 2 500 10 50
Flow 2 (w2 = 1)
Flow 1 arrivals
1 2 3 4 5
Note: Each number is one packet
Flow 2 arrivals Time Time
1 2 3 4 5 6
packet
1 2
3 1 2 4 3 4 5 5 6 Time Service in fluid flow 1 2 3 4 5 6 in fluid flow system Time (ms) 10 20 30 40 50 60 70 80
5 WFQ and VC scheduling (Simon S. Lam)
2/2/2017
6
1 2
3 1 2 4 3 4 5 5 6 Service in fluid flow system time (ms)
1 2 1 3 2 3 4 4 5 5 6
Packet-by-packet system
system time (ms)
6 WFQ and VC scheduling (Simon S. Lam)
7
f
f
f
f
f f f f f
7 WFQ and VC scheduling (Simon S. Lam)
8
When this happens, the finishing times
8 WFQ and VC scheduling (Simon S. Lam)
9
thus, finish order of existing packets does not
9 WFQ and VC scheduling (Simon S. Lam)
10
Flow 1 (w = 1) Flow 2 (w2 = 1) Flow 1 (w1 = 1)
time time
1 2
3 1 2 4 3 4 5 5 6
C C/2
V(t)
(round #)
10 WFQ and VC scheduling (Simon S. Lam)
time t
11
f
f
f
f
f f f f
f f f f
11 WFQ and VC scheduling (Simon S. Lam)
12
PGPS
GPS
max
PGPS GPS
No notion of a reserved rate nor admission control that
max
No notion of a reserved rate, nor admission control that bounds the number of flows
WFQ and VC scheduling (Simon S. Lam) 12
13
but unlike TDM, if a flow idles, its reserved
A flow source that generates packets at a rate
but it cannot affect the throughput rates
WFQ and VC scheduling (Simon S. Lam) 13
14
f
WFQ and VC scheduling (Simon S. Lam) 14
15
Virtual clock values of packets are determined
FCFS within a flow FCFS within a flow non-preemptive
WFQ and VC scheduling (Simon S. Lam) 15
16
The number of flows is limited (admission
but it cannot affect the throughput rates
No consideration of delay guarantee or bound in the original paper
WFQ and VC scheduling (Simon S. Lam) 16
No consideration of delay guarantee or bound in the original paper
17
Paper is about fair queueing and flow control. Weights are
i d il h l i l di k not mentioned until the last page in a concluding remark. A. Parekh and R. Gallager, “A generalized processor-
WFQ and VC scheduling (Simon S. Lam) 17
18
WFQ and VC scheduling (Simon S. Lam) 18