A NNALES DE L ’I. H. P., SECTION B
E. G ELENBE
R. I ASNOGORODSKI
A queue with server of walking type (autonomous service)
Annales de l’I. H. P., section B, tome 16, n
o1 (1980), p. 63-73
<http://www.numdam.org/item?id=AIHPB_1980__16_1_63_0>
© Gauthier-Villars, 1980, tous droits réservés.
L’accès aux archives de la revue « Annales de l’I. H. P., section B » (http://www.elsevier.com/locate/anihpb) implique l’accord avec les condi- tions générales d’utilisation (http://www.numdam.org/conditions). Toute uti- lisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte- nir la présente mention de copyright.
Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques
http://www.numdam.org/
A queue with
serverof walking type (autonomous service) (*)
E. GELENBE R. IASNOGORODSKI
Laboratoire de Recherche en Informatique
Universite Paris-Sud, 91405 Orsay.
Département de Mathematiques
Universite d’Orleans, 45 000 Orleans Ann. Inst. Henri Poincaré,
Vol. XVI, n° 1, 1980, p. 63-73.
Section B :
Calcul des Probabilités et Statistique.
ABSTRACT.
- Queues
with autonomous service(QAS) represent
service systems in which the server becomes unavailable for a random time after each serviceepoch.
Suchsystems
have been used to modelsecondary
memory devices in computer systems
(e.
g.paging
disks ordrums).
Thequeue with « server of
walking
type » studiedby
Skinner[1 ] is
aspecial
instance of our model. This model has also been considered
by
Borovkov[4 ].
Assuming general independent
interarrival times we obtain anoperational
formula
relating
thewaiting
time instationary
state of aQAS
to thewaiting
time of the
GI/G/1
queue. This resultdispenses
the need foranalysis
ofthe
QAS
inspecial
cases andgeneralizes
the result of Skinner[1 ],
or thatof Coffman
[2] ]
for apaging
drum. Sufficient conditions forstability
orinstability
of the system are also obtained.RESUME. - Les files d’attente avec « serveur autonome »
représentent
des files dans
lesquelles
la station de service s’absenteaprès chaque
servicerendu aux clients. Elles sont utilisées en
informatique
pour modéliser les unites de mémoire secondaire(disques
a têtes fixes ou à brasmovible) qui
comportent des temps d’accès ou de
positionnement
avantchaque
transfertd’information.
Ce modèle a ete étudié par Skinner
[7] ] et
par Borovkov[4 ] dans
descas
particuliers.
Nous démontrons une formule
générale
permettant de calculer le tempsAnnales de l’lnstitut Henri Poincaré-Section B-Vol. XVI, 0020-2347/1980~63,~~5,00/ 3
© Gauthier-Villars.
63
64 E. GELENBE AND R. IASNOGORODSKI
d’attente à l’état stationnaire pour la file à serveur autonome à
partir
dutemps d’attente a l’état stationnaire pour une file
GI/G/1 qui
luicorrespond.
Ce résultat
permet
d’eviter uneanalyse
cas par cas de cemodèle,
etgene-
ralise les résultats de Skinner
[I ].
Uneapplication
au modèle du tambour depagination
étudié par Coffman[2 ] est présentée.
1. INTRODUCTION
We examine a
single
server, first-come-first-served service center to which customers arriveaccording
to a renewal process. LetAI, Az, ..., Am
...denote the interarrival
times,
and denoteby
si, s2, ... , sn, ... the service times of the successive customers. Afterserving
the n-th customer the serverbecomes idle for a time
T~ >
0. We writeS"
== Sn +1,
and assume thatSi, S~,
...,Sm
... is a sequence of i. i. d.(independent
andidentically distributed)
randomvariables, independent
also of the interarrival times.Suppose
that the queue is empty attime sk
+Tk ;
the server becomesonce
again
available for service at timesThat
is,
service will resume for the(k
+l)-th
customer which arrives atWe assume that
the {S: }n,k >
1 are i. i. d. andindependent
of the interarrival times and of thesequence { S,, ~n > 1.
In thesequel,
we shalldrop
the index kassociated with
Sn
in order tosimplify
thenotation, though
it will beunderstood that the variables associated with the end of different
busy periods
are distinct.The model we consider arises in many
applications.
In computer systems[2,
3,j~] ] it
serves as a model of apaging
drum(in
this case S and Sare constant and
equal).
In data communication systems it can serve to represent a data transmissionfacility
where transmissionbegins
at pre- determined instants of time.Using
theterminology
of Skinner[1 ] who analyzed
the modelassuming
Poisson
arrivals,
we shall call it a queue with server ofwalking
type : afterAnnales de l’Institut Henri Poincaré-Section B
65
A QUEUE WITH SERVER OF WALKING TYPE
each service the server « takes a walk ». Borovkov
[4] studies
a relatedmodel which he calls a queue with « autonomous service ».
The purpose of this paper is to obtain a
general
formularelating
thewaiting
timeWn
of the n-th customer in our model to thewaiting
time ofthe n-th customer
Vn
in anequivalent GI/G/1
queue, n > 1. Thisequivalent GI/G/1
queue has the same arrival process, but the service times areSi,
...,Sm
... andVn+ I.
=[Vn
+Sn - A" + 1 ] + .
This result allows us todispense
with aspecial analysis
of ourqueueing
modelin’ stationnary
state since we can obtain the result
directly
from the knownanalysis
of thecorresponding GI/G/1
queue.The formula
(Theorem 4)
is derived in Section 2together
with sufficient conditions forergodicity.
Section 3 contains anapplication
to thepaging
drum model.
11 Relation to
previous
workLet us
briefly
reviewprevious
work on thesubject.
Borovkov
( [4 ], Chapter 8)
defines a system with arrivalsaccording
toa renewal process and in
batches,
and with service also in batches. Accor-ding
to the notations definedabove,
he assumes that theTn
= 0 and thatthe
S~
are distributed as theSn,
n >- 1. Furthermore he considers variousspecial
cases for the distribution of theSn
and theAn.
His main result is that the queuelength
distribution(where
the queue does not include the customers inservice)
of the abovesystem
is identical to the queuelength
distribution of a conventional queue
(with
batch arrivals and batch ser-vice)
if the service times areexponentially
distributed.,
The model considered
by
Skinner[1 ]
is aspecial
case of the one westudy
since he assumes that the arrival process isPoisson ;
otherwise it is identical to ours. He obtains thegenerating
function for the queuelength
distribution in
stationary
state.2. PROPERTIES OF THE WAITING TIME PROCESS Consider the sequence
Wi,W2, ... , Wn,
... whereWn
is thewaiting
time of the n-th customer
arriving
to the queue. We shall first prove that.
the
1, satisfy
asimple
recurrence relation.Let 03BEn
=Sn - An+
1.LEMMA 1. -
where
r~( . )
is definedby
66 E. GELENBE AND R. IASNOGORODSKI
where we define for x > 0 :
Proof
- The n-th customer arrives to the queue at time andbegins
service at
E i Ai
+ The server will then be onceagain
available(for
the
(n
+l)-th customer)
at time +W"
+S".
Thereforewhere
l(x)
is defined in(2).
This can be rewritten as
which is the formula
(1) given
in the lemma.As a consequence of Lemma 1 we have the
following
result.LEMMA 2. - If
Eçn
> 0for n
1 thenWn ~
oo withprobability
1as n -~ oo.
Proof
- Notice from(1)
thatr~(x)
> - v for all x withprobability
1 :: if 0 the statement is
obvious ;
sincen(x) >
0 withprobability
1it follows that
r~(x) > - x if x > 0. Therefore, by
lemma 1 we haveTherefore 1. If
Eçn
>0,
then the sum on the RHSconverges with
probability
1 to + oo as n - 00.Henceforth we shall assume that
Eçn
0 for all n 1.Remark 3. - It is now clear that
Wi, W2,
...,Wn,
... is a Markov chainsince ~ 1, ~ 2,
...,~",
... is a sequence of i. i. d. random variables andr~( . )
is a random function which
depends
onSi, S~,
... which are themselvesindependent
of theSi, S2,
..., and of theAi, A2,
....We shall now
study
the characteristic function for thewaiting
time process.
Using (1)
wehave,
for any real tAnnales de l’Institut Henri Poincaré-Section B
67
A QUEUE WITH SERVER OF WALKING TYPE
Then
We are now
ready
to establish the main result of the paper.THEOREM 4.
- Suppose
thata)
the randomvariable ~
is notarithmetic ;
that isg(f) =
has asingle
real value t(t
=0)
for whichg(t) = 1,
. _b) Eç 0,
and ES oo.Then :
i)
W= lim Wn
exists and is a proper random variable( 1 ), ii)
W = V + y,where V
= limV" (1),
1
and y is
independent
of V.That
is,
y is the(limiting)
forward recurrence time of the renewal pro-cess
Si, Si
+S~,
...,Si
+ ... +Sn,
... It is well known thatProof
- DefineIntroduce the
following
notation :Then
(9)
becomesOur
proof
will becomplete
if we can prove the existence anduniqueness
e) lim W p means limit in law.
Vol. XVI, n° 1-1980.
68 E. GELENBE AND R.
IASNOGORODSKI
of the characteristic function
~(t) - EettW
of apositive
random variableW,
solution of thestationary equation
obtained from
(8),
such thati)
andii)
are satisfied.Uniqueness.
We shall first show that if the solution~(t)
to(9) exists,
then it is
unique.
If~(t) exists,
it must be continuous for real t and~(t)
must exist.
Using (7) :
where
K= V
Let us first show that
4J(t)
is a continuous function of t.Set W = x in
(6).
Let us prove that the series on theright-hand-side
of
(7)
isuniformly
convergent on R + as function of x :where H( . ) is
the renewal function for the renewal processSi, Si
+S2, S 1
+S~
+S3,
... andEH( - ç)
is theexpectation of H( - ç)
with respectto the random variable
ç.
ButH( y),
which is theexpected
number of renewals in[0, y ] for y
> 0(and
is zero for y0),
is boundedby
a function afor 0. This
completes
theproof
since a similar argument can beapplied
to the second series.Therefore
G( y)
is a continuous functionof y
for almostall y
0. It isobviously
anincreasing
function of y andG( -
= 0 andG(o- )
~c,since
for y
0because W >_ 0. Therefore
G( y)
is boundedfor y.
0. Thus we have esta-blished that is a continuous function of t.
Rewrite
(9)
asI ,.
Annales de l’lnstitut Henri Poincaré-Section B
69
A QUEUE WITH SERVER OF WALKING TYPE
Since
cp(t)
is continuous andg(~) 5~
1 for t ~ 0(by assumption (a)),
it fol-lows that every zero
of ( f (t) - 1),
if any,except
t =1,
coincides with some zero ofWe now call upon a result of Borovkov
[4 ] ; if E~ 0 (Chapter 4,
p.103, equation (1)) :
where X is a
negative
random variable. Therefore we maywrite,
Or
Consider the LHS of
(10). y5(t), f (t)
andEeitV
are characteristic functions ofpositive
randomvariables ; they
are thereforeanalytic
in the upperhalf-plane (Im(t)
>0)
and continuous on the real line and bounded. Consider the RHS of( 10). ~(f)
is the characteristic function of anegative
randomvariable and so is therefore the RHS of
( 10)
isanalytic
on the lowerhalf-plane (Im(t) 0)
and continuous on the real line and bounded. There- foreby
the theorem of Liouville theexpression (10)
is a constant, call it C.Let us write :
raking
we have C =
P(V
=0)/ES
andTherefore if
~(t) exists,
then it isunique
since it isgiven by (11).
Infact,
we have also shown that if itexists,
it satisfies(ii)
since( 11 )
issimply
the Fourier transform of the statement in
(ii).
Existence. - We must now prove the existence of the solution
given by (11),
of theequation (9).
Using (7),
we shall show that~r(t)
of( 11 )
is a solution to(9).
Wewrite,
from (7) :Vol. XVI, 1-1980.
70 E. GELENBE AND R. IASNOGORODSKI
It is the Fourier transform of the restriction to R ~ of a mesure is the convolution of two measures.
’
*
corresponding
to the randomvariable
on R* defined on R + with
The Fourier transform of ,u2 is
given by
But,
from(11),
Using
the fact is the Fourier transform of theLebesgue ttE(S)
measure on
R+,
withdensity 2014=-,
2 itself is obtained as the convo-E(S)
tution of this
Lebesgue
measure and of the measure of V.Hence, ~
is ~-finite and its Fourier transform isWe
deduce u
=~c*
+ ,u2, where~
. restricted to R +.
.
*
is the restrictionof to R-
and therefore has the Fourier transformcfJ(t)
which isHence
replacing ~(t)
above and(11)
in(9)
we see that theequality (9)
is satisfied
completing
the existenceproof.
We have established the existence and
uniqueness
of thestationary
solution
y5(t)
ofequation (8).
We now have to prove thati. e. that this
stationary
solution is the limit in the aboveequation.
ForAnnales de l’Institut Henri Poincaré-Section B
A QUEUE WITH SERVER OF WALKING TYPE 71
this we shall call upon
general
results on theergodicity
of Markov chainsas
presented by
Revuz[6 ].
Inparticular :
(i) We first show that
Wn
is irreducible.@ We use the Theorem
(Revuz [6],
Theorem2 . 7, Chapter 3)
thatstates that if a chain is irreducible and if a finite invariant measure
exists,
then it is recurrent in the sense
of
Harris(i.
e. a Harrischain).
Thus weshow that
Wn
is a Harris chain.@
Finally
we useOrey’s
theorem(Revuz [6 ],
Theorem2 . 8, Chapter 6)
which states that if a finite invariant measure m exists for an
aperiodic
Harris chain
Wn,
thenW ;
if the measure m is aprobability
measurethen it is the measure of W.
Let us
proceed
with thisproof.
@ To show
irreducibility,
consider the measure m whose Fourier transform isBy ( 11 )
we can writewhere * denotes the
convolution,
v is the measure whose transform isEeitV
and s is the measure whose transform is[ f (t) -
1]litES. Clearly,
v~(A)
> 0 =>m(A)
> 0 where Vc is the continuouscomponent
of v for a subset A of thenon-negative
real line. We shall showthat,
for eachinitial state x E
[0,
oo[,
there exists apositive integer n
such thatFor
this,
notice thatVn
isergodic (Borovkov [4 ],
Theorem7)
ifa)
andb)
are satisfied. Thus
But since =
BB~
eA)
> 0 for each finite m(the
case where the queue with automous server does not empty up to, andincluding,
the tn-th custo-mer),
thenTherefore
(by
Revuz[6 ],
Definition 2.1 ofChapter 3) W"
isvc-irreducible.
@ Theorem
2 . 7, Chapter
3 of Revuz[6 states
thatWn
is a Harris chain if it is v-irreducible and if there exists finite invariant measure m such thatv(A)
> 0 ==>m(A)
> 0 for allA(m
» v, in Revuz’snotation).
Thishas
already
beenproved.
ThereforeWn
is indeed recurrent in the senseof Harris.
@ We now have to
show,
in order to useOrey’s theorem,
thatWn
isVol. 1-1980.
72 E. GELENBE AND R. IASNOGORODSKI
aperiodic.
We callagain
upon the classical result thatVn
isergodic if E~ 0 and ç
is not arithmetic(both
of which we haveassumed).
ThereforeVn
is
aperiodic,
and so isWn
since for each finite mThus, by Orey’s
theoremWn
isergodic
andThis
complete
theproof
of Theorem 4.3. APPLICATION TO A PAGING DRUM MODEL In this section we shall
apply
the theoretical results obtained in theprevious
sections to a modelarising
in theanalysis
ofcomputer
system behaviour[2, 3, 5 ].
Here the customers arerequests
for the transfer of pages(blocks
of information of fixedsize)
from apaging
drum(a secondary
memory device used in computer
systems).
For the purpose ofefficiency,
described in
[2, 3, S ],
page requests are addressed to one of N sector queues ; eachpaging
drum sector when traversedpermits
to deliver one page.Since the
paging
drum rotates at constantspeed,
if T is the time for onecomplete
rotation then one page will be transfered in timeT/N
and service at thisparticular
sector queue will not be available for a timeT(N - 1)/N
until the
paging
drum can be onceagain positioned
at thebeginning
of thesame sector.
Let W be the
stationary waiting
time at a sector queue withgeneral independent interarrivals,
and V be thestationary waiting
time of thecorresponding GI/D/1
queue with constant service time T. We then have : THEOREM 5. - If EA Tand ç
is not arithmetic withEç
0 then W and V are proper random variables relatedby
the formulawhere V and Y are
independent
and Y isuniformly
distributed in[0, T ].
In
particular
we can obtain the averagewaiting
time for the case ofPoisson arrivals derived
by
Coffman[2] :
where .~ is the arrival rate of transfer requests.
Annales de 1’Instit,ut Henri Poincaré-Section B
A QUEUE WITH SERVER OF WALKING TYPE 73
Clearly,
the response time R(waiting
timeplus
servicetime)
issimply
ACKNOWLEDGMENT
The authors are very
grateful
to Michel Metivier for hispainstaking
efforts to correct and
improve previous
versions of this paper.REFERENCES
[1] C. E. SKINNER, A priority queueing model with server walking type, Opérations Research, vol. 15, 1967, p. 278-285.
[2] E. G. COFFMAN, Analysis of a drum input-output queue under scheduled operation,
J. A. C. M., vol. 16, n° 1, 1969, p. 73-90.
[3] E. GELENBE, J. LENFANT, D. POTIER, Response time of a fixed-head disk to transfer of variable length, S. I. A. M. J. on Computing, vol. 4, n° 4, 1975, p. 461-473.
[4] A. A. BOROKOV, Stochastic Processes in Queueing Theory, Springer Verlag,
New York, 1976.
[5] S. H. FULLER, F. BASKETT, An analysis of drum storage units, Tech. Rep. 29, Digital Syst. Lab. Stanford University, Stanford, Cal., 1972.
[6] D. REVUZ, Markov chains, North Holland, Amsterdam, 1975.
(Manuscrit reçu le 23 novembre 1979)
Vol.