Queuing Theory Summary of results. 2 Notations Typical performance characteristics of queuing models...
-
Upload
cordelia-hopkins -
Category
Documents
-
view
214 -
download
1
Transcript of Queuing Theory Summary of results. 2 Notations Typical performance characteristics of queuing models...
Queuing Theory
Summary of results
2
Notations
• Typical performance characteristics of queuing models are:
L : Ave. number of customers in the system
LQ : Ave. number of customers waiting in queue
W : Ave. time customer spends in the system
WQ: Ave. time customer spends waiting in the queue
3
Queue notation
M/M/k/c
Arrival processM = MarkovianGI = General
Departure process(Service time distribution)M = MarkovianG = General
Number of servers
Capacity of the queueIf nothing is specified,we assume infinite capacity
4
M/M/1 queue
2
0
0
][
1 ,
1,1 ,1
. is rate service and
is rate arrival whereprocess,Death -Birth Special
QQQ
nn
n
n
WLSEWW
LWnPL
nPP
5
M/M/1/N queue
? ?
)/(1)(
)/)(1()/(1
,1,0,/1
)/1(/
1
1
1
Q
N
NN
N
n
n
WW
NNL
NnP
6
M/M/1/N queue
• Expected amount of time spent by the customer…. But, what is a customer?
• Do we include those who came but didn’t join the queue because it was full?
• Or, are we including only those who actually joined the system?
• Depending on our consideration, λa = λ in the first case; whereas λa=λ(1-PN) in the second case. Then,
a
LW
7
Tandem queues
1 2M/M/1 M/M/1
2121
2211,
11
11
LWL
Pmn
mn
8
M/G/1
ondistributiy probabilit a having timeservice Random :
12
2
generalS
WLSEWW
WLSE
SEW
Q
QQQ
Derivation of these results is slightly more tedious because, unlikeprevious models where the Markov theory was extensively used,M/G/1 model requires Renewal Reward theory.
9
M/G/1: Priority queues
• Let there be two types of customers (Type 1 and 2). Type 1 being the priority class.
• Meaning, service can never begin for Type 2 customer, if Type 1 is waiting in queue. However, preemption is not allowed.
• Let arrival rate of Type 1 customers be λ1 and that of Type 2 be λ2 (both arrivals are Poisson processes).
• Respective service time distribution be G1 and G2. That is S1~ G1 and S2~ G2.
• Once again, we derive the performance characteristics based on the renewal reward theory.
10
M/G/1: Priority queues
112211
222
2112
11
222
2111
112
12
SESESE
SESEW
SE
SESEW
Q
Q
11
M/M/k queues
• Two types of queues could be considered:
1. Loss function queues: Customer does not join the system if (s/)he sees all k servers busy. This queue is called Erlang’s Loss system.
2. Infinite capacity queues. These are exact extensions of M/M/1 queues.
kij
iP k
j
j
i
i ,1,0 ,!/)/(
!/)/(
:parameter system Loss
1
12
M/M/k queues
kiPk
kk
ki
kk
kj
i
Pki
kk
j
j
i
i
!
)/(
!/)/(!/)/(
!/)/(
0
1
1