• No results found

On the use of iterative approximations in queueing networks : with simple applications

N/A
N/A
Protected

Academic year: 2021

Share "On the use of iterative approximations in queueing networks : with simple applications"

Copied!
9
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

On the use of iterative approximations in queueing networks :

with simple applications

Citation for published version (APA):

Wessels, J. (1983). On the use of iterative approximations in queueing networks : with simple applications. (Memorandum COSOR; Vol. 8317). Technische Hogeschool Eindhoven.

Document status and date: Published: 01/01/1983

Document Version:

Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers)

Please check the document version of this publication:

• A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website.

• The final author version and the galley proof are versions of the publication after peer review.

• The final published version features the final layout of the paper including the volume, issue and page numbers.

Link to publication

General rights

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain

• You may freely distribute the URL identifying the publication in the public portal.

If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please follow below link for the End User Agreement:

www.tue.nl/taverne Take down policy

If you believe that this document breaches copyright please contact us at: openaccess@tue.nl

providing details and we will investigate your claim.

(2)

EINDHOVEN UNIVERSITY OF TECHNOLOGY

Department of Mathematics and Computing Science

Memorandum COSOR 83-17

On the use of iterative approximations in queueing networks; with simple applications

by

J. Wessels

Eindhoven, The Netherlands September 1983

(3)

(}J

THE USE OF ITERATIVE APPROXIMl\TIONS IN QUEUEING NEOORKSj WITH SH1PLE APPLICATIONS

Jaap Wessels, Eindhoven

Networks of queues which have a productform solution can be analyzed easi-convolution me.thod or with mean value analysiS. Regrettably, however, many actical queueing network models do not possess a productform solution. In this pa-r the following apppa-roach is advocated fopa-r models with slight deviations fpa-rom the oductform conditions: approximate the model iteratively by a sequence of models w ich satisfy conditions for simple analysis.

Quite often aggregation and mean value analysis provide the natural approach for de-sagning an iteration

I

Applications which are mentioned are: two-phase servers where the first phase is a

p~eparatory onei a type of priorities; blocking; many-chains networks; FCFS-servers w~th different workloads for different types of customers.

z~saromenfassung.

Warteschlangennetzen mit Produktformlesung kennen einfach analysiert werden met dem Faltungsalgorithmus oder mit Mittelwertanalyse. Leider haben viele p~aktische Warteschlangennetzen keine Produktformlesung. In dieser Arbeit wird die fblgende Vorgangsweise fUr Modelle mit geringen Abweichungen von den Pro-dbktformbedingungen: das Modell wird iterativ angenahert von einer Reihe von Modelle

w~lche

die Bedingungen fur einfache Analvse erfullen.

O~ters geben Aggregation und Mittelwert~alyse die naturliche Vorgangsweise zuro Ent-whrf eines Iterationsschritts.

~wendungen

welche erwahnt werden sind: zweiphasen Bedienungseinheiten wo die erste prase eine Vorbereitungsphase ist; eine Art von Vorrang; Blockierung; Netze mit sehr v:ielen Auftragsketten; FCFS-Bedienungseinhe1.ten mit unterschiedlichen Bedienzeiten

f~r unterschiedliche von Kunden.

Introduction I

N!etworks of queues play an important role in several planning areas, for instance in

I

Yhe areas of computer performance evaluation, co~unication network evaluation,

pro-I

~uction planning in industrial environments, planning of harbour facilities. For all these purposes i t is necessary to have efficient algorithms available for the

nume-~ical

analysis of the queueing models. The efficiency is important since the usual lerformance evaluation the successive analysis of many variants of s!ome model.

I

Fior relatively large models efficient algorit~~s are available as as the models

I

~.ave

productform solutions. The best-known algorithms for dn the so-called convolution method (cf. Reiser/Kobayashi ~ysis (cf. Reiser/Lavenberg /7/, Reiser /5/).

I

these purposes are based /6/) or on mean value

(4)

ana 2 ana

-However, if the models are very large or do not satisfy the condition to have pro-d.uctform solutions, then exact solution is usually not realistic.

~f a model does not have a productform solution, usually the simplest approach is

~

o disregard the features which destroy the productform solution. For instance,

ge-I eral service-time distributions at FCFS-servers are replaced by negative exponential

nes. A more sophisticated approach seems to be obtained if one realizes some form

I

olf feedback of the results to the model. For the example mentioned above this has . b'een done in Kuhn /4/ by decomposing an open network in single queues which are

ana-llyzed independently for given coefficients of variation for arrival and service pro-1

cless. The results of such an analysis for single queues produce new coefficients of v1ariation and the analysis can start anew. A similar approach is possible for closed networks.

In this paper we will confine attention to iterative approximation methods which re-lace the original model in each iteration step by some model with a simple solution.

feedback is realized by letting a new model be determined with the results of e former one (for an overview of other approximative approaches, see Chandy/Sauer

2 the approach is introduced and in Section 3 some applications are indi-C,ated.

I

I

21.

An iterative approximations aI?proach

~uppose

we have some network of queues which is considered to be too complicated for

9irect numerical analysis. The approach is then to simplify the model in such a way

~hat i t wellcomes a simple analysis. Such a simplification will usually pertain of sbme sort of aggregation or decomposition. After the analysis of the simplified mo-del the results are used to improve some of the parameters of that momo-del, which is analyzed again, etc. In particular i t will be shown that mean value analysis can pro-vide a good framework for such a simplification.

Let us consider - for simplicity - a closed network with N single server FCFS-stations in which K customers of one type only walk around with routing probabilities Fnm for gOing to station m from station n. Let these customers have negative exponentially distributed workloads in station n with expected value w •

n

Then we have for mean residence time S (K) at queue n G~at i t can be expressed in n

the mean number of custumers L (K-l) at that station if there were only K - 1 custo-n

~rs in the system:

S (K)

=

L (K-l)w + w

(5)

3

-since that is, according to the arrival theorem for closed networksl the workload to

be handled before departure.

According to Little's formula for queue n we have

(::n

L (K)

n A n (K) S n (K)

where A (K) is the expected number of arrivals at queue n per time unit, more popu-n

l~rly speaking:

A

(K) is the throughput at station n. n

F+nally, one can apply Little's formula for residence times between two arrivals at

; I I (1)) I I A (K) n El n

r

N K

L

I

8 m=l m wi, th El n

n' 1, ..• rN the unique solution of

El n N

I

m=l El p m ron N

L

n=l El n 1 •

These formulae make i t possible to find a solution by induction with respect to K. For more details see Reiser/Lavenberg /7/ and Reiser /5/.

If we now change the conditions a little bit and introduce an extraordinary behaviour in some of the stations, then (2), (3) and (4) remain valid, since Little's formula remains valid. However I formula (1) gets in trouble. Nevertheless, something of the

form of formula (1) will be needed and will also remain. Therefore, i t seems sensible to consider a mean value scheme with wand/or L (K-l) in formula (1) slightly

adap-n . n ted according to the behaviour of the station.

In the next section this idea will be worked out for an exare~le.

3. Some applications

T4e first application will be worked out in some detail, other applications will be

i~dicated.

3

r

1.

Two-phase serverG

i

Spppose that one (or more) of the servers has a workload per customer which consists of two phases, each is negative exponentially distributed, wn w~ + w~, but such tpat the first phase is a kind of preparatory phase. In an idle period the server

c~n already start with this preparatory phase for the first customer of the

follo-I

wing busy period (for more details, see van Doremalen/Wessels /3/). So the effect wfll be that some of the customers only experience a workload w~, whereas the others

the full workload w • n

(6)

4

-The first guess in adapting formula (1) seems to be to maintain L (K-l) as expected

n

number of customers present upon arrival (although i t might be w by some adapted value

n

w = (l-a )w' + w"

n n n n

I

and to

re-w~ere an denotes the probability that an arriving customer finds his preparatory

I

P9ase already completed. Hereby we discard the typical difference between workloads f9r first customers in busy periods and other customers. The only remaining problem

i~

that an is unknown and that i t requires the solution of the model - namely the

d~stribution

of the idle period and the fraction of time there are customers - to

I

cdmpute an" However, one may make a guess - for instance an

a

or an = 1 - and im-prove upon i t after solution of the mean value scheme with this guess. Suppose we hqve a guess for a and we have solved the mean value scheme (1), (2), (3), (4) with

I n

wJ replaced by Wn and an estimated value for an' How do we get an improvement on the

g~ess for an?

T~1e

true a can be written as

n

I

I

a b c

n n n

wtth b the probability that an arriving customer is the first one in a busy period

n

and c the probability that a prepatory phase is completed before the end of an idle

n

p~riod. Then better estimates for b

n and cn can be made as follows (cf. van Dore-mqlen/Wessels /3/) b ' = 1 l\. (K-1); n n n v' c' n n -1 v' w' + n w~th A (K)b I v' n n n 1

-

l\. (K); n n

~e

results for this iteration scheme are fairly good, particularly for the

through-!

p~ts. The mean queue lengths and the fractions of time there are customers at the s1ations are slighty less approximated. For the cyclical network with three siations, results are shown in Table 1.

(7)

5

-exact results approximations

w 2 w3 Pi It

I

L1 C P1 It

I

L1 C : I 2 2 .594 .357 L07 11.38 .548 .351 1.07 11.38 8 2 .155 .124 .18 32.19 .155 .124 .18 32.19 .25 .25 .999 .500 3.74 8.00 .999 .500 3.72 8.00

I

frable

i

1: results for the cyclical system with one two-phase server: wi = wi

=

1, K 4; N

=

3; p is the fraction of time there are customers, C is the cycle time.

~ere are several ways to refine these results. One way would be to use Kuhn's de-I

cpmposition /4/ to take account of the non-exponentiality of the two-phase servers.

i

That could also lead to an extension of the for the case that the phases

i i

themselves have non-exponential distributions.

3.2. Blocking

Ahother possibility for extraordinary behaviour is blocking. Suppose that some sta-t:ion in the model of Section 2 can only have b customers. Joining queue n is

for-n bidden as long as b

n customers are present. A customer who may not enter station n stays in its original server and blocks it for further use until the unblocking mo-ment.

The effect of blocking is a decrease in availability of the blocked servers. This can be accounted for by increasing the workloads at the blocked servers with some factor. This factor may be determined iteratively, using estimates for the blocking probability from L~e preceding analysis.

In this case there is also reason for some adaptation of L , L • m n

The results we have obtained so far with this approach a substantial improve-ment upon neglection of blocking effects, however, even the throughputs can still deviate from the exact method. The approach seems to work quite well if the effect 9f blocking is not too heavy. A detailed report on this case is in preparation.

~ . 3. An examp Ze of priori ties

Again consider the network of Section 2. However, now some of the stations have also tio be available for external customers who not really enter the network, but

dis-~ppear

after their only job has been done. The internal customers have priority but

I

~ithout the possibility of preemption. This case can be handled as if there are only

~nternal

customers, however, the stations with external customers suffer a loss of

(8)

6

-cc;lpacity for the internal customers because of the lacking preemption. Again, itera-tive adaptation of the workload will do the job. In this case the results for the

I

~iroughputs are very good.

I

3.14.

,

A

mixture of customer classes

Ndw the network of Section 2 is extended to contain more customer classes. This can

i

b~ handled by mean value analysis with a simple adaptation. At least, the latter as-selrtion is true if the different classes of customers have the same negative exponential sdrvice time distribution for FCFS-station n. Suppose now, that this condition does

i

n~t hold. Then a way-out seems to be the use of a negative exponential service time

I

d~stribution with a mean which is a proper mixture of the original means. The proper

mi~ture

can be determined iteratively again. Regrettably, the results are not too

;

gqod. It seems to be better to use explicitly estimates for the probabilities that

I

~e server works on a particular type of job. A report on such an approach is in pre-pakation.

I

Also in this case Kuhn's decomposition /4/ might be helpful, since it seems to be essential that a server does not experience the service time as negative exponential

ant more.

3'15.

Many-chain networks

I

Here we consider again an extension of the network of Section 2, namely by supposing

th~t

there are many routing chains each with its own routing matrix. Such problems can be handled by mean value analysis, however, now it does not suffice to iterate the number of customers from 0 to K. Now iteration should be done with respect to the vector of the numbers of customers per chain from (0, •.• 0) to (KIt ••• ,KR). If R is very large, this iteration scheme becomes very cumbersome. Therefore, approximations are wellcome. It appears that decomposition with respect to the chains and treating them as separate one-chain systems does work very well, at least if one introduces an appropriate estimate for the influence of the other chains in the equivalent of for-mula (1). And there we encounter the iterative approximation again. For details, see

(9)

7

-References

/1/ K.M. CHANDY, C.H. SAUER

APPROXIMATE METHODS FOR ANALYZING QUEUEING NETWORK MODELS OF COMPUTING SYSTEMS

COMPUTING SURVEYS 10, 281-317 (1978).

/2/ J. VAN OOREMALEN

MEAN VALUE ANALYSIS IN MULTICHAIN QUEUEING NETWORKS: AN ITERATIVE APPROXIMATION

THIS VOLUME.

/3/ J. VAN DOREMALEN I J. WESSELS

AN ITERATIVE APPROXIMATION FOR CLOSED QUEUEING NETWOR.XS WITH TWO-PHASE SERVERS

MEMORANDUM COSOR 83-12, DEPARTMENT OF MATHEMATICS AND COMPUTING SCIENCE, UNIVERSITY OF TECHNOLOGY, EINDHOVEN (AUGUST 1983).

/4/ P.J. KUHN

APPROXIMATE ANALYSIS OF GENERAL QUEUEING NETWORKS BY DECOMPOSITION

IEEE TRANS. COMM. COM-27, 113-126 (1979).

/5/ M. REISER

MEAN VALUE ANALYSIS AND CONVOLUTION METHOD FOR QUEUEING-DEPENDENT SERVERS IN CLOSED QUEUEING NETWORKS

PERFORMANCE EVALUATION 1, 7-18 (1981).

/6/ M. REISER, H. KOBAYASHI

QUEUEING NETWORKS WITH MULTIPLE CLOSED CHAINS: THEORY AND COMPUTATIONAL ALGORITHMS

IBM J RES. DEV 19, 283-294 (1975).

/7/ M. REISER, S.S. LAVENBERG

MEAN VALUE ANALYSIS OF CLOSED MULTICHAIN QUEUEING NETWORKS

Referenties

GERELATEERDE DOCUMENTEN

Na de soms massale uitval van dahlia- knollen in 1999 is in eerste instantie onderzocht of de bacterie Erwinia chry- santhemi, de veroorzaker van verwel- kingsziekte in dahlia,

Om na te gaan hoe de geïnterviewde telers tegenover het gewasbeschermingsbeleid staan en hoe ze omgaan met de gewasbescherming op hun bedrijf zonder dat direct gerelateerd is

De relatie tussen het organische stof gehalte en het optreden van asperge roest bij voor roest gevoelige en minder roestgevoelige rassen... © Praktijkonderzoek Plant &

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of

de positieve boorlocaties en het lage aantal vondsten per positief monster zouden kunnen wijzen op de aanwezigheid van meerde- re, relatief kleine, al dan niet

From the two most recently published systematic reviews [36,37], the first [36] assessed the effect of adjunctive systemic antimicrobials on clinical outcomes

In this paper we study a simultaneous block-triangular representation of all matrices in M and give characterizations in terms of their spectral radii and the

Er werden geen sporen aangetroffen die gerelateerd kunnen worden aan de aanwezigheid van de