Queuing Theory - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

Queuing Theory

Description:

Impact of Variability. Optimal Sharing. Compare the two ... Idea of Proof ... What is the impact on waiting time when capacity is doubled ? 21. Case Study. 22 ... – PowerPoint PPT presentation

Number of Views:103
Avg rating:3.0/5.0
Slides: 32
Provided by: jyleb
Category:

less

Transcript and Presenter's Notes

Title: Queuing Theory


1
Queuing Theory
  • for those who cannot wait

2
All You Need to Know About Queuing Theory
  • Queuing is essential to understand the behaviour
    of complex computer and communication systems
  • In depth analysis of queuing systems is hard
  • Fortunately, the most important results are easy

3
1 Deterministic Queuing
  • Easy but powerful
  • Applies to deterministic and transient analysis
  • Example playback buffer sizing

4
Use of Cumulative Functions
5
Solution of Playback Delay Pb
A.
6
2 Stochastic Queuing SystemsClassical Results
7
i.e. which are event averages (vs time averages ?)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
Non Linearity of Response Time
12
Impact of Variability
13
Optimal Sharing
  • Compare the two in terms of
  • Response time
  • Capacity

14
5.3 Operational Laws5.3.1 Littles Law
15
Idea of Proof
  • Consider a simulation where you measure R and N.
    You use two counters responseTimeCtr and
    queueLengthCtr. At end of simulation, estimate
    R responseTimeCtr / NbCust N
    queueLengthCtr / Twhere NbCust number of
    customers served and Tsimulation duration
  • Both responseTimeCtr0 and queueLengthCtr0
    initially
  • Q When an arrival or departure event occurs, how
    are both counters updated ?A queueLengthCtr
    (tnew - told) . q(told) where q(told) is the
    number of customers in queue just before the
    event. responseTimeCtr (tnew - told) .
    q(told)thus responseTimeCtr queueLengthCtr
    and thusN R . NbCust/T now NbCust/T is
    our estimator of ?

16
Other Operational Laws
17
The Interactive User Model
18
4.2 Network Laws
19
4.3 Bottleneck Analysis
  • Apply the following two bounds
  • Example

(1)
(2)
17
20
Throughput Bounds
21
Bottlenecks
A
22
Case Study
  • What is the impact on waiting time when capacity
    is doubled ?

23
Application of Methodology
24
Queuing Model
25
Load (1) Transient Analysis
dmax
customers
dmax/2
B
A(t)
b(t)2ct
b0(t)ct
time
26
Load (2) Stationary Analysis
  • Assume no feedback loop

27
Load (2) Stationary AnalysisA Refined Model,
with feedback loop
  • Reduction of waiting time increases throughput
  • A better model

c
Z
28
Bottleneck Analysis
29
(No Transcript)
30
  • We also see that a key value isGive an
    interpretation for c
  • The system should target c c

31
Conclusion
  • Queuing is essential in communication and
    information systems
  • Bottleneck analysis and worst case analysis are
    usually very simple and often give good insights
  • M/M/1, M/GI/1 and variants have closed forms
Write a Comment
User Comments (0)
About PowerShow.com