• No results found

Monotonicity of the throughput of a closed queueing network in the number of jobs

N/A
N/A
Protected

Academic year: 2021

Share "Monotonicity of the throughput of a closed queueing network in the number of jobs"

Copied!
11
0
0

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

Hele tekst

(1)

Monotonicity of the throughput of a closed queueing network

in the number of jobs

Citation for published version (APA):

Adan, I. J. B. F., & Wal, van der, J. (1987). Monotonicity of the throughput of a closed queueing network in the number of jobs. (Memorandum COSOR; Vol. 8703). Technische Universiteit Eindhoven.

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

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

FACULTY OF MATHEMATICS AND COMPUTING SCIENCE

Memorandum COSOR 87-03

Monotonicity of the throughput of a

closed queueing network in the

number of jobs

by

Ivo Adan and Jan van der Wal

Eindhoven, The Netherlands

February 1987

(3)

Monotonicity of the throughput of a closed queueing

network in the number of jobs.

by

Iva Adan and Jan van der Wal University of Technology, Eindlwven

ABSTRACT

Using a sample path argument it is shown that the throughput of a closed queueing network with general service times is non decreasing in the number of jobs.

1. Introduction.

The last two years various authors have addressed the problem of proving that the throughput in a closed queueing network is non decreasing in the number of jobs in the network.

For product form networks several proofs have been given, see e.g. Robertazzi and Lazar [1985]. Suri [1985], Yao [1985], Van der Wal [1985] and Shanthikumar and Yao [1985]. For non-product form networks only partial results exist. E.g. in a pre-vious paper we established the mono tonicity for the case of Erlang service times. see Adan and Van der Wal [1987]. It is likely that this proof can be extended to the case of phase-type service times. In a somewhat different way monotonicity is

studied to obtain estimates for the performance of non-product form networks by bounding the network between product form networks, see e.g. Van Dijk and Lamond [1986].

In this paper we use a sample path argument to establish the intuitively obvious result that for the closed queueing network with general service times the throughput does not decrease if an extra job is added to the network.

The paper is organized as follows. In section 2 the model. some notations and the theorem are given. In section 3 the theorem is proved for the case that all stations are single servers. The case of multi servers is treated in section 4.

2. Model, notations and theorem.

Consider a closed queueing network with stations 1 ,2 ... N and general. though independent service times. In station i there are Li identical servers (possibly Lj

=

00), i I , ... , N and in each station the discipline is FCFS.

In order to establish the mono tonicity we shall compare the queueing networks with K and K+1 jobs. We shall show that, for two specific initial states and a given realization of the sequences of service times in the various queues and the transi-tions to be made. the throughput upto time t in the K+l job system is at least

(4)

2

-equal to the one in the K job system.

Let Xij and Slj' i

=

1 . 2 ... Nand j 1, 2 , ... be any given realization of service times and transitions. I.e. Xij is the service time required by the j-th arriving job in

queue i and ~j be the station the j-th departing job from queue i will jump to after his service is completed. In the multi server case the j-th departing job need not be the j-th arriving job. For the time being one may think of the ~/s as outcomes of a Markovian routing.

In both the K and K+l job system we assume all jobs to arrive at t

= 0

in queue 1.

This assumption is convenient but will be relaxed later on. We need some further notations.

Aij the time of the j-th arrival in queue i.

Djj the departure time of the job that arrived as j-th job in queue i. In the multi server case this need not be the time of the j-th departure.

Aj(t) total number of arrivals upto and including time t in queue 1.

Di(t) total number of departures upto and including time t from queue i.

In the sequel these variables will have a superscript K or K+l to indicate whether they correspond to the K or the K+l job network.

It will be clear that in order to prove the monotonicity it is sufficient to show that for any realizition of Xij'S and Sij'S we have for all i and t

DjK+1(t) ~ DiKet).

I.e. for any realization it is rewarding to have an extra job in the system.

Finally let aF

<

aF

< ...

be the time instants in the C job system upon which one or more services are completed. Then define the sequence to . t1 .. " by

to:= 0

to := min { min { ajK I ajK

>

tn-I} . min { ajK+1 I ajK+l

>

t n-1 } }. n ~ 1.

So { tn } is the sequence of time instants upon which something happens in at least one of the two systems.

