The following steps allow us to obtain the moments of
:
(i) We first set up a differential equation for
. For this purpose, we carefully
examine the relationship between
and
.
First, suppose
(see Figure A.1(a)).
Since the long server is always busy between
and
,
only long jobs could arrive at the queue.
Since the arrival process is Poisson with rate
,
the probability of having a job arrival in time
is
.
Any such arrival will have service time
.
Therefore,
Next, suppose
(see Figure A.1). Let a random variable
be the fraction of time that the long server was idle during
given that there were no arrivals during this interval.
Let a random variable
be the fraction of time that the
long server was busy during this interval given that there was a long job
arrival. Let a random
variable
be the fraction of time that the long server
was busy during the interval giving that there was a short job arrival.
Then,
Based on the above observation, the Laplace transform
of
is obtained as follows:
![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
|
![]() |
(ii) Let
. Then,
because
the queue reaches the stationary state.
Let
.
Then,
is obtained as
a function of
:
![]() |
![]() |
![]() |
(iii) Next, we will obtain by evaluating
at
.
Note that the Laplace transform
of a probability distribution
always has the property
.
![]() |
![]() |
![]() |
![]() |
(iv) The moments of waiting time, and subsequently response time, are easily
obtained by
differentiating
and evaluating at
.
In particular, the
-th moment of
is