Professional Documents
Culture Documents
Introduction to Computer
Communication Networks
Lecture 11
Purdue University
Reminder: Queueing Notation
Notation:
Single server
… Multiserver queue
Service time
Purdue University
Reminder: Queueing Notation
Finite Buffer: A/B/C/D
Example:
(a) M/M/1 (Arrival Poisson, service exponential, 1-server)
Memoryless
(b) M/G/1
General
Purdue University
Reminder: Queueing Notation
(c) M/M/m
# of servers = m
# of servers = m
Purdue University
M/M/1 Queue
Poisson
Purdue University
M/M/1 system
P { n s t , n t}
P { n s t | n t}
P{ n t}
P{ n s t}
P{ n t}
e ( s t )
t
e
s
e
P{ n s} For all s, t ≥ 0.
Purdue University
M/M/1 system
Additional time a customer waits in service is
independent of how long it has waited so far.
Quantities of interest:
Purdue University
M/M/1 system
Pn = lim t∞ Pn(t).
Pn(t+t) = f(Pj(t))
Purdue University
M/M/1 system
Let n ≥ 1
a) At time t, Queue is in state ≥ n+2 or ≤ n-2 with probability
o(T)
b) Queue is in state n at time t
a) No arrivals or departure in (t, t+ T]
b) 1 arrival and 1 departure in (t, t+ T]
c) Any other scenario is o(T)
c) Queue is in state n-1 at time t
a) One arrival and no departure
b) o(T)
d) Queue is in state n+1 at time t
a) No arrival and 1 departure
b) Other scenario is o(T)
Purdue University
M/M/1 system
Pn(t + t) =
o(T) + Pn(t)[t t + (1- t)(1- t) +o(t)]
+ Pn-1(t)[(1-t) t + o(t)]
+ Pn+1(t)[(t)(1-t) + o(t)]
Purdue University
M/M/1 system
Dividing (1) and (2) by t, and setting t 0, we have:
dPn(t)/dt 0.
Thus, (+)Pn = Pn-1 + Pn+1, n ≥ 1 Eq. (3)
Purdue University
M/M/1 system
Similar derivation for n=0 (Homework)
P0 = P1
P0= P1 0
P1= P2+[P0 - P1]
0
P2= P3+[P1 - P2]
0
Pn= Pn+1+[Pn-1 - Pn]
Purdue University
M/M/1 system
Pn+1= (/)Pn, for n=1,2,…
Pn= (/)Pn-1
= (/)2Pn-2
Pn= (/)nP0
= nP0,
where = / = utilization or load in system
Now we have related Pn to P0, but how do we find these
probabilities in terms of the queue parameters (e.g., and
)?
Purdue University