We make the following assumption

Assumption

0) Xij

>

0 for all i and j

n

(ij)

r.

Xij ... 00 (n"'" 00) for all i

j= 1

The condition Xij

>

0 quarantees that a job can complete only one service at a time and hence make at most one transition at a time. The second condition quarantees tn ... 00 for n ... 00 (see Appendix).

(5)

3

-Now we can state our main result that for all t and for each station the throughput in the K+l system is at least equal to the one in the K job system. Recall that all jobs arrive in queue 1 at t

=

O. so A[CO) = C and Ale = 0, i;e 1, C

=

K.K+l , and since Xij

>

0 for all i and j also DiC

=

0 for all i and C"" K . K+1.

Theorem.

For all t ~ 0 and all i = 1 , 2 .... , N

(1) DjK+1(t) ~ DiK(t)

Since the functions Die are constant on the intervals [tm , t m+1) and tn - 00 (n - 00) it suffices to prove the theorem for the instants to. t1 ' n • •

3. The single server case.

The proof will be based on the following rather trivial but vital lemma stating that if arrivals come earlier then so do departures.

Lemma 1. (Single server)

If station i is a single server and

Aif+l ~ Aif for j

=

1 .2 , ... ,n then

Proof.

By induction. n:= 1.

Dif+1

=

Aif+l

+

Xit ~ Aif

+

Xit

=

DJ

Assume that the lemma holds for n

=

m. Then

(2) D K+l -im+1 - max {D K+1 AK+l} im . im+1

+

X im+l

~ max { Di~ • Ai~+l }

+

Xim+1

=

Di~+l

which proves the lemma for n

=

m+1.

o

As argued before it suffices to prove (1) for the sequence to ' t1 ... This will be done by induction.

For to the inequality (1) holds by definition (all DjC(O)

=

0).

Assume (1) holds for to ' tl ' .... tm . Then. with SCi , j) = 1 if i "" j and 0 other-wise. for k

=

0 . 1 ... m N DIK+1(tk} AiK+1(tk) =

L

1:

S(SI j . j) + (K+1) SCi. 1) I:: 1 j= 1 N D/K(t,,) ~

L L

S(S I j • j)

+

K SO , 1) 1=1 j=1

(6)

Since AjeCt) is constant on [ tk-l . tk ) AjK+1(t) ~ A/«t) for t ~ tm thus

4-Aif+l ~ Aif for j

=

1 , ... , AjK(tm) .

and by lemma 1

Dif+l ~ Dif for j

=

1 ... AjK(tm).

Since Xij

>

0 DiK(tm+l) ~ AiK(tm) . thus D K + 1 ij -.:: ~ D K f ij or J -. - 1 •... , D K( i tm+l' ) Hence DiK+1(tm+l) ~ DiK(tm+l)' So

(0

holds for tm+l'

This completes the proof of the theorem for the single server case.

4. The multi server case.

o

The proof for the multi server case follows exactly the same lines as the single server one. Once the multi server equivalent of lemma 1 is established the rest of the argument for the proof of the theorem is identical.

The problem is to prove lemma 1 for multi servers. For that we need more nota-tion.

Define for C = K . K+l

and

1 if the j-th arriving job in station i is served by server I

o

otherwise

Tifl the time server I in station i becomes available for the j-th arriving job. so

Tifl

=

max ( Di~ Yif I ' k

=

1 . 2 ... j-1 )

Tif the vector of Tifl's Tif

=

(Tift. T$ .... ) Now we have

(7)

5

-which clearly is more complicated than the relation for Di[ in (2). So in order to establish the multi server equivalent of lemma 1 we have to study the Tir 'so

The case Lj = 00 is simple since then (3) reduces to (4) D;r = Air

+

Xij •

so A;f+l ~

Aif

implies that D;f+l ~

D;f.

Now assume L;

<

00.

(5)

max {Tifl • A;r }

+

Xii

'f TC . TC

1 ijl

=

m:n ijk

and (the tiebreak rule) Ti~

>

Tifl . k

<

1

Tift otherwise

So Tif+l is obtained from Tir by replacing the (a) minimal component. To study the effect of this we need the following.

Let a

= (

al •.... an ) be a vector.

Then Va denotes the nondecreasing reordering of a: Va

=

(ail' ai2 •...• ai

n )

with ail ~ ail ~ •.• ~ a;n' and ( il . i2 ... in ) a permutation of ( 1 . 2 ... n ).

For two vectors a

= (

al . a2 ... an ) and b

= (

bi • b2 •.... bn ) we write

a ~ b if (Va); ~ (Vb); . i

=

1 ... n. One may easily verify the following result. Lemma 2.

Let

then

( al .... , ai-I. a . a;+1 ... an ) ~ (bI ... bj-I . ~ . bj+l ' .... bn ).

So replacing a minimal component in a by a and in b by ~ with a ~ ~ does not affect the ordering a ~ b.

This gives us Corollary.

If

(8)

6

-Proof.

Immediate from (5) and lemma 2.

o

Now we can state and prove the multi server version of lemma 1.

Lemma 3. (Multi server)

If station i is a multi server and

Aif+1 ~ Ajf for j

=

1 .2 ... n then

Proof.

As observed before we only need to consider the case Li

<

00 as the lemma is trivi-ally obtained from (4) for Lj = 00.

Since TS

=

(0 .... ,0). so Tif+l = Tif (guaranteeing the initial condition of the corollary) the corollary yields us

Tif+l

~

Tif and thus

min Tif/l ~ m}n Tif, for j

=

1 .2 ... n. By (3) this implies

Djf+l ~ Dif for j

=

1 .2 ... n . which completes the proof of the lemma.

As said before. this gives the proof of the theorem for multi servers.

S. Conclusions and remarks.

o

From the preceding we conclude that for a closed queueing network with in each station nonzero. independent and identically distributed service times with Marko-vian routing the throughput upto time t. defined as the expected number of service completions in a station upto and including time t is nondecreasing in the number of jobs in the system for all t. if initially all jobs are in one queue. So also the average number of service completions is nondecreasing.

In the remainder of this section we relax most of the above conditions. such as i.i.d. service times. Markovian routing and all jobs initially in one queue.

I.i.d. service times.

- The successive service times in a station may be dependent as long as the Xij are independent of the Aij• Xk1 • k :¢: i. etc. Usually dependence between the successive Xii is caused by something like the temporarily malfunctioning of a server. In that case the dependence between Xlj and X ij+1 is stronger if the times at which the j-th

and the j+l-th job start their service are closer. so there also is a dependence between {Xijl and {A;j}. Then the coupling of service times as used here is no longer possible. I.e. we can no longer say that the Xij in the K and K+l job systems are

(9)

7

-equaL

- Another type of dependency in service times might be more natural. The service times of a specific job out of the K or K+l jobs are dependent. e.g. (nearly) the same in each station. In this case monotonicity is no longer guaranteed. For exam-ple. consider a system consisting of two single server stations. where after each ser-vice completion the jobs move to the other station. The serser-vice times of a job are equal in both stations and at all visits. Initially for each job k a service time Xk. k

=

1 ... K+l is drawn from a discrete distribution. with P( Xk

=

1 )

=

1/5 and

P( Xk

=

100) = 415. and the job will keep this service time fo;the rest of his life.

The Xk, k

=

1 •.... K+t are independent. Then we find for the throughput T(K)

defined as the average number of service completions in the two stations together:

1 4

t

T( t)

= .

1

+

5"'

100

=

.208 and

t

24 2

T(2)

=

25 .2+ 25 . 100 = .0992

<

T(l) !

- Also the service times need not be identically distributed. For instance every twentiest job in a station may have a 50 % larger service time due to. say. monitor-ing of the servicmonitor-ing or inspection.

Markovian routing.

- Any routing as long as it can be characterized by a sequence of random variables Sij' j

=

t . 2 .... independent of everything else going on in the network is allowed. We only need that the Sij in the K and K+l job system can be taken to be the same. by a coupling argument. ~or instance alternating routing is possible: Sij

=

t

if j is even and SIj

=

2 if j is odd.

- In the single server system the Sij and Xij may be dependent. For the multi server case the coupling fails because the j-th departing job is not necessarily the one receiving time Xij.

All jobs initially in one station.

- It is clear that this can be relaxed to: the number of jobs initially in station i in the K+ 1 job system is at least equal to the number in the K system for i

=

1 • '" • N. Furthermore. under very weak conditions the average number of service comple-tions in a station per unit of time is independent of the initial state.

(10)

Appendix. If then n

L

Xij - co for n - co j= 1 tn - co 8

-Suppose to the contrary tn - t

<

co for n - co. then a;: - t (n - co) for C

=

K or K+l, say C = K. Then we have in at least one station. say i.

Aj(x) - co (x --+ t).

Let us mark the K jobs in the system 1 .2 •.... K. and let J1 be the subset of {1 .2

, .... K} of jobs which arrive infinitely often in station i in [ 0 . t ). So J1 is

non empty. Let J2 be the complement: J2

=

{t ... K} \ J

1-Define for each job kEJ2

tkA the last arrival in station i before t tP the last departure station i before t and define

to = max max( t t . tf)

tEl2

Then each job kEJ2 is either stuck in a task

X

ij during the whole interval (to. t). if

tkA

>

tp. or it is not in station i for all x in (to. t), if tP

>

tkA.

So there is a finite. possibly empty set I of indices of tasks performed by the J2 jobs

between to and t. Since I is fixed and finite and since Aj(x) --+ co for x - t and all

Xii' jf I. are completed before t

A\(x)

LX .. -

co if x - t.

j

=

1 I)

HI

On the other hand each job can spend at most x time units in a specific station between 0 and x. hence for all x

<

t

A/x)

L

X .. ~ Kt

<

co

j'" 1 I)

HI

(11)

-9-References.

- Adan. U.B.F. and J. van der Wal (1987). Monotonicity of the throughput of a closed Erlang queueing network in the number of jobs. Eindhoven University of Technology. Departement of Mathematics and Computing Science. Memorandum COSOR 87-0l.

- Dijk. N.M. van and B.F. Lamond (1986). Bounds for the call congestion of finite single-server exponential tandem queues. to appear in Operations Research. - Robertazzi. T.O. and A.A. Lazar (1985). On the modeling and optimal flow

con-trol on the Jacksonian network. Performance Evaluation 5.29-43.

- Shanthikumar. J .G. and D.D. Yao (1985). Stochastic monotonicity of the queue lengths in closed queueing networks. to appear in Operations Research.

- SUri. R. (1985). A concept of monotonicity and its characterization for closed queueing networks. Operations Research 33,606-624.

- Wal. J. van der (1985). Monotonicity of the throughput of a closed exponential queueing network in the number of jobs, Eindhoven University of Technol-ogy. Departement of Mathematics and Computing Science. Memorandum COSOR 85-21.

- Yao. D.O. (1985), Some properties of the throughput function of closed networks of queues, Operations Research Letters 3. 313-317.

Referenties

GERELATEERDE DOCUMENTEN

De meeste effectgerichte maatregelen, zoals een verlaging van de grondwaterstand of een verhoging van de pH in de bodem, verminderen de huidige uitspoeling, maar houden de

• Bij “niet-lerende vogelsoorten” kunnen alleen “primaire” afweermiddelen gebruikt worden, waarbij een meer blijvend effect kan worden bereikt door permanente, dan wel

Om dit te realiseren heeft vereniging Zonnespreng een visie opgesteld en vervolgens de Wetenschapswinkel van Wageningen Universiteit en Researchcentrum gevraagd om een plan op

Beter heeft Hanna het getroffen met haar andere zoon, Peter, die het zowel zijn vader als zijn moeder naar de zin probeert te maken, die het tot wetenschappelijk medewerker weet

In haar nieuwe boek Chinezen van glas maakt de hoofdpersoon zich weliswaar zorgen om het anders- zijn van haar familie (die zelfs ,,iets onbestaanbaars'' wordt verweten), maar dat

Het stramien van zijn novelle is overbekend: een man die in Indië is geboren en getogen keert op latere leeftijd terug naar zijn `land van herkomst' en wordt daar tegen zijn

Maar desondanks: werkelijk aangrijpend zal deze novelle, naar ik vrees, alleen zijn voor de lotgenoten van de schrijver, die zich net als zijn hoofdpersoon dagelijks moeten

Waarderend en preventief archeologisch onderzoek op de Axxes-locatie te Merelbeke (prov. Oost-Vlaanderen): een grafheuvel uit de Bronstijd en een nederzetting uit de Romeinse