:iB S1988 f ;*:A.^.T/
WORKING
PAPER
ALFRED
P.SLOAN SCHOOL
OF
MANAGEMENT
A DISTRIBUTIONAL
FORM
OF LITTLESLAW
J. Keilson*
GTE Laboratories Incorporated and Mass. Inst, ofTechnology and
L. D. Servi* GTE Laboratories Incorporated
#1965-87
MASSACHUSETTS
INSTITUTE
OF
TECHNOLOGY
50
MEMORIAL
DRIVE
A DISTRIBUTIONAL
FORM
OF LITTLE'SLAW
J. Keilson*
GTE Laboratories Incorporated and Mass. Inst, ofTechnology
and L. D. Servi* GTE Laboratories Incorporated
itl965-87
ABSTRACT
For
many
system contexts forwhich
Little'sLaw
is valid a distributionalform of the law is also valid. This paper establishes the prevalence of such system contexts and
makes
clearthe value ofthe distributional form.Keywords:
Queues, Little's Law, priority, limit theoremsFEB
8 19881. Introduction
Over
the twenty-five years since Little'sLaw
first appeared (Little [11]),its simplicity and importance have estabhshed it as a basic tool of queueing
theory (cf e.g. the survey paper
by
Ramalhoto,Amaral
and Cochito [12] ).Little's
Law
equates the expectations oftwo variates in a system. Formany
ofthe systems to
which
Little'sLaw
is applicable, a stronger relationbetweenthe distributions of the
two
variates is available.The
setting required isdescribed in the theorem in Section 2.
The
distributional form ofLittle's lawhas been observed previously in special contexts,
(Fuhrmann
andCooper
[2],Servi [13], Svoronos and Zipkin [14]) butthe generahty ofthe setting and its importance for queueing theory has not been set forth.
Suppose that, for
some
ergodic queuing system, there is a classC
ofcustomers in the system with Poisson arrival rate X. Let
N
be the ergodicnumber
ofcustomers in the system in that class and letT
be the ergodic timein system spent by a customerin that class. Let k^^(u) = E[u^] be the p.g.f. of
N
and let (Xp^Cs) =E(e"^^) be the Laplace-Stieltjes transform ofT. Suppose itis
known
for classC
that7lj^5(u)= a^s(?i-?LU) (1) i.e. that
N=d
K^j
(2)Here
Kq
is a Poisson variate with parameter . In words, the ergodicnumber
ofcustomers in that class in the system isequal in distribution to thenumber
of Poisson customers arriving during an ergodic time in system formembers
ofthat class.A
customerclass forwhich the equality indistribution holds
may
be said to satisfy the distributionalform
ofLittle's
Law
or to be anLLD
class. Ifone differentiates (1) at u=
1, onesees that
LLD
implies Little'sLaw,
i.e. E[N]=
A,E[T] for that class.The
For
many
ofthe system contexts forwhich Little'sLaw
is vahd , thedistributional form ofthe law is also valid.
The
object ofthe paperis todemonstrate the prevalence ofsuch system contexts, and to
make
clear thevalue of the distributional form.
2.
The
prevalence ofLLD
ClassesIt is
known
( c.f.Kleinrock [10]) that the customers ofanM/G/1
systemwith infinite queue capacity and
FIFO
discipline satisfy (1).A
broaderprevalence of the distributional form of Little's
Law
is suggestedby
thefollowing two theorems.
Prop. 1 ( Keilson and Servi [7])
Consider an
M/G/1
type system withtwo
classes of customers, infinitequeue capacity and
FIFO
preempt-resume discipline for thelow
priorityclass.
The
distributional form of Little'sLaw
is valid for thelow
prioritycustomers.
Prop. 2.
Every class ofcustomers in an
M/G/1
type priority system for which all classes have Poisson arrivals andFIFO
preempt-resume discipline over lowerpriority classes is anLLD
class.Proof.
Each
class of customers sees only the customers with higherpriority.
The
totality of all customers with higher prioritymay
be regardedas a single class having a Poisson arrival rate equal to the
sum
of all the arrival rates with higher priority and an effective service time distributionwhich
is a weighted mixture of the service times with higher priority.The
general result then follows from that for two classes.
These examples suggest an even broadervalidity.
A
more
generalTheorem.
Let an ergodic queueing system be such thatfor a given class
C
ofcustomers,
a) arrivals are Poisson ofrate X;
b) all arriving customers enter the system, and remain in the
system until served i.e there is noblocking, balking or reneging;
c) the customers remain in the system until served and leave
the system one at a time in order of arrival (FIFO).
Then
the distributional form ofLittle'sLaw
is valid for that classC
ofcustomers.
The
proofis based on two lemmas.Lemma
A.(Cf.Cooper
[1] for the result due to Burke and Takacs) Let N(t)be a time
homogeneous
process in continuous time on the lattice ofnon-negative integers with changes of±1 at sequences ofsuccessive arrival and
departure epochs (T'^j) and (T^j) respectively.
Then
limj _^ oo P[N(T^j-i-)
< n ] = lim
j _^ c>o
P[N(T'^,-)
<
n ]when
these limits exist.Lemma
B. (Cf.Wolff
[17], [1]) Let N(t) be an ergodic populationcounting process in continuous time with Poisson arrivals at successive
epochs (T'^'j).
Then
lim
t _^ ooP[N(t)
<
n ] =limj^
ooP[N(TA +)<
n ]Proof. Suppose that at t=0, the system is empty. Let
T^
be the arrival epoch ofthe k'th customer in class C, and let T^^, be the departure epoch for thatcustomer. Let N(t) be the
number
of customers of classC
in the system attime t. Let
T^
be the time spent in the systemby
the k'th customer, i.e. let Tj^=
Tpj^-T^
.Then
N(Tdj.+) =^ K^-j-j^ . This is true, since all customers foundat arrival
by
the k'th customer have left the system before that customerof such systems ( cf. Keilson and Servi [8], Harris and Marchal [3]) , the
server
may
take vacations after servicing a customer with a probabilitydependent on queue length.
The
server might not end a vacation durationuntil exactly
N
customers are waiting (whereN
is a prespecified positive integer) ( cf.Yadin
andNaor
[16],Heyman
[4] ) Little's law holds in distribution for the customers in such systems provided they are served inorder of arrival.
C.
M/G/1
systems withpreemptive
interruptions at clock ticks (Cf.Keilson and Servi [6] ). Ifa Poisson stream of ordinary customers with iid service times is preempted by other iid tasks arriving at clock ticks, then
Little's law holds in distribution for the time to service completion of the
ordinary customers.
D. Cyclic service systems (Cf. Takagi [15]) Suppose Poisson customers
queue at service sites and a single server
moves
cyclicallly between such sites,either serving the customers at the sites to exhaustion, employing a Bemoulli
schedule (Keilson and Servi [5] ), or serving at most
K
customers at a site beforemoving
on.Then
the customers at any site are anLLD
class provided they are served in order of arrival.The
changeover time of the serverbetween sites does notdisturb the
LLD
property.E.
Tandem
server systems (M/G/G/
. . /G). ConsiderK
servers intandem
each with infinite queue capacity and each having iid service timesfor successive arrivals. If arrivals to the system are Poisson, and
FIFO
discipline is maintained throughout the system, then Little's law in distribution relates the time spent in the system to thenumber
ofcustomers in the system at ergodicity.4.
The
value of the distributionalform
of Little'sLaw.
Apart from the relations between
means
and variances givenin (3), the distribution information has other benefits,
some
of whichStochastic
bounds
It is well
known
that the Poisson variateKq
increases stochasticallywith e. It then follows from (2) that
N
increases stochasticallywhen
T
increases. It is sometimes easy to obtain a distributionbound
for a time insystem.
When
one can do so one automatically has a distributionbound
forthe
number
in the system.Heavily loaded systems.
Suppose
it isknown
thatT
is exponentially distributed togood
approximation. It is then a direct consequence ofthe distributional form of
Little's
Law
that for anLLD
systemN
is geometrically distributed.The
single parameter needed for the distribution is then available from the first
moment.
For heavily loaded systems,knowledge
thatT
is asymptoticallyexponential in distribution implies that
N
is asymptotically geometric in distribution .An
easy example is that ofthenumber
in the system forM/G/1
with
FIFO
discipline.Decomposition
Results.For a broad class of customers,
Fuhrmann
and Cooper [2] proved that the ergodicnumber
of customers in the system is distributed as thesum
oftwo
random
variables, one ofwhich is the ergodicnumber
in the system ofanordinary
M/G/1
queue. This class is a proper subset oftheLLD
class. EveryLLD
class forwhich
N
decomposes
has a decomposition for T. This decomposition has also been observed in [2] via separate reasoning.5.
The
LLD
property for thenumber
in queue.The
ordinary form of Little'sLaw
is applicable both to the time insystem and to the time in queue. It is natural to try to find an
LLD
result for the time in queue and thenumber
in queueby
transferring the ingredients ofthe proof of the theorem to a subsystem consisting of a queue only. Direct application of the theorem,
however
does not work.The
difficulty arisesfrom the requirement in the theorem that the arrival process be Poisson . For
process to the queue (as against to the system) is then a Poisson point process with censored epochs i.e. is not Poisson. Nevertheless , foran
M/G/1
system,the time in queue and the
number
inqueue
do obey Little'sLaw
indistribution.
This
may
be first verified from the familiarM/G/1
results . Let%q(u)
bethe pgfofthe ergodic
number
in the queue and let o^qCs) be the transform ofthe ergodic time in queue. Let ^s^^^) ^^ ^^^ P§^ °^
^^
ergodicnumber
in thesystem and let ajs(s) be the transform ofthe ergodic time in system. Let a^(s)
be the transform of the service time.
We
first note that ji^qCu) hascontributions from the idle state and from the states where the server is busy.
One
thenhas71^S(U)-(1-P)
W^^
=
u^
^^'P^•
From
our theorem,%s(u)
=aj^{'k-Xu)=
a^Q{X-Xu)aj(X-7M).One
hasajQ{X-Xu)aj(X-X\i) -(l-p)(l-u)
^nq(u)
=
—
•Since the time in queue at ergodicity coincides with the ergodic waiting time ,
we
may
employ
the Pollaczek-KhintchineLaw
for o^qCs) to see that(l-p)(l-u)aT-a-Xu) ^-(l-p)(l-u) ay(?L-?wU)-u aj(X-Xu) -,
('-p>"-">tM^:;^
-'
' (i-P)(i-u) as required.The
vahdity ofLittle'sLaw
in distribution could also have been obtainedfrom our theorem with the help of the following artifice.
One
could replacethe
M/G/1
systemby
anM/G/1
vacation system (e.g., [1]) where the serverthe queue is treated as a subsystem with Poisson arrivals and the theorem
gives the
LLD
result.When
a sequence of such subsystems with vacation durations Dj is considered, and Dj -^ 0,LLD
holds for each j and hence intlie limit for
M/G/1
.
The same
artifice or a similar artifice could be applied to all of thecustomerclasses described in Section 3 to conclude that the
LLD
property isavailable for the ergodic
number
in queue and time in queue.Acknowledgment.
The
authors wish to thank S. Graves for his careful reading ofthis paper andReferences
[1 ] Cooper,R,Introduction to Queueing Theory, 2nd edition.North Holland.
N.Y., 1981.
[2] Fuhrmann, S. and R. Cooper, "Stochastic Decomposition in the
M/G/1
Queue
with Generalized Vacations", Operations Research, 33, 1117-1129(1985).
[3] Harris, C.
M.
andW.
G. Marchal,"StateDependence
inM/G/1
Server-Vacation Models", to appear in Operations Research, 36, (1988).
[4]
Heyman,
D., "Optimal Operating PoHcies forM/G/1 Queuing
Systems", Operations Research, 16, 362-381 (1968).[5] Keilson, J. and L. D. Servi, "Oscillating
Random
Walks Models
forGI/G/1 Vacation Systems with Bernoulli Schedules"
Journal
of AppliedProbability, 23, 790-802 (1986).
[6] Keilson, J. and L. D. Servi,
"A
Distributed Poisson Approximation forPrempt-Resume
Clocked Schedules", submitted toIEEE
Trans, onComm.,
(1987).
[7] Keilson, J. and L. D. Servi,
"A
Two
PriorityM/G/1
Queue
with Feedback", pending.[8] Keilson, J. and L. D. Servi, "Blocking Probability for
M/G/1
VacationSystems
withOccupancy
LevelDependent
Schedules", to appear inOperationsResearch., (1988).
[9] Keilson, J. and F.
W.
Steutel,"Families of Infinitely Divisible Distributions Closed underMixing
and Convolution",r/ie Annals ofMathematcial Statistics, 43, 242-250 (1972).
[10] Kleinrock,L. , Queueing Systems. Vol 1. John Wiley
&
Sons,New
York, 1975.[11] Little, J.,
"A
proof oftheTheorem
L
= XW",
Operations Research, 9,[12] Ramalhoto, M.F., J. A. Amaral, and
M.
T. Cochito,"A
Survey of J.Little's Fomiula", Int. Stat. Rev. , 51, 255-278 (1983).
[13] Servi, L. D., "Average Delay Approximation of
M/G/1
Cyclic ServiceQueues
with Bernoulli Schedules",IEEE
Journal on Selected Areas inComn-iunication,4, 813-820 (1986).
[14] Svoronos and P. Zipkin, "Evaluation and Optimization of 1-4-1
Replenishment Policies for Multi-echelon Inventory Systems". Research
Working
Peper 86-9 ,Columbia
Business School,Columbia
University(1986).
[15] Takagi, H. ,Analysis ofPolling Systems,
MIT
Press, 1986.[16] Yadin,
M.
and P. Naor, "Queueing Systems with aRemovable
ServiceStation", Opnl. Res. Quarterly, 14, 393-405 (1963).
[17] Wolff, R., "Poisson Arrivals See
Time
Averages", Operations
i.