Lecture Notes 3 - Scheduling
Lecture Notes 3 - Scheduling
SCHEDULING
- conceptually:
SCHED 1
- 2 general service categories:
SCHED 2
- delay jitter critical in audio and video playback
applications where constant information required
SCHED 3
- very easy to implement in both hardware and software but
cannot guarantee quality of service
SCHED 4
- scheduler is "non-work-conserving" if server may be idle
when queues not empty
- procedure:
SCHED 5
- if d1 < C/n, then user 1 gets d1 of resource and user 2
gets up to (C-d1)/(n-1) of resource
etc.
Example:
SCHED 6
(e) Scheduling Best-Effort Connections
SCHED 7
- packets go into a logical queue associated with their
connection
- GPS unimplementable!
How can we serve a portion of a packet in a time
t 0?
Example:
SCHED 8
Weighted Round Robin
- basic concept:
compute "times" to finish serving packets with
GPS server and then serve packets in order of
finishing "times" (actually "finishing numbers")
SCHED 9
- an active connection has largest finish number of packet
waiting in queue or currently being served
> current round number
FN calculation:
SCHED 10
RN = t link rate / # active connections + constant
(bits)
SCHED 11
- buffer drop policy: when packet comes into queue, if
necessary, packets with largest finishing numbers can
be dropped to make room for packets
wi
link rate
j wj
SCHED 12
- delay jitter: WFQ not directly useful but one non-work-
conserving approach:
SCHED 13