IEOR 8100: Topics in OR: Asymptotic Methods in Queueing Theory. Fall 2009, Professor Whitt. Class Lecture Notes: Wednesday, September 9.

Similar documents
HEAVY-TRAFFIC EXTREME-VALUE LIMITS FOR QUEUES

A Review of Basic FCLT s

LIMITS FOR QUEUES AS THE WAITING ROOM GROWS. Bell Communications Research AT&T Bell Laboratories Red Bank, NJ Murray Hill, NJ 07974

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 22 12/09/2013. Skorokhod Mapping Theorem. Reflected Brownian Motion

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Stochastic-Process Limits

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

(b) What is the variance of the time until the second customer arrives, starting empty, assuming that we measure time in minutes?

IEOR 6711: Stochastic Models I Fall 2013, Professor Whitt Lecture Notes, Thursday, September 5 Modes of Convergence

LIMITS AND APPROXIMATIONS FOR THE M/G/1 LIFO WAITING-TIME DISTRIBUTION

Periodic Load Balancing

Numerical Transform Inversion to Analyze Teletraffic Models

Economy of Scale in Multiserver Service Systems: A Retrospective. Ward Whitt. IEOR Department. Columbia University

Q = (c) Assuming that Ricoh has been working continuously for 7 days, what is the probability that it will remain working at least 8 more days?

ANALYSIS OF THE LAW OF THE ITERATED LOGARITHM FOR THE IDLE TIME OF A CUSTOMER IN MULTIPHASE QUEUES

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

NEW FRONTIERS IN APPLIED PROBABILITY

THE HEAVY-TRAFFIC BOTTLENECK PHENOMENON IN OPEN QUEUEING NETWORKS. S. Suresh and W. Whitt AT&T Bell Laboratories Murray Hill, New Jersey 07974

LIMITS AND APPROXIMATIONS FOR THE BUSY-PERIOD DISTRIBUTION IN SINGLE-SERVER QUEUES

Stabilizing Customer Abandonment in Many-Server Queues with Time-Varying Arrivals

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

A Robust Queueing Network Analyzer Based on Indices of Dispersion

Full terms and conditions of use:

HEAVY-TRAFFIC LIMITS FOR STATIONARY NETWORK FLOWS. By Ward Whitt, and Wei You November 28, 2018

Heavy-Traffic Limit of the GI/GI/1 Stationary Departure Process and Its Variance Function

TOWARDS BETTER MULTI-CLASS PARAMETRIC-DECOMPOSITION APPROXIMATIONS FOR OPEN QUEUEING NETWORKS

IEOR 6711: Stochastic Models I Professor Whitt, Thursday, November 29, Weirdness in CTMC s

IEOR 3106: Introduction to Operations Research: Stochastic Models. Fall 2011, Professor Whitt. Class Lecture Notes: Thursday, September 15.

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

An Overview of Brownian and Non-Brownian FCLTs for the Single-Server Queue

1 Delayed Renewal Processes: Exploiting Laplace Transforms

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 2

Other properties of M M 1

PIECEWISE-LINEAR DIFFUSION PROCESSES

The G/GI/N Queue in the Halfin-Whitt Regime I: Infinite Server Queue System Equations

ON THE LAW OF THE i TH WAITING TIME INABUSYPERIODOFG/M/c QUEUES

Stability and Rare Events in Stochastic Models Sergey Foss Heriot-Watt University, Edinburgh and Institute of Mathematics, Novosibirsk

Synchronized Queues with Deterministic Arrivals

A Diffusion Approximation for the G/GI/n/m Queue

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012

Probability and Statistics Concepts

On Approximations for the GI/GI/1 Queue and Generalized Jackson Open Queueing Networks Using Indices of Dispersion

Exact Simulation of the Stationary Distribution of M/G/c Queues

The Performance Impact of Delay Announcements

REAL-TIME DELAY ESTIMATION BASED ON DELAY HISTORY SUPPLEMENTARY MATERIAL

Discrete-event simulations

Algorithms for the Upper Bound Mean Waiting Time in the GI/GI/1 Queue

Transient Analysis of a Series Configuration Queueing System

This paper investigates the impact of dependence among successive service times on the transient and

IEOR 6711, HMWK 5, Professor Sigman

Lecture 9: Deterministic Fluid Models and Many-Server Heavy-Traffic Limits. IEOR 4615: Service Engineering Professor Whitt February 19, 2015

Stochastic Models 3 (1998)

Functional Limit theorems for the quadratic variation of a continuous time random walk and for certain stochastic integrals

Markov processes and queueing networks

ISyE 6650 Test 2 Solutions

Waiting time characteristics in cyclic queues

TRANSIENT BEHAVIOR OF THE M/G/1 WORKLOAD PROCESS

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if

Single-Server Service-Station (G/G/1)

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Elementary queueing system

Advanced Queueing Theory

2 light traffic derivatives for the GI/G/ queue. We shall see that our proof of analyticity is mainly based on some recursive formulas very similar to

Convergence Rates for Renewal Sequences

STABILITY AND STRUCTURAL PROPERTIES OF STOCHASTIC STORAGE NETWORKS 1

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

Asymptotic Coupling of an SPDE, with Applications to Many-Server Queues

GI/M/1 and GI/M/m queuing systems

M/G/1 and M/G/1/K systems

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

One important issue in the study of queueing systems is to characterize departure processes. Study on departure processes was rst initiated by Burke (

BRANCHING PROCESSES AND THEIR APPLICATIONS: Lecture 15: Crump-Mode-Jagers processes and queueing systems with processor sharing

Stochastic process. X, a series of random variables indexed by t

MS&E 321 Spring Stochastic Systems June 1, 2013 Prof. Peter W. Glynn Page 1 of 10. x n+1 = f(x n ),

ELEMENTS OF PROBABILITY THEORY

Tales of Time Scales. Ward Whitt AT&T Labs Research Florham Park, NJ

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Author's personal copy

Queuing Theory. Richard Lockhart. Simon Fraser University. STAT 870 Summer 2011

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Operations Research Letters. Instability of FIFO in a simple queueing system with arbitrarily low loads

A DIFFUSION APPROXIMATION FOR THE G/GI/n/m QUEUE

Stabilizing Customer Abandonment in Many-Server Queues with Time-Varying Arrivals

Lecture 9. d N(0, 1). Now we fix n and think of a SRW on [0,1]. We take the k th step at time k n. and our increments are ± 1

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Non Markovian Queues (contd.)

ALGORITHMS FOR THE UPPER BOUND MEAN WAITING TIME IN THE GI/GI/1 QUEUE. By Yan Chen, and Ward Whitt October 27, 2018

Predicting Response Times in Processor-Sharing Queues

Moments of the maximum of the Gaussian random walk

Kendall notation. PASTA theorem Basics of M/M/1 queue

There recently has been great interest in the performance of queues

HITTING TIME IN AN ERLANG LOSS SYSTEM

E[X n ]= dn dt n M X(t). ). What is the mgf? Solution. Found this the other day in the Kernel matching exercise: 1 M X (t) =

MATH 6605: SUMMARY LECTURE NOTES

Motivated by models of tenant assignment in public housing, we study approximating deterministic fluid

Stochastic grey-box modeling of queueing systems: fitting birth-and-death processes to data

Proofs of the martingale FCLT

E-Companion to Fully Sequential Procedures for Large-Scale Ranking-and-Selection Problems in Parallel Computing Environments

Asymptotic Statistics-III. Changliang Zou

Transcription:

IEOR 8100: Topics in OR: Asymptotic Methods in Queueing Theory Fall 2009, Professor Whitt Class Lecture Notes: Wednesday, September 9. Heavy-Traffic Limits for the GI/G/1 Queue 1. The GI/G/1 Queue We will start by considering this basic model, assuming unlimited waiting space and the first-come first-served service discipline (all customers served in order of arrival). This model is covered in almost all queueing textbooks. See Chapters III, VIII and X in Asmussen (2003), Applied Probability and Queues, second ed. A major treatise is Cohen (1982), The Single- Server Queue, second ed. Actually, one or two full courses could be devoted to this model and its special cases. However, since we consider the case of general service-time and interarrivaltime distributions, the story is quite complicated. The material here might be treated at the very end of a first queueing course, or not until a second queueing course. It is good to have some understanding about the strong results that are possible when we make extra assumptions about the service-time and interarrival-time distributions. Here are some things to learn: the Kendall notation. the elementary M/M/1 model - a birth-and-death process. the Pollaczek-Khintchine formulas for the mean and the Laplace transform of the steady-state waiting time in the M/G/1 model. the special techniques for other special cases, such as GI/M/1, GI/P H/1, P H/G/1, etc. For example, see Chapter III and Section VIII.5 of Asmussen. The general model GI/G/1 is difficult to analyze. A key relation connects the sequence of waiting times of successive customers, {W n : n 0} to a random walk, i.e., to the sequence of partial sums of i.i.d. random variables. That key relation for the waiting times of successive customers is: W n = S n min S k = max {S n S k }, n 0, (1) 0 k n 0 k n where S n X 1 + + X n and X n V n 1 U n, n 1, W 0 S 0 0, V n is the service time of the n th customer and U n is the interarrival time between the (n 1) st and n th arrival, with a 0 th arrival coming to an empty system at time 0. As a consequence (because the random variables X n being added are i.i.d), for each n 1, W n d = Mn max 0 k n S k, n 0. (2) That is, for each n 1, W n is distributed exactly as the maximum of the first n partial sums. To obtain this simple relation, we chose special initial conditions. It is not difficult to treat the more general case; the limiting steady-state distribution, when well defined, will not be altered by the initial conditions. It is important to note that we do not have equality in distributions of the stochastic processes {W n : n 0} and {M n : n 0}. That is easy to see, because {M n : n 0} has nondecreasing sample paths, while {W n : n 0} does not. The theory of general random walks {S n } and their successive maxima {M n } is well developed; see Chapter VIII of Asmussen (2003) and Chapter 8 of Chung (1974), A Course in

Probability Theory. The process {M n } is considered in 8.5 of Chung. Theorem 8.5.1 in Chung gives the Spitzer identity r n E[exp(itM n )] = exp( (r n /n)e[exp(its n + )], (3) n=0 where a + max {a, 0}. As a consequence, we have the following expression for the steadystate random variable M max {S n }. This is going to be finite if E[X 1 ] < 0. However, it is known that M is finite if and only if (1/n)P (S n > 0) <. (4) If condition (4) is satisfied, then the characteristic function of the random variable M is given by E[exp(itM)] = exp( (1/n)(E[exp(itS n + )] 1) (5) The mean and variance of M are given by E[M] = (1/n)E[S n + ] and V ar[m] = (1/n)E[(S n + ) 2 ]. (6) We also remark that a CLT-type limit theorem for M n was established in the seminal paper by Erdös and Kac (1946), cited below and distributed. That CLT is now regarded as an elementary consequence of Donsker s FCLT. Since the waiting times in the GI/G/1 queue are closely linked to the successive maxima, the waiting times W n in the GI/G/1 queue are intimately connected to the origins of Donsker s theorem. We will be studying the heavy-traffic limit for W n. But it is important to realize that a lot is known about this process and its steady-state distribution. In general, the steadystate distribution was characterized in terms of its Laplace transform by Pollaczek in 1952. (The content of Pollaczek (1952) is closely related to 8.5 of Chung (1974).) Given that the Laplace transforms of the interarrival time and service time are known, that transform can be numerically inverted to calculate the steady-state waiting time distribution and its moments; see Abate, J., G. L. Choudhury and W. Whitt, Calculation of the GI/G/1 waiting-time distribution and its cumulants from Pollaczek s formulas. Arkiv für Elektronik und Übertragungstechnik (AËU, International Journal of Electronics and Communications), 47 (1993) 311-321. The Pollaczek expression does not look like the Spitzer identity, but they can be (have been) linked. The Pollaczek representation is a contour integral representation for the transform of the steady-state waiting time W or, equivalently, for M. In particular, ( E[exp( sw )] = E[exp( sm)] = exp 1 ) s log [1 φ( z)]dz, (7) 2πi z(s z) where s is a complex number with real part Re(s) 0, C is a contour to the left of, and parallel to the imaginary axis, and to the right of any singularities of log [1 φ( z)] in the left half plane. Of course, i 1. The function φ is the transform of X V U, where V is a generic service time and U is a generic interarrival time, i.e., φ(z) E[exp(s(V U))] C e zt dg(t) = E[exp(sV )]E[exp( su)], (8) 2

where G is the cdf of V U, which we assume is analytic for complex z in the strip Re(z) < δ for some positive δ. All this is reviewed in the ACW93 paper above. Clearly, these expressions are complicated. They greatly simplify if we make additional assumptions, such as assuming that either V or U has an exponential distribution. Then we get the M/G/1 and GI/M/1 models. 2. Donsker s Theorem and the Continuous Mapping Theorem We now present Donsker s theorem. For that purpose, let a be the floor function, i.e., the greatest integer less than a. Theorem 0.1 (Donsker s FCLT or invariance principle) Let {X n : n 1} be a sequence of i.i.d random variables with E[X 1 ] = m and V ar(x 1 ) = σ 2 <. Let S n X 1 + + X n, n 1, and S 0 0. Let S n (t) S nt mnt σ for 0 t 1. (9) n so that S n a random element of the function space D D([0, 1], R). Then S n B in D, (10) where B is standard Brownian motion (BM) on the interval [0, 1]. The continuous mapping theorem then gives us the following corollary. Much depends on the topological structure on the spcae D, but we do not specify that here. Corollary 0.1 (continuous image) Let f be a continuous function mapping D into another space, e.g., into D or R. Under the assumptions of Theorem 0.1, f(s n ) f(b) as n. (11) A specific example of a continuous function is f : D R, where f(x) sup {x(t) : 0 t 1}. When we apply this function with Donsker s FCLT, we get a CLT for M n. Let d = mean equal in distribution. Corollary 0.2 (CLT for the successive maxima) Let M n max {S k mk : 0 k n} in the framework of Theorem 0.1. Then M n σ n sup B(t) = d N(0, 1) in R, (12) 0 t 1 where N(0, 1) is a standard normal random variable, so that P ( N(0, 1) > x) = 2P (N(0, 1) > x) = (2/π) x exp( y 2 /2)dy, x 0. (13) We can combine equation (2) and Corollary 0.2 to obtain a heavy-traffic limit theorem for the waiting time W n in the GI/G/1 queue when the traffic intensity if ρ = 1 (the critically loaded case). Corollary 0.3 (heavy-traffic limit for W n in the GI/G/1 queue with ρ = 1) Let W n be the waiting time of the n th arrival in the GI/G/1 queue with finite mean service time E[V ] and interarrival time E[U], and traffic intensity ρ E[V ]/E[U] = 1 (so that m E[X] = 0). Then W n σ N(0, 1) in R, (14) n 3

where N(0, 1) is a standard normal random variable, so that Readings: P ( N(0, 1) > x) = 2P (N(0, 1) > x) = (2/π) x exp( y 2 /2)dy, x 0. (15) 1. Introduction (pp. 1-6) of [B], the 1999 Billingsley book (explains the motivation for studying stochastic-process limits) 2. Erdös, P. and M. Kac, On certain limit theorems of the theory of probability. Bull. Amer. Math. Soc. 52 (1946) 292-302. (a seminal paper) 3. Donsker, M., An invariance principle for certain probability limit theorems. Mem. Amer. Math. Soc. 6 (1951), 12 pages. (a seminal paper) 4. papers by Prohorov and Skorohod in Theor. Prob. Appl. 1 (1956). (seminal papers) 5. the class textbooks [B] and [W]; my book (Stochastic-Process Limits, Springer 2002, available online, link on course web page.) From [W] on GENERAL THEORY (i) continuous mapping theorem, 3.4, pp. 84-86 (ii) Donsker s FCLT, 4.3, pp. 101-103 (iii) one-dimensional reflection map, formula (5.4) on p. 87; plus 13.4-13.5, pp. 435-441 6. Background on the classical limit theorems and their proofs: (a) W lecture notes on transforms from IEOR 6711, 09/11/08. Proof of WLLN and CLT on pages 10-11. (b) Chung, K. L., A Course in Probability Theory, Chapters 4-7: Ch. concepts; Ch. 5, LLN s; Ch. 6, characteristic functions; Ch. 7, CLT. 4, convergence 3. Heavy-Traffic limit for the waiting time in the GI/G/1 Queue We actually are more interested in obtaining heavy-traffic limits for stable queues with traffic intensities strictly less than 1. To do so, we consider a sequence of GI/G/1 models indexed by n and let the traffic intensities approach 1 from below as n. Then the queueing model is stable for each n, and yet we still have a heavy-traffic limit. But we must be careful to let ρ n approach 1 at just the right rate. It is easy to see what will work by considering Donsker s theorem. First, note that we introduce a technical complication when we consider a sequence of queueing models. We now have a double sequence or triangular array of random variables. We have a sequence of random variables {X n,k : k 1} for each n 1. This is a standard framework for the CLT, but it needs to be handled properly. We need to impose regularity conditions on these sequences as n. A convenient sufficient condition is to assume that the means and variances of the random variable X n,1 satisfy m n m, < m <, and σn 2 σ 2 <, plus a condition on a higher absolute moment. In addition, it suffices to have sup {E[ X n,1 2+δ ]} < (16) for some δ > 0. This implies the classical Lindeberg condition. Donsker s theorem is known to extend to this more general setting, e.g., see p. 219 of Parthasarathy (1967), Probability 4

Measures on Metric Spaces, Academic Press. In the queueing setting, we will also assume that U n,1 U and V n,1 V as n in R with E[U n,1 ] E[U] and E[V n,1 ] E[V ]. It is easy to see what is needed by considering the translation term in Donsker s theorem, in the double sequence framework That is we can rewrite S n as S n (t) S n,[nt] m n nt σ n n for 0 t 1, (17) where S n,k X n,1 + X n,k, k 1. the translation term is T n (t) m nnt σ n n for 0 t 1. (18) We will want to have this translation term converge to a constant function ce, where < c < 0 and e is the identity function in D, i.e., e(t) = t, 0 t 1. (Asymptotically, there should be negative constant drift.) That will be achieved if and only if m n n b, < b < 0 as n, (19) in which case c = b/σ. Note that this in turn holds if and only if we have the heavy-traffic condition ρ n 1 and n(1 ρ n ) β b/e[u] as n. (20) The main heavy-traffic limit for W n establishes convergence to reflected Brownian motion (RBM) for the sequence of GI/G/1 models with ρ n 1 as n under the regularity conditions in (19) or (20). We go beyond Corollary 0.3 in two ways: first, by letting the traffic intensities approach 1 from below according to (20) and, second by establishing a functional central limit theorem for W n,k in D. Theorem 0.2 (heavy-traffic limit for the waiting times in the GI/G/1 queue for ρ n 1) Consider a sequence of GI/G/1 models. Let W n,k be the waiting time of the k th arrival in the n th GI/G/1 queueing system with finite mean service time E[V n ] and finite mean interarrival time E[U n ]. Assume the regularity conditions above, including (19) or, equivalently, (20). Then where W n W φ(b + ce) in D, (21) W n (t) W n, nt σ n n, 0 t 1 (22) B + ce is BM with drift c, < c < 0, φ : D D is the reflection map φ(x) = x + ( x 0e) with x (t) sup x(s), 0 t 1. (23) 0 s t and φ(b + ce) is reflected Brownian motion (RBM). The stronger FCLT result in Theorem 0.2 is useful to establish limits for functionals of the waiting times. For example, we could apply the supremum functional, just as we did in Corollary 0.2. Corollary 0.4 (heavy-traffic limit for the maximum waiting time in GI/G/1 queues with ρ n 1) Consider a sequence of GI/G/1 models under the conditions of Theorem 0.2. Let W n,k be the waiting time of the k th arrival in the n th GI/G/1 queueing system. Then max {W n,k : 0 k n} σ n sup φ(b + ce)(t) in R. (24) 0 t 1 5

It is of course useful to be able to determine the probability distribution of the limit. I have not done that yet here. I am not sure how hard it is. Theorem 0.2 supports approximating the steady-state random variable, say W n,, where W n,k W n, in R as k for each n, by the steady-state limit of the RBM, Z, where φ(b+ce)(t) Z in R. It is known that the random variable Z has an exponential distribution. This leads to the heavy-traffic approximation where P (W n, > x) e x/mn, x 0, (25) m n E[W n, ] ρe[v n](c 2 a + c 2 s), (26) 2(1 ρ n ) with c 2 a and c 2 s being the squared coefficient of variation (SCV, variance divided by the square of the mean) of an interarrival time and service time, respectively. Unfortunately, actually proving a limit directly supporting formulas (25) and (26) is not straightforward from Theorem 0.2. See 5.7.2 of [W] for further discussion. For recent work, see Gamarnik, D. and A. Zeevi, Validity of heavy traffic steady-state approximations in generalized Jackson networks, Annals of Applied Probability, 16 (2006) 56-90. More Readings: From [W] on HEAVY-TRAFFIC LIMITS FOR W n (i) basic idea via fluid queue model, 5.1-5.4, pp. 137-157 (ii) Brownian approximations, 5.7.1-5.7.2, pp. 165-170 (ii) single server queue, 9.2-9.2.1, pp. 288-289, and 9.3-9.3.2, pp. 292-297 (ii) Brownian approximations, 5.7.1-5.7.2, pp. 165-170 6