Previous: 5. About G/G queues
Up: Aide à la décision
Next: Bibliography
  Contents
Subsections
6. M/M Queues
Definition 6.1.1
A random exponential variable

with parameter

is
distributed according to:
Proposition 6.1.2
For an exponential variable, we have:
Preuve.
Using

leads to the following results:
Proposition 6.1.3
The exponential distribution is to be applied when
,
i.e. when the distribution of the time to wait for an arrival is the
same whatever is the starting time of the observation.
Preuve.
This comes from:
Definition 6.1.4
A M/M queue is a waiting queue where both arrivals and services are
independent and exponentially distributed.
Proposition 6.1.5
When i.e.
, i.e.
when services are exponentialy distributed with flow
, the time
distribution of the services is
and we have:
Remark 6.1.6
If you chose (uniformly) a time tick to observe the queue and repeat
until you see a running service, this service is longer than average,
because that is the reason why you observe this service, rather a
shorter one. But your observation takes place at random during the
service, the expected value being the middle of that service. And
we obtain again that the time to wait to next arrival from a random
point in the time line is

,
i.e. the expected value of an inter-arrival.
Theorem 6.2.1
When the inter-arrivals are independent and exponentially distributed,
the number
of customers arriving in an time interval of fixed
length
is Poisson distributed and we have:
Preuve.
Define

as the date of the first arrival occuring after the begining
of the observation. In order to have

, we must have

and
therefore

.
Suppose now that
. Obviously
where
,
and
customers arrive in the time interval
whose lenght is
. Using the total probability formula and an
obvious recurrence, we obtain:
where factors

cancel, leading
to the requested result.
Proposition 6.2.2
Expectation and variance of a Poisson distribution are both equal
to the parameter. Here:
Preuve.
The first result is obvious, and the second can be obtained by:
Remark 6.2.3
The result

confirms the fact that

is the flow of arrivals. The result

confirms the
fact that

is a number, i.e. a dimensionless quantity.
Proposition 6.2.4
When services are iid exponential (M distributed), the time expectation
of a service is exactly twice the individual expectation, and the
expectation of the (assumed non zero) residual service, as seen by
the incomming customer, is exactly the individual expectation.
Preuve.
From

,

one obtains

and therefore

: you are arriving during the
service of this custommer (rather than during another service) because
of a greater duration of this service. From the
PASTA property
(
Wolff, 1982), your arrival is at (uniform) random during this
service and the average residual service is half the time average.
Theorem 6.3.1
The sojourn times in a M/M queue with arrival and service flows
and
are exponentially distributed, with parameter
.
Especially, the average sojourn time is:
Remark 6.3.2
In this theorem, the flow value for clearing the queue from a busy
state is obvious. The content of the theorem is the exponential distribution
that allows to link customer/server observations, i.e. number and
time averages.
Example 6.3.3
Let us consider a physician office where the flow of patients is around
three per hour, and the consultations last about 15 minutes. Assuming
a M/M model, the average sojourn time of a patient will be one hour.
Using

, we see that the time average occupancy is three
patients inside or outside the examination room. Using

, we
see that the average number of patients just after an arrival is four,
including the incoming one and, if she/he exists, the patient being
examinated. For a less crude model, see
Gilchrist et al., 2005.
Theorem 6.4.1
Consider an M/G waiting queue with load
.
Then:
Preuve.
Assume the next coming .
Previous: 5. About G/G queues
Up: Aide à la décision
Next: Bibliography
  Contents
douillet@ensait.fr
2007-12-26