Calculation of Steady-State Probabilities of M/M Queues: Further Approaches. Queuing Theory and Applications (MA597)

Similar documents
λ λ λ In-class problems

QUEUING MODELS AND MARKOV PROCESSES

Chapter 3: Markov Processes First hitting times

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Waiting Time Analysis of A Single Server Queue in an Out- Patient Clinic

Readings: Finish Section 5.2

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 "

Queuing Theory. Using the Math. Management Science

Session-Based Queueing Systems

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

Queuing Theory. The present section focuses on the standard vocabulary of Waiting Line Models.

I, A BRIEF REVIEW ON INFINITE QUEUE MODEL M.

Random Walk on a Graph

Chapter 8 Queuing Theory Roanna Gee. W = average number of time a customer spends in the system.

S. R. Tate. Stable Computation of the Complex Roots of Unity, IEEE Transactions on Signal Processing, Vol. 43, No. 7, 1995, pp

Performance Evaluation of Queuing Systems

Queuing Analysis. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

The shortest queue problem

Computer Systems Modelling

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.

Sandwich shop : a queuing net work with finite disposable resources queue and infinite resources queue

M/M/3/3 AND M/M/4/4 RETRIAL QUEUES. Tuan Phung-Duc, Hiroyuki Masuyama, Shoji Kasahara and Yutaka Takahashi

1.225 Transportation Flow Systems Quiz (December 17, 2001; Duration: 3 hours)

Review of Queuing Models

CS418 Operating Systems

Answers to selected exercises

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

YORK UNIVERSITY FACULTY OF ARTS DEPARTMENT OF MATHEMATICS AND STATISTICS MATH , YEAR APPLIED OPTIMIZATION (TEST #4 ) (SOLUTIONS)

Non Markovian Queues (contd.)

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers

COMP9334: Capacity Planning of Computer Systems and Networks

Queueing Theory (Part 4)

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

Introduction to queuing theory

Name of the Student:

Time Reversibility and Burke s Theorem

Chapter 11. Output Analysis for a Single Model Prof. Dr. Mesut Güneş Ch. 11 Output Analysis for a Single Model

λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These

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

Introduction to Queueing Theory with Applications to Air Transportation Systems

On the static assignment to parallel servers

Operations Research II, IEOR161 University of California, Berkeley Spring 2007 Final Exam. Name: Student ID:

EE 368. Weeks 3 (Notes)

Lecture 20: Reversible Processes and Queues

Introduction to Queuing Networks Solutions to Problem Sheet 3

EQUILIBRIUM STRATEGIES IN AN M/M/1 QUEUE WITH SETUP TIMES AND A SINGLE VACATION POLICY

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

PBW 654 Applied Statistics - I Urban Operations Research

M/M/1 Retrial Queueing System with N-Policy. Multiple Vacation under Non-Pre-Emtive Priority. Service by Matrix Geometric Method

Non-Persistent Retrial Queueing System with Two Types of Heterogeneous Service

Queueing Theory and Simulation. Introduction

STEADY-STATE PROBABILITIES FOR SOME QUEUEING SYSTEMS: Part II

Advanced Computer Networks Lecture 3. Models of Queuing

MONTE CARLO SIMULATION STUDY ON M/M/1 AND M/M/2 QUEUEING MODELS IN A MULTI SPECIALITY HOSPITAL

Stochastic Processes and Advanced Mathematical Finance. Stochastic Processes

Probability and Statistics Concepts

A Simple Solution for the M/D/c Waiting Time Distribution

Exercises Solutions. Automation IEA, LTH. Chapter 2 Manufacturing and process systems. Chapter 5 Discrete manufacturing problems

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

Chapter 3 Balance equations, birth-death processes, continuous Markov Chains

IOE 202: lectures 11 and 12 outline

Inventory Ordering Control for a Retrial Service Facility System Semi- MDP

M/M/1 Retrial Queueing System with Negative. Arrival under Erlang-K Service by Matrix. Geometric Method

Waiting time characteristics in cyclic queues

Introduction to Markov Chains, Queuing Theory, and Network Performance

Synchronized Queues with Deterministic Arrivals

CHAPTER 3 STOCHASTIC MODEL OF A GENERAL FEED BACK QUEUE NETWORK

Flow Equivalence and Stochastic Equivalence in G-Networks

A STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL

On optimization of a Coxian queueing model with two phases

Math 90 Lecture Notes Chapter 1

NATCOR: Stochastic Modelling

Stationary Flows in Acyclic Queuing Networks

Analysis of Two-Heterogeneous Server Queueing System

An M/G/1 Queue with Adaptable Service Speed R. Bekker a ; O. J. Boxma b a

Quiz Queue II. III. ( ) ( ) =1.3333

The Queue Inference Engine and the Psychology of Queueing. ESD.86 Spring 2007 Richard C. Larson

Cover Page. The handle holds various files of this Leiden University dissertation

COMP9334 Capacity Planning for Computer Systems and Networks

Computer Networks More general queuing systems

4.7 Finite Population Source Model

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

CS 798: Homework Assignment 3 (Queueing Theory)

Course Outline Introduction to Transportation Highway Users and their Performance Geometric Design Pavement Design

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Buzen s algorithm. Cyclic network Extension of Jackson networks

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

Continuous Time Processes

1 Basic concepts from probability theory

Mark Scheme (Results) January 2011

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

M/M/1 Queueing System with Delayed Controlled Vacation

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

Multiserver Queueing Model subject to Single Exponential Vacation

Contents LIST OF TABLES... LIST OF FIGURES... xvii. LIST OF LISTINGS... xxi PREFACE. ...xxiii

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

Fuzzy Queues with Priority Discipline

Chapter 2 Queueing Theory and Simulation

Two Issues in Setting Call Centre Staffing Levels

Basic Queueing Theory

Transcription:

Calculation of Steady-State Probabilities of M/M Queues: Further Approaches A assignment report submitted for the course Queuing Theory and Applications (MA597) by Ambati Narendar Reddy Roll No. 06212301 1

0.1 Introduction The M/M family of queues is generally the first to be introduced to students of operational research and queueing theory. The assumptions made in the model are that customers arrive randomly at a service point at a known rate λ per unit time, wait until a server is available and then require a random time with an exponential distribution with mean 1/µ for service. It is possible to calculate the steady state probabilities for the number of customers in the queue system for many variants of this family of queues. Here the problem arose when circumstances were encountered where the obvious approaches to solving the queueing models proved liable to severe rounding error. 0.2 Rounding error In most references to computational accuracy, computer programmers are warned about the risks of rounding errors, and particularly truncation of small numbers to zero. For instance, the first chapter of Knuth [1], a text familiar to many students of computer science, works through an example of how rounding errors quickly lead to inaccurate results in a computational algorithm. Numerous examples can be cited of the need to avoid particular types of calculation, known to cause difficulties. A simple instance is the calculation of the sum and the individual terms of a geometric series, N S N = x n for x < 1. Leaving aside the possibility of finding the sum 0 analytically, the calculation may be organized from left to right or from right to left. The first would calculate the first term, and then subsequent terms 2

by multiplying by x; the second would calculate the last term, and then use division by x to find the others. The second method relies on the accurate calculation and storage of x N, which is liable to rounding errors, depending on the values of x and N. For small values of x and large N, say x = 0.1 and N = 100, x N may be too small to be treated as distinct from zero. This rounding may not be registered by the computer, so that the user will be ignorant of the inaccuracy of calculations. 0.3 Calculating the Steady State Probabilities of Queues This problem can be encountered when attempting to find the steady state probabilities of busy multi-server queues. Given an M/M/C/K queue (that is Poisson process arrivals, exponential service time, C servers and space for K C customers in the system), the steady state probabilities can be readily derived to be: p 0 = 1/Q p 1 = λ µ p 0 p 2 = λ p 1 µ 2... p C = λ p C 1 µ C p C+1 = λ Cµ p C 3

Q = 1 + p K = C r=1 r!µ r + λ Cµ p K 1 K r=c+1 C!µ r C r C where λ is the arrival rate and µ the service rate. In many circumstances, the order of calculations will be to find Q first of all, then to take its reciprocal to obtain p 0, and then make use of the recurrence relationship to find all the steady state probabilities. For an M/M/30/40 queue, which might be appropriate for modelling a telephone call centre, λ = 10µ would give p 0 = 0.00005, rounded up from sixfigure accuracy of 0.000045. Use of the formula leads to the absurd position that the sum of all the steady state probabilities is more than 1, since all the terms in the sum will be scaled by the constant multiplier 0.00005/0.000045 or an increase of 11%. Increasing λ to 15µ gives p 0 = 0.0 to five decimal places, and so all the steady state probabiliies would be treated as zero. Other values of the queue parameters could lead to the rounded value of p0 being almost twice, or about two-thirds, of its correct value. In order to try and avoid these rounding errors, one could adopt the method employed for calculating the sum of the geometric series earlier, and start with the last term, which is the probability that the system is full. The order of calculation would be essentially the reverse of that given earlier. p K = 1/Q p K 1 = Cµ λ p K... 4

Q = 1 + p 0 = µ λ p 1 C r!µ r K + r=1 r=c+1 C!µ r C r C Truncation error may mean that the value of p K is zero, or is rounded to be significantly different from its correct value. For instance, with λ = 20µ, use of Q leads to 1.1% error in the evaluation of the probabilities, and with λ = 15µ, 1/Q is zero when rounded to five decimal places. 0.4 Conclusion The errors may arise when finding steady state probabilities for queues in the M/M/C/K family, and has demonstrated a safer approach to such calculation. The approach is easy to code into a spreadsheet, and can be used with a wide range of elementary queues. 5

Bibliography [1] Knuth DE (1968), The Art of Computer Programming. Volume 1: Fundamental Algorithms. Addison-Wesley, London. [2] Pasternack, BA and Drezner, Z (1998), A Note on Calculating Steady State Results for an M/M/k Queueing System when the Ratio of the Arrival Rate to the Service Rate is Large. Journal of Applied Mathematics and Decision Sciences, 2(2) p201203 [3] Taha HA (1992), Operations Research: an introduction (5th edition). Macmillan, New York [4] Tijms HC (1986), Stochastic Modelling and Analysis: a Computational Approach. Wiley, Chichester, UK. 6