• No results found

A mean-value approach for M/G/1 priority queues

N/A
N/A
Protected

Academic year: 2021

Share "A mean-value approach for M/G/1 priority queues"

Copied!
9
0
0

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

Hele tekst

(1)

A mean-value approach for M/G/1 priority queues

Citation for published version (APA):

van Doremalen, J. B. M. (1983). A mean-value approach for M/G/1 priority queues. (Memorandum COSOR; Vol. 8309). 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 - 09 A mean-value approach for

MIGl1 priority queues by

Jan van Doremalen

Eindhoven, the Netherlands March 1983

(3)

A MEAN-VALUE APPROACH FOR M/G/! PRIORITY QUEUES by

Jan van Doremalen

Abstract.

This note deals with a mean-value approach for M/G/l priority queues. Using the residual life-time formula, Little's formula and the fact that Poisson arrivals see time averages, we derive schemes to evaluate mean response times, mean queue lengths and mean waiting times for the respec-tive priority classes.

(4)

2

-I. Introduction

This note deals with a queueing system, where R independent Poisson arrival streams with rates A , r

=

1,2, •.• ,R, are to be served by a single server

r

infinite capacity queue. The service times are independent and distributed according to distribution functions G for stream r, r

=

1,2, ••• ,R. The

r

mean wand the second moment mr r of Gr are assumed to be finite. The service discipline is first-come first-served but for priorities. Two priority rules, the preemptive resume and the head-of-the-line priorities, will be discussed.

It is our purpose to show an elegant derivation of schemes to compute mean system times, mean queue lengths and mean waiting times for customers of the successive streams. These schemes will be based on the following three impor-tant results:

(i) the PASTA-property, i.e. Poisson arrivals see time averages (ii) Little's formula

(iii) the expected residual life-time formula.

The schemes are not new and can be found for instance in Takacs [1964J and Wolff [1970J. It is the elegant and exact way of deriving them which is of

(5)

3

-z. Some notations

The following notations will be used

S mean response time of a stream r customer (an r-customer). r

D mean waiting time for an r-customer, i.e. the mean time between r

arrival moment and the moment service starts for the first time. C mean completion time for an r-customer, i.e. the mean time until

r

service completion from the moment service starts for the first time.

mean number of waiting r-custamers.

mean number of r-customers in the service completion phase. Aw , the utilization factor of the server for r-customers.

r r

We note that the concept of service completion time can be found in Gaver [196IJ. Furthermore, it should be noted that L in fact gives the probability

r

that there is some r-customer in the service completion phase, since L ~s

r

the mean of a random variable which can only take on the values 0 and 1.

3. A single server queue with preemptive resume priorities

A queueing system with R independent Poisson arrival streams will be analyzed. An rt-customer has a higher priority than an rz-customer if r

l < rZ. A customer interrupts at his arrival the service of a lower priority customer. The service of this lower priority customer is resumed at the moment there are no higher priority customers left in the system.

(6)

4

-First step in the analysis is the evaluation of the mean service completion time Cr of an r-customer, r = J,2, ••• ,R. His "effective" service time is influenced by interrupts of higher priority customers. If we match the mean service completion time with the total amount of work to be done during this completion time, we find

C r wr r-J +

I

i=1 A. C w. ~ r ~ r

=

1,2, .•• ,R,

where we use the Poisson character of the arrival streams, so

w

(1) C

=

r

r r-I

J

-

L

p.

i=1 ~

Wolff [1982J showed under rather general assumptions that customers arriving according to a Poisson process, see the system as if in time-equilibrium, the so-called PASTA-property.

A first consequence is that if a customer finds upon arrival an r-customer in his service completion phase, the remaining "effective" work to be done for the r-customer is given by the expected residual life-time formula, namely

m r

2w

r

Note that the independence of service time and interrupts is essential in this reasoning.

(7)

5

-Furthermore, the fraction of time there is some r-customer in the service during the waiting time of the customer.

A. D w. ~ r ~ m. r-I L. -~ +

I

~ 2wi i=l r

L

i=1 Q. w. + ~ ~ AD. r r r

I

i=1

=

A C • r r S

=

C + D • r r r (5) (2) (3)

tion equals L also, and thus

r

It should be observed that this is a consequence of Little's formula also.

The mean response time S of r-customers, of course, is given by r

completion phase ~s given by A C • As we have noted in Section 2 this

frac-r r

The last term on the RHS denotes the amount of higher priority work entering

Little's formula (confer Little [1961]) gives the relation be done during the waiting time.

(4)

We now are able to give a mean value relation for the mean waiting time D r of an r-customer, matching the waiting time and the total amount of work to Another consequence of the PASTA-property is that an arriving customer sees

in the average

Q

r r-customers having received no service yet. Furthermore, with probability Lr there will be an r-customer in the service completion phase.

(8)

The system is as in Section 3 but for the fact that a customer does not times, mean queue lengths and mean response times for the R streams.

and L r ).. D w. 1. r 1. r

L

i=1 m. r-I L. _ 1 . +

L

1. 2w. . 1. 1.=1 R

I

i=1 r

L

i=1 Q. w. + 1. 1. r

L

i=1

=

D r C r D r (6) (7) (8)

time and "effective" service time coincide and we have 6

-Now, the equations (I) through (5) give a scheme to evaluate mean waiting

a result corresponding with results of for instance Takacs [1964: Formula 66J We note that D is determined by

r

and Wolff [1970: Formula 31J .

interrupt the service of a lower priority customer. Now service completion

Using the same arguments as in Section 3 we find as a relation for the mean waiting time D of an r-customer,

r

and again we have, with the relations Q =). D , S

=

C + D

r r r r r r

r

=

1,2, .•• ,R, a scheme to canpute the relevant mean values. 4. A single server queue with head-of-the-line priorities

(9)

7

-5. Conclusions

6. Reference~

Formula 68J and Wolff [1970: Formula 33].

~W", OR 9 : 383 - 387.

Priorities", J.R. Stat. Soc. B25: 73 -90.

Wolff, R.D. [1982J: "Poisson Arrivals See Time Averages", OR 30: 223 - 231. Wolff, R. D. [1970J: "Work Conserving Queues", JAP

?..:

327 - 337.

Little, J.D.C. [1961J: "A proof of the queueing formula: L

Takacs, L. [1964J: "Priority Queues", OR.!!: 63 -74.

Gaver, D.P. [1961 J: "A Wai dng Line with Interrupted Service including be extended to more complex situations, for example time-sharing systems.

in queueing networks where stations with priority rules are considered. The interest of the schemes also lies in the field of finding approximations systems with priorities. It should be observed that the way of reasoning can We have derived in an elegant way relations between mean values in queueing a result which corresponds with the results of for instance Takacs [1964: We note that Dr is determined by

R m.

L

1 p. 2w. i=l 1 (9) D = 1 r ( r-l Pi) ( 1 -r Pi) I -

L

L

i=1 i=1

Referenties

GERELATEERDE DOCUMENTEN

Here Jassen distinguishes two types of prophet, Moses and classical prophets, in terms of lawgiving activity.. Jesus and his Apostles as Prophets par excellence in Luke-Acts 5 It is

wegvallen. Op de stollaag gelden overgangscondities voor de snelheid in gradiëntrichting vz, de druk p en de temperatuur T. Tijdens de injectiefase gelden de volgende

Uit ons onderzoek blijkt dat de eigen houding van verzorgenden en artsen en de manier van communicatie voor een belangrijk deel bepalen waardoor een bewoner antipsychotica krijgt

Die diagnose van die polisistiese ovariale sindroom word gemaak by pasiente met 'n geskiedenis van infertiliteit, oligo-amenoree, hirsutisme en 'n biochemiese profiel in die bloed

[r]

Het Zorginstituut koppelt de opgave bedoeld in het eerste lid, onderdeel b, met behulp van het gepseudonimiseerde burgerservicenummer aan het VPPKB 2018 en bepaalt op basis

‘In tien jaar verdwijnt langzaam de waarde van het quotum en dan moeten de kos- ten van quotum op 0 liggen om finan- cieel gezond te kunnen melken.’ Het gemiddelde melkveebedrijf

In this paper we derived for the M/G/1 queueing model, the density functions and the LSTs of the age, residual and length of service for the customer who is currently in service,