HD28 .M414
\NST
4*«
IBAUG
18
>966WORKING
PAPER
ALFRED
P.SLOAN
SCHOOL
OF
MANAGEMENT
CAPACITY ALLOCATION
IN
GENERALIZED
JACKSON
NETWORKS
Lawrence
M. Wein
SloanSchoolofManagement
MassachusettsInstituteofTechnology
Cambridge,
MA
02139^018-88
MASSACHUSETTS
INSTITUTE
OF
TECHNOLOGY
50MEMORIAL
DRIVE
CAMBRIDGE,
MASSACHUSETTS
02139
CAPACITY ALLOCATION
IN
GENERALIZED
JACKSON
NETWORKS
Lawrence
M. Wein
SloanSchoolofManagement
MassachusettsInstituteofTechnology Cambridge.
MA
02139CAPACITY
ALLOCATION
IN
GENERALIZED
JACKSON
NETWORKS
Lawrence
M. Wein
Sloan School of
Management,
Massachusetts Institute ofTechnology Cambridge, Massachusetts 02139We
consider a capacity allocationproblem
for a generalized Jackson network (a Jack-son network with general interaxrival timeand
service time distributions).The
problem
is to determine the service rate (or capacity) that minimizes the expected equilibrium customer delay subject to a linear budget constrainton
the capacities.The
problem
isanalyzed using a
Brownian
approximation of the generalized Jackson network.The
result-ing capacity allocation is a generalization of the clcissical squaxe root capacity allocationfor Jackson networks.
A
numericalexample
is provided that demonstrates the allocation'seffectiveness.
1.
Introduction
Consider a queueing network with
K
single-server stations, each ofwhich
has aninfi-nite capacity waiting room.
Customers
arrive at station k according to a renewal process,and
the interaxrival times have finitemean
A^^^and
finite squared coefficient of variation(variance divided by the squaxe of the meaxi) c^/^. Customers,
upon
completion of serviceat station k, are next routed to station j with probability Pkj, independent of previous history. It is
assumed
that theMarkov
routing matrixP
=
(Pkj) has spectral radius less than one, so that all customers eventually exit the network.We
alsoassume
Pkk=
fork
=
1,...,K
axe independentand
identicedly distributedrandom
variables with finitemean
fj,^^
and
finite squared coefficient of variation c^j^.The
sequences of interarrival times,service times,
and
routing decisions areassumed
to be mutuedly independent.Customers
cire servedFIFO
(first-in first-out) at each station. Let theA'—
vector 7=
(7^) ofeffective arrival rates be definedby 7
=
A(/—
P)~^,where
A=
(Ajt) is theK—
vector of arrival rates.Then
it is eissumed that the traffic intensity pk=
fklfJ-k<
1 for each fc=
1, ...,K,so that the system is stable. This
model
is called a generalized Jackson network, since itreduces to a standard Jackson network
when
the interarrival timesand
service times at each station are exponentially distributed.Queueing
networks are very useful models ofcomputer, communication,and
manufac-turing systems.One
ofthe basic design issues for such a network is that ofcapacityalloca-tion.
The
classical resulton
this subject is the square root capacity assignment derivedby
Kleinrock [3].
The
problem
he considers is to choose the vector of service rates /x=
(^jt)in a Jackson network to minimize the expected equilibrium sojourn time per customer (or,
equivaiently, the expected equilibrium customer delay or the expected equilibrium
number
of customers in the system) subject to the budget constraint X]it=i ^tA^it=
D, where
d^ isthe unit cost of capacity at station k,
and
D
is the total available budget.The
solution tothis
problem
is to choose''^'
Y.UV^^
S^)for*
=
l,...,^. (1)In the case
where
the unit cost of capacity is thesame
at each station, this assignmentfirst allocates just
enough
capacity to each station to satisfy its effective arrival rate,and
then allocates the excess capacityamong
the stations in proportion to the square roots oftheir effective arrival rates.
Notice that Kleinrock
assumes
capacity is continuous, whereas inmost
applicationscapacity is actually discrete (for example, parallel machines at a manufacturing
work
sta-tion); seeShanthikumax and
Yax) [5], [6] for recentwork on
server allocation in Jacksonnetworks. However, in
many
applications, such ascommunication
networks, the capacity isallocated in large
enough numbers
that the continuity cissiimption is quite reasonable. Fur-thermore, evenwhen
the continuity assumption is not realistic, this assignment still offers a back-of-the-envelope calculation that canadd
some
insight to the allocation problem.Kleinrock also assumes that all interaxrival times
and
service times are exponentiallydistributed. Thus, it is
assumed
that each station, in effect, exhibits thesame
cmaountof variability. However, in
most
queueing systems,some
stations exhibitmore
variabilitythan other stations. In a manufacturing environment, for exzmiple, this variability
may
stem
from the occurance ofmachine
breaJcdowns or operator unavailability. Recently, Bitranand
Tirupati [1] have analyzed capacity allocation in multiclass queueing networkswith general interarrivai time
and
service time distributions. However, theydo
not obtainclosed
form
results,and
so it is very difficult to gain any insightfrom
theirmodel
withoutmaking
extensive numerical calculations.In this paper,
we
derive a simple capacity assignment for the generalized Jacksonnet-work.
The
problem
we
analyze is thesame
as Kleinrock's problem, except that generalinterarrivai
and
service time distributions are allowed.As
in Kleinrock's problem, the squared coefficients of vaxiation for all service time distributions areassumed
to becon-stant,
and
independent of the value of the service rates chosen.Our
optimal assignmentis a square root allocation that reduces to Kleinrock's assignment
when
c^^=
c^^=
1for k
=
I, ...,K.The
result is obtained by using an approximation basedon
results from heavy traffic theory developed byReiman
[4]and
Harrisonand
Williams [2].Although
our results axe rooted in
heavy
traffic theory, they appear to be quite robust with regardto the heavy traffic assumptions, as can be seen in the numerical
example
of Section 4.2.
The
Brownian Approximation
In this section, the
Brownian
model
proposedby
Harrisonand
WiUiams
[2] will bebriefly summaxized. This
model
is a refinement of the heavy traflac approximation of a generalized Jackson network derivedby
Reiman
[4].The
Brownian
approximation requiresthat the total load
imposed on
each station is approximately equal to its capacity.More
precisely,
we
assume
there exists a large integern
such thatmajc -v/nll
—
pk\<
1. (2)As
a canonical example, onemay
think of pk beingbetween
0.9and
1.0 for each stationk, in
which
case n=
100 satisfies the balancedheavy
loading condition (2).The
primary process of interest is the scaled vector queue length processQ*
—
(Ql) definedby
Ql{t)
=
^^^,
t>0,
forfc=
l,...,K, (3)where
Qk{i) is thenumber
of customersqueued
and
in service at station k at time ^,and
n is the large integer specified in (2).
Under
the balanced heavy loading condition (2), Harrisonand
Williams [2]show
that the scaled queue length processQ*
is wellapproxi-mated
by a processZ
that has a unique stationary distribution.They
alsoshow
that this stationary distribution has a product-form density function ifand
only if a certainskew-symmetry
condition holds anaong the network data. It hasbeen
suggestedin Harrisonand
Williams [3] that the stationeiry distribution of
Z
may
beapproximated by
the productform distribution even
when
theskew-symmetry
condition does not hold exactly,and
this suggestion is incorporated into our approximation scheme.Under
this assumption,Harri-son
and
Williamsshow
that the expectednumber
of customers at station k in equilibriumis 2 '^'^ for it
=
1,.., A', (4) 2(//it-A) 4where, from equation (27) of
Reiman
[4]and
equation (2.23) of Harrisonand
Williams [2],3.
The
Capacity
Allocation
Using the
Brownian
approximation of the previous section, the capacity allocationproblem
is to choose the vector //=
(^jt) so as to minimizeK
y
—
^
—
(6) subject toK
Y,dkfik
=
D. (7) fc=iTo
solve this problem,we
define the LagrangianL
by
K
2^
i
=
E2of^
+
-(E<''«-^).
w
fc=i
where
tt is theLagrange
multiplier,and
setj^
=
for k=
1,...,K.
This yields/x;
=
7fc+
^==
for fc=
l,...,K (9)Substituting these values of//jt into the constraint (7), solving for tt,
and
substituting thevalue of TT back into equation (9) yields the square root capacity assignment:
,l^,,
+
^M^(EZ^fl^)(or
k=
l A-. (10)Notice that
when
c^^—
^Ik~
^ f°^ A;=
1, ...,A', then, by equation (5), Jafc=Afc
+
7fc+^7;P;it
=27fc, (11)and
thus our cissignment (10) reduces to Kleinrock's assignment (1) under the exponential assumptions.The
capacity assignment (10) allocates the excess capacity to station k in proportionto the square root of the variability paxajneter a^.
The
quantity a], in equation (5) hasthree terms.
The
firstterm
measures theamount
of variability arriving to station k from outside of the queueing system, the secondterm
measures theamount
of variability from the server at station fc, eind the thirdterm
measures the totaJ variability arriving to stationk
from
the other stations in the system.The main
insight gainedfrom
this paper is thefollowing: the optimal capacity assignment compensates for the highly variable stations
by adding
more
capacity to them.4.
An
Example
Consider a three station network with A
=
(6,2,0),c^=
(.54,4,0), c^=
(.54,2,-08),and
/O
1/32/3\
P=
. (12)\0
1/2/
Assume
all capacity costs axe the same, so that di=
d2=
di=
1. It can easilybe shown
that the
skew-symmetry
condition in Harrison axid Williams [2] is not satisfied by thisproblem
data.The
vector of effective arrival rates for ourproblem
is 7=
(6,6,4).We
will consider four different cases of our problem, with the total budget
D
varying in each case. Let us define the traffic intensity p of theproblem
to equal ^^._ifk/D, which
isthe
sum
of the effective arrival rates dividedby
thesum
of the service rates.The
four values ofD
were chosen to correspond to values of p=.6, .7, .8,and
.9, respectively. For all four cases,we
performed simulation experimentson
three capacity assignment rules: theBrownian
approximation (denoted byB
in Table 1) from equation (10), Kleinrock's assignment (denotedby
K)
from
equation (1),and
the proportional capacity cissignment(denoted by P),
where
capacity is allocated in direct proportion to the effective arrival rates; that is,fil
=
2''D
for A:=
1,...,K (13)(INSERT
TABLE
1HERE)
The
results are displayed in Table 1.Each
combination of capacity assignmentand
traffic intensity
was
testedby
200 independent runs of 10,000 customers each. For eachcase,
we computed
the average customer sojourn time (and95%
confidence interval), the average server utilization levels,and
the averagequeue
lengths at the three stations. Forall values of the traffic intensity /?, the
Brownian
approximation outperformed thepro-portional assignment rule,
which
in turn outperformed Kleinrock's assignment rule. Since exponential distributions were notassumed
in this example, it is not surprising that the proportional rule outperformed Kleinrock's rule. It is interesting tonote that, although ourresults were derivedunder heavy traffic conditions, the
Brownian
allocation performedwellat all levels of the traffic intensity. For p
=
.6, .7, .8, ajid .9, the percentageimprovements
of the
Brownian
assignment over the proportional assignment were 5.0%, 6.5%, 8.0%,and
6.4%, respectively. Notice that, of the three rules, the
Brownian
assignmentproduced
themost
imbalanced average utilization levels, but themost
balanced average queue lengths.References
[1] G. R. Bitran
and
D. Tirupati, "Trade-off Curves, Targetingand
Balancing inQueueing
Networks," submitted to Oper. Res., 1977.
Homo-geneous
Customer
Populations," to appear in Stochastics, 1987.[3] L. Kleinrock,
Communication
Nets: StochasticMessage
Flow
and
Delay,Dover
Publi-cations, Inc.,
New
York, 1964.[4]
M.
I.Reiman,
"Open
Queueing Networks
inHeavy
Traffic,"Math,
of Oper. Res. 9, 441-458, 1984.[5] J. G.
Shanthikumar
cind D. D. Yao,"Optimal
Server Allocation inSystems
ofMulti-Server Stations,"
Management
Science 33, 1173-1180, 1987.[6] J. G.
Shanthikumar
and
D. D. Yao,"On
Server Allocation in Multiple CenterManu-facturing Systems", to appear in Oper. Res., 1987.
CAPACITY
Date
Due
Mar.
2
/yj4IFlit
MITL1BRAHIF5
3 TDflD