BRAVO for QED Queues

Similar documents
arxiv: v1 [math.pr] 5 Aug 2013

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

Dynamic Control of Parallel-Server Systems

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 "

Load Balancing in Distributed Service System: A Survey

Lecture 20: Reversible Processes and Queues

Performance Evaluation of Queuing Systems

Erlang-C = M/M/N. agents. queue ACD. arrivals. busy ACD. queue. abandonment BACK FRONT. lost calls. arrivals. lost calls

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

CS 798: Homework Assignment 3 (Queueing Theory)

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

IEOR 6711, HMWK 5, Professor Sigman

Time Reversibility and Burke s Theorem

Moments of the maximum of the Gaussian random walk

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

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Designing a Telephone Call Center with Impatient Customers

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

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

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL

Introduction to Markov Chains, Queuing Theory, and Network Performance

A Robust Queueing Network Analyzer Based on Indices of Dispersion

Markovian N-Server Queues (Birth & Death Models)

On the Resource/Performance Tradeoff in Large Scale Queueing Systems

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

Routing and Staffing in Large-Scale Service Systems: The Case of Homogeneous Impatient Customers and Heterogeneous Servers

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

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

Non Markovian Queues (contd.)

Stein s Method for Steady-State Approximations: Error Bounds and Engineering Solutions

Queues and Queueing Networks

Routing and Staffing in Large-Scale Service Systems: The Case of Homogeneous Impatient Customers and Heterogeneous Servers 1

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

Data analysis and stochastic modeling

A Diffusion Approximation for Stationary Distribution of Many-Server Queueing System In Halfin-Whitt Regime

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

Monotonicity Properties for Multiserver Queues with Reneging and Finite Waiting Lines

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

TCOM 501: Networking Theory & Fundamentals. Lecture 6 February 19, 2003 Prof. Yannis A. Korilis

Design and evaluation of overloaded service systems with skill based routing, under FCFS policies

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.

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

MODELING WEBCHAT SERVICE CENTER WITH MANY LPS SERVERS

Statistics 150: Spring 2007

Online Supplement to Delay-Based Service Differentiation with Many Servers and Time-Varying Arrival Rates

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

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

EE 368. Weeks 3 (Notes)

An Analysis of the Preemptive Repeat Queueing Discipline

The Offered-Load Process: Modeling, Inference and Applications. Research Thesis

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

Introduction to Queuing Networks Solutions to Problem Sheet 3

Design, staffing and control of large service systems: The case of a single customer class and multiple server types. April 2, 2004 DRAFT.

Performance Modelling of Computer Systems

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

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES

Outline. Finite source queue M/M/c//K Queues with impatience (balking, reneging, jockeying, retrial) Transient behavior Advanced Queue.

Queues with Many Servers and Impatient Customers

Introduction to Queueing Theory with Applications to Air Transportation Systems

Design heuristic for parallel many server systems under FCFS-ALIS Adan, I.J.B.F.; Boon, M.A.A.; Weiss, G.

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

HEAVY-TRAFFIC EXTREME-VALUE LIMITS FOR QUEUES

Continuous Time Processes

Stationary remaining service time conditional on queue length

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?

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

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

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Designing load balancing and admission control policies: lessons from NDS regime

Birth-Death Processes

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Chapter 5. Statistical Models in Simulations 5.1. Prof. Dr. Mesut Güneş Ch. 5 Statistical Models in Simulations

Departure Processes of a Tandem Network

Chapter 5. Continuous-Time Markov Chains. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Slides 9: Queuing Models

Positive Harris Recurrence and Diffusion Scale Analysis of a Push Pull Queueing Network. Haifa Statistics Seminar May 5, 2008

MARKOV PROCESSES. Valerio Di Valerio

PBW 654 Applied Statistics - I Urban Operations Research

Chapter 1. Introduction. 1.1 Stochastic process

Review of Queuing Models

QUEUING SYSTEM. Yetunde Folajimi, PhD

A Fluid Approximation for Service Systems Responding to Unexpected Overloads

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

M/G/1 and Priority Queueing

Electronic Companion Fluid Models for Overloaded Multi-Class Many-Server Queueing Systems with FCFS Routing

MAT SYS 5120 (Winter 2012) Assignment 5 (not to be submitted) There are 4 questions.

State Space Collapse in Many-Server Diffusion Limits of Parallel Server Systems. J. G. Dai. Tolga Tezcan

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

Exponential Distribution and Poisson Process

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

The Transition Probability Function P ij (t)

Classical Queueing Models.

Renewal processes and Queues

Service Engineering January Laws of Congestion

Part I Stochastic variables and Markov chains

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Markov processes and queueing networks

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

16:330:543 Communication Networks I Midterm Exam November 7, 2005

Transcription:

1 BRAVO for QED Queues Yoni Nazarathy, The University of Queensland Joint work with Daryl J. Daley, The University of Melbourne, Johan van Leeuwaarden, EURANDOM, Eindhoven University of Technology. Applied Probability Society Conference, Costa Rica, July, 2012.

Daryl J. Daley 2

Queues and Counting Processes: Q(t) = Q(0) + ( A(t) L(t) ) ( ) R(t) + D(t)

Queues and Counting Processes: Q(t) = Q(0) + ( A(t) L(t) ) ( ) R(t) + D(t) Why analysis of the output counting process D(t)? Orders Production Arrival process to a downstream queueing system

Queues and Counting Processes: Q(t) = Q(0) + ( A(t) L(t) ) ( ) R(t) + D(t) Why analysis of the output counting process D(t)? Orders Production Arrival process to a downstream queueing system Daryl Daley, Queueing Output Processes, Advances in Applied Probability, 1976.

Queues and Counting Processes: Q(t) = Q(0) + ( A(t) L(t) ) ( ) R(t) + D(t) Why analysis of the output counting process D(t)? Orders Production Arrival process to a downstream queueing system Daryl Daley, Queueing Output Processes, Advances in Applied Probability, 1976. Some performance measures of interest The law of {D(t), t 0} E[D(t)], Var ( D(t) ) λ := lim t E[D(t)] Var ( ) D(t) t, V := lim t Asymptotic normality: D(t) N ( λ t, V t t, D := V λ ), large t

Outline 4 A (new) formula for asymptotic variance of outputs, D := V λ Single servers (older BRAVO results) Many server scaling (new BRAVO results)

Asymptotic Variance of Outputs 5

Finite Birth-Death Asymptotic Variance 6 Irreducible birth-death process on finite state space Birth rates: λ 0,..., λ J 1 Death rates: µ 1,..., µ J Stationary distribution: π 0,..., π J D(t) is number of downward transitions (deaths) during [0, t], each filtered independently with state-dependent probabilities, q 1,..., q J. e.g. The departure process (served customers) in M/M/s/K+M systems Of interest: D = V λ = lim Var ( D(t) ) t E[D(t)]

Finite Birth-Death Asymptotic Variance Formula 7 Theorem: Daryl Daley, Johan van Leeuwaarden, Y.N. 2013 ( ) Var D(t) D := lim = 1 2 t E[D(t)] with, J (P i Λ i ) (q i+1 λ ) (P i Λ i ), π i λ i i=0 i J P i := π j, λ := µ j q j π j, Λ i := j=0 j=1 i j=1 µ jq j π j λ. Note: In Weiss, Y.N. 2008, similar expression for case q i 1 Note: In case λ i λ, q i 1: π J D = 1 2 1 π J J i=0 P i ( 1 π J P i π i )

Idea of Renewal Reward Derivation 8 Embed D(t) in a Renewal-Reward Process, C(t) 1 (X n, Y n ) (busy cycle, number served) in cycle n 2 N(t) = inf{n : n i=1 X i > t}, C(t) = N(t) i=1 Y i 3 Asymptotic variance rates of C(t) and D(t) are equal 4 Known: 1 Asymptotic variance rate of C(t) is E[X ] Var( Y E[Y ] E[X ] X ) Systems of equations for 1 st, 2 nd and cross moments of X and Y D t C t Y 3 Y 2 X 3 1 Y 1 X 2 t

Single Server BRAVO (older results) 9

M/M/1/K Queue 10 Here π i is truncated geometric distribution when λ µ and a uniform distribution when λ = µ Using D = 1 2 π ( J J 1 π J i=0 P P i 1 π i J π i ):

M/M/1/K Queue Here π i is truncated geometric distribution when λ µ and a uniform distribution when λ = µ ( P 1 π i J π i ): Using D = 1 2 π J J 1 π J i=0 P i { D = 1 + o K (1), λ µ, 2 3 + o K (1), λ = µ.

M/M/1/K Queue Here π i is truncated geometric distribution when λ µ and a uniform distribution when λ = µ ( P 1 π i J π i ): Using D = 1 2 π J J 1 π J i=0 P i { D = 1 + o K (1), λ µ, 2 3 + o K (1), λ = µ. 1 M M 1 K 10 1 M M 1 K 40 1 M M 1 K 100 2 3 2 3 2 3

M/M/1/K Queue Here π i is truncated geometric distribution when λ µ and a uniform distribution when λ = µ ( P 1 π i J π i ): Using D = 1 2 π J J 1 π J i=0 P i { D = 1 + o K (1), λ µ, 2 3 + o K (1), λ = µ. 1 M M 1 K 10 1 M M 1 K 40 1 M M 1 K 100 2 3 2 3 2 3 We call this BRAVO: Balancing Reduces Asymptotic Variance of Outputs

M/M/1 Queue When K =, the formula for D does not hold. In this case, { 1, λ µ, D =?, λ = µ. A guess is 2 3, since for K <, D = 2 3 + o K (1)...

M/M/1 Queue When K =, the formula for D does not hold. In this case, { 1, λ µ, D =?, λ = µ. A guess is 2 3, since for K <, D = 2 3 + o K (1)... Theorem: Ahmad Al-Hanbali, Michel Mandjes, Y. N., Ward Whitt, 2011 For the M/M/1 queue with λ = µ and arbitrary initial conditions of Q(0) (with finite second moments), ( D = 2 1 2 ) 0.727. π Proof based on analysis of classic Laplace transform of generating function of D(χ) where χ is an exponential random variable.

G/G/1 Queue 12 Moving away from the memory-less assumptions, ca 2, λ < µ, D =?, λ = µ, cs 2, λ > µ. For M/M/1 it was 2(1 2 π )...

G/G/1 Queue Proof based on diffusion limit of (D(n ) λn )/ λn as n (Iglehart and Whitt 1971). Fourth moments are a technical condition used in establishing uniform integrability. Moving away from the memory-less assumptions, ca 2, λ < µ, D =?, λ = µ, cs 2, λ > µ. For M/M/1 it was 2(1 2 π )... Theorem: Ahmad Al-Hanbali, Michel Mandjes, Y.N., Ward Whitt, 2011 For the G/G/1 queue with λ = µ, arbitrary finite second moment initial conditions ( Q(0), V (0), U(0) ), and finite fourth moments of the inter-arrival and service times, ( D = (ca 2 + cs 2 ) 1 2 ). π

G/G/1/K Queue 13 ca 2 + o K (1), λ < µ, D =?, λ = µ, cs 2 + o K (1), λ < µ. For M/M/1/K it was 2 3 + o K (1), for G/G/1 it was (c 2 a + c 2 s )(1 2 π )...

G/G/1/K Queue 13 ca 2 + o K (1), λ < µ, D =?, λ = µ, cs 2 + o K (1), λ < µ. For M/M/1/K it was 2 3 + o K (1), for G/G/1 it was (c 2 a + c 2 s )(1 2 π )... Conjecture (numerically tested), Y.N., 2011 For the G/G/1/K queue with λ = µ and arbitrary initial conditions and light-tailed service and inter-arrival times, D = (ca 2 + cs 2 ) 1 3 + O( 1 ). K Numerical verification done by representing the system as PH/PH/1/K MAPs

Many Servers 14

M/M/s/ s 15 D p 1.0 s=10 4 s=900 0.8 s=100 s=9 0.6 D 0,1 0.4 0.2 0.6 0.8 1.0 1.2 1.4 r

Quality and Efficiency Driven (QED) Scaling Regime 16 A sequence of systems Consider a sequence of M/M/s/K queues with increasing s = 1, 2,... and with ρ s := λ sµ and K s such that, (1 ρ s ) s β (, ) K s s η (0, ) So for large s: ρ s 1 β/ s K s η s Halfin, Whitt, 1981, Garnett, Mandelbaum, Reiman 2002, Borst, Mandelbaum, Reiman, 2004, Whitt, 2004, Pang, Talreja, Whitt, 2007, Janssen, van Leeuwaarden, Zwart, 2011, Kaspi, Ramanan 2011, first session of this morning...

Favorable QED Properties 17 Probability of delay converges to a value (0, 1) Mean waiting times are typically O(s 1/2 ) Large queue lengths almost never occur Quick mixing times In applications: Call-centers (etc...) describes behavior well and allows for asymptotic approximate optimization of staffing etc... How about BRAVO?

BRAVO for QED Queues 18

M/M/s/K QED BRAVO Theorem: Daryl Daley, Johan van Leeuwaarden, Y.N. 2013 Consider QED scaling with β 0: D β,η := lim lim Var ( D(t) ) s,k t E ( D(t) ), D β,η = 1 2β2 e βη h 2 ( 1 βe βη h Φ( u) ) Φ( u) du φ(β) β φ(u) ( ) + 2e βη h(1 + e βη h) 1 βη e βη + (1 2βηe βη e 2βη )h where h = lim s P ( Q s s) 1 e βη = 1 1 e βη + βφ(β) φ(β)

BRAVO viewed through the QED lens 20 Β Η 1.0 0.9 0.8 Η 2 Η 1 Η 0.232 0.7 0.6 4 2 0 2 4 Β

21 D p 1.0 s=10 4 s=900 0.8 s=100 s=9 0.6 D 0,1 0.4 0.2 0.6 0.8 1.0 1.2 1.4 r

M/M/s/K QED BRAVO with ρ 1 (β = 0) 22 Theorem: Daryl Daley, Johan van Leeuwaarden, Y.N. 2013 D 0,η := K s s η (0, ) lim lim Var ( D(t) ) s,k t E ( D(t) ), D 0,η = 2 ( ) 6 3π 3 2 η 1 2 π π 2 + 3 2π(1 log 2) 3 ( η + ) π 3. 2

M/M/s/ η s s at ρ 1 (β = 0) 23 0.67 0.66 0.65 0.64 0.63 0.62 0.61 Η

Summary 24 Known BRAVO constants: Single server finite buffer: 2/3 (for G/G replace 2 by c 2 a + c 2 s ) Single server infinite buffer 2(1 2/π): (for G/G replace 2 by c 2 a + c 2 s ) Memoryless many servers finite buffer: D 0,η [0.6, 2/3] Not yet known: Memoryless many servers infinite buffer. Many servers without memoryless assumptions Systems with reneging or other customer loss mechanisms Other questions: How can BRAVO be harnessed in practice? Why does BRAVO occur?

References 25 Daryl J. Daley, Johan van Leeuwaarden and Y.N., BRAVO for QED Finite Birth-Death Queues, preprint. Daryl Daley, Revisiting queueing output processes: a point process viewpoint, Queueing Systems, 68, pp. 395 405, 2011. Y.N., The variance of departure processes: puzzling behavior and open problems, Queueing Systems, 68, pp. 385 394, 2011. Ahmad Al-Hanbali, Michel Mandjes, Y.N. and Ward Whitt, The asymptotic variance of departures in critically loaded queues, Advances in Applied Probability, 43, pp. 243 263, 2011. Y.N. and Gideon Weiss, The asymptotic variance rate of the output process of finite capacity birth-death queues, Queueing Systems, 59, pp. 135 156, 2008.