• Aucun résultat trouvé

Determinism minimizes waiting time in queues

N/A
N/A
Protected

Academic year: 2021

Partager "Determinism minimizes waiting time in queues"

Copied!
6
0
0

Texte intégral

(1)

May 1982 LIDS-P-1207

DETERMINISM MINIMIZES WAITING TIME IN QUEUES* by

Pierre A. Humblet**

*The author is with the Dept. of Electrical Engineering and Computer Science and the Laboratory for Information and Decision Systems at the Mass. Institute of Technology, Cambridge, Massachusetts 02139.

**This research was conducted at the M.I.T. Laboratory for Information and Decision Systems with partial support provided by the National Science Foundation under Contract NSF-ECS 79-19880.

(2)

This paper gives an elementary proof of a "folk theorem" of queueing theory, namely that for a given mean interarrival (or service) time, the average waiting time (and other related quantities) is minimum when the interarrival (service) times are constant. This is well known [1], f2] when the interarrival and service times are mutually independent. Hajeck

[3] proved a similar result for general arrival processes (non necessarity renewal or stationary) when the service times are independent and exponential-ly distributed. We give a very general and elementary proof relying

es-sentially on the convexity of the Max (-) function and on the use of Jensen's inequality. One method was inspired by Friedman [4]. In light of their simplicity, these results may be known to many.

Definitions: Let t. and si., i = 0,1,2,... be sequences of non negative random variables, possibly dependent and non stationary.

Let T and Sn, n = 1,2,... be the smallest a-fields generated by (t o,tl..tn-l) and (s0ol...Sn-l) respectively.

n-l Let T = t k = 1,2,...n; T 0 n =1,2... n,k i=n-k n n,0 n-l S n k s. k = 2 n 1,2,... .n,k i=n-k It is well known that

w = Max (Sn,k-Tn,k)

k=0,l,...n

th

can be interpreted as the waiting time of the nt h customer in a first come,

first servedqueue, where the service time of the i customer is si, the

th th

interarrival time between the i and (i+l) customer is ti, and customer

(3)

-2-We will show here that

a) if (1) E(t i l S n) = E t. n > 0, i > 0 (2) (si) is stationary i>O E T (3) lim sup nn < t n -n->co n

then lim inf 1 E E w. > lim E(max (Sn kt)).

n-co i=l noo k=O,l,...n

The right hand side (which always exist if - is allowed) can be th

interpreted as the limit of the expected wait of the n customer in a queue with same service process as the original queue, but interarrival

times constant and equal to t. It is also equal to the expected "stationary waiting time" in that new queue.

b) (1) E(s i l T n) = E s n > O, i > 0 (2) (ti) is stationary i>O E S (3) lim inf nn > tn -n->o

then lim inf n E w. > lim E (max (k s - Tn))

n-eo i=l nM-° k=0,l,.... nk

The interpretation of this result is dual to the one in a), with services replacing interarrival- times.

c) The previous results hold, mutatis mutandis, for convex and monotone functions of (si) and (ti).

(4)

Proof: E w E(E[Max (S Tnk)

I

Sn)

~n

k=O,l,...n nk nk n > E(Max (ElSn,k-Tn,k IS nD) k=O,1,...n =E(Max (Sk-E Tn )) k=0,l,...n n,k nk

The inequality above results from the convexity of Max and Jensen's in-equality. The last equality results from hypothesis (1).

At this point we have shown that E wn is minimized by a deterministic arrival process. It remains to be proved that it is best to have constant interarrival times.

+

Let m e Z and consider

m+n m+n

__ E w > n 1 Y E Max (S -E T

m+n 1 -,k n ,k

-=l i=m~l k=O,l, ..m

Note that by stationarity(2) of (si) ,for (xOx 1... x = x given,

i>O

E(Max (Si,k-xk)) is a function F(x) independent of i (i > m). k=O,1,.. .m

Moveover, F is convex in x and nonincreasing for each x.. By Jensen's 'inequality

/mSn m+n m+n / T. 2: E T., E T. m+n n i-im+l T im+l ' i m+1 i m+n i=O w.1 m+n n n E T E T + +.E T n 0 m+nn

m+nn

n+l,n

m+n n n

The equality results from the fact that, going back to the definition of Tik'

m+n k-l

T k m m+n-jn

i=m+l j=0

Keeping m fixed and letting n grow yields

(5)

-4-n

lim inf

H

I E(wi) > F(O,t,2t,...,mt) = E max (S -kt)

n-no i=O k=O,1...m

where we used hypothesis (3) and the nonincreasing nature of F(-). The right hand side can be interpreted as the waiting time of the th

m customer in the queue with constant interarrival times. Letting m grow yields the desired result.

One can further note that, because of the stationarity of (si) , the prob-i>O

ability distribution function of max (Sm k-kt) converges from above to k=O,...,m

some (possibly defective) distribution function that one may call the "stationary waiting time" distribution function.

By Lebesque Monotone Convergence Theorem, the expected value of the "stationary waiting time" is equal to the lower bound derived above.

The proofs of b) and the generalization to moments of other functions convex and monotone in (si) or (ti) proceed along similar lines.

(6)

~~---~--`-"sl---[1] Borovkov, A. A., Stochastic Processes in Queueing Theory, Springer-Verlag, New York, 1976.

[2] Stoyan, Eng. Cyb., Vol. 12, pp. 79-81, Nov. 1974.

[3] Hajek, B., "The Proof of a Folk Theorem on Queueing Delay with Ap-plications to Routing in Networks", University of Illinois, April

1981.

[4] Friedman, D. U., "Queueing Analyais of a Shared Voice/Data Link", Ph.D. Thesis, Dept. of Electrical Engineering and Computer Science, Mass. Institute of Technology, November 1981; also Laboratory for Information and Decision Systems Report LIDS-TH-1161.

Références

Documents relatifs

Finite speed of propagation is established for non-negative weak solutions to a thin film approximation of the two-phase Muskat problem.. The temporal expansion rate of the

Maximum waiting times linked to choice: Denmark and Portugal In some countries, patients can be treated by another provider if the waiting time guarantee is not fulfilled or when

— Using a Hironaka resolution, the proof of Proposition 2.1 can be reduced to the case when every f i is a monomial, and then the proof becomes much easier.. We proceed however

Exponential waiting time for filling a large interval in the symmetric simple exclusion process.. Annales

We prove the occurrence of a waiting time phenomenon for solutions to fourth order degenerate parabolic differential equations which model the evolution of thin films

This can be done by, for instance, comparing the observed broad-band photometry to the colours generated by spectral evolution synthesis models (see, e.g. These mod- els will

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

However, as the percentage of A increases, this benefit for A shrinks, whereas the disadvantage for orders B becomes exponential, with the waiting time be- ing a multitude of