Non Markovian Queues (contd.)

Similar documents
Link Models for Circuit Switching

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

Little s result. T = average sojourn time (time spent) in the system N = average number of customers in the system. Little s result says that

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

Introduction to queuing theory

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 "

Performance Evaluation of Queuing Systems

Classical Queueing Models.

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

Data analysis and stochastic modeling

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

Introduction to Markov Chains, Queuing Theory, and Network Performance

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

Elementary queueing system

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

Figure 10.1: Recording when the event E occurs

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

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

J. MEDHI STOCHASTIC MODELS IN QUEUEING THEORY

Slides 9: Queuing Models

QUEUING SYSTEM. Yetunde Folajimi, PhD

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

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

Systems Simulation Chapter 6: Queuing Models

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.

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

PBW 654 Applied Statistics - I Urban Operations Research

Introduction to Queueing Theory with Applications to Air Transportation Systems

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

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

Part II: continuous time Markov chain (CTMC)

Name of the Student:

CS 798: Homework Assignment 3 (Queueing Theory)

Lecture 20: Reversible Processes and Queues

Introduction to Queueing Theory

Queues and Queueing Networks

Introduction to Queueing Theory

Time Reversibility and Burke s Theorem

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

INDEX. production, see Applications, manufacturing

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

Introduction to queuing theory

Chapter 5: Special Types of Queuing Models

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

HITTING TIME IN AN ERLANG LOSS SYSTEM

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

Part I Stochastic variables and Markov chains

Queueing. Chapter Continuous Time Markov Chains 2 CHAPTER 5. QUEUEING

Classification of Queuing Models

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

IEOR 6711, HMWK 5, Professor Sigman

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

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

Statistics 150: Spring 2007

Introduction to Queueing Theory

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.

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 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

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

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

Probability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models

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

Chapter 10. Queuing Systems. D (Queuing Theory) Queuing theory is the branch of operations research concerned with waiting lines.

QUEUING MODELS AND MARKOV PROCESSES

Queueing Theory and Simulation. Introduction

P (L d k = n). P (L(t) = n),

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

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

Engineering Mathematics : Probability & Queueing Theory SUBJECT CODE : MA 2262 X find the minimum value of c.

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

1 IEOR 4701: Continuous-Time Markov Chains

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

One billion+ terminals in voice network alone

57:022 Principles of Design II Final Exam Solutions - Spring 1997

An M/M/1/N Queuing system with Encouraged Arrivals

The effect of probabilities of departure with time in a bank

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

Queuing Theory. Queuing Theory. Fatih Cavdur April 27, 2015

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

Derivation of Formulas by Queueing Theory

4.7 Finite Population Source Model

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia). wkc/course/part2.pdf

ISyE 6650 Test 2 Solutions

NEW FRONTIERS IN APPLIED PROBABILITY

Queueing Theory (Part 4)

Monotonicity Properties for Multiserver Queues with Reneging and Finite Waiting Lines

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MH4702/MAS446/MTH437 Probabilistic Methods in OR

Computer Networks More general queuing systems

Chapter 2 Queueing Theory and Simulation

6 Solving Queueing Models

M/G/1 and Priority Queueing

Stochastic Simulation Discrete simulation/event-by-event

Waiting Line Models: Queuing Theory Basics. Metodos Cuantitativos M. En C. Eduardo Bustos Farias 1

A Queueing System with Queue Length Dependent Service Times, with Applications to Cell Discarding in ATM Networks

IS 709/809: Computational Methods in IS Research Fall Exam Review

CS418 Operating Systems

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

Simple queueing models

Multiaccess Problem. How to let distributed users (efficiently) share a single broadcast channel? How to form a queue for distributed users?

Transcription:

MODULE 7: RENEWAL PROCESSES 29 Lecture 5 Non Markovian Queues (contd) For the case where the service time is constant, V ar(b) = 0, then the P-K formula for M/D/ queue reduces to L s = ρ + ρ 2 2( ρ) where ρ = / and / is the constant service time Alternatively, the steady state probabilities can be obtained in the following way When the embedded DTMC is irreducible and ergodic, the limiting probability v j = lim n P (n) ij, j = 0,, 2, are given as unique solutions of j+ v j = a j v 0 + a j i+ v i, j = 0,, 2, () i= Suppose the mean sojourn time in state j, j (finite) and {X n, n = 0,, } is irreducible and ergodic, then P j = k j v j, j = 0,, 2, k v k where v j are obtained by solving () Here also, as a special case, when the service time follows exponential distribution with mean can be discussed Assume that < The one step transition probability matrix P becomes 0 0 P = + + 0 0 + +

MODULE 7: RENEWAL PROCESSES 30 Then the solution of V = V P is ( ) ( ) j + v j = v 0, j =, 2, Hence, for the M/M/ queueing system, the limiting probabilities are given by π j = = ( + + k= ( ) ( ) j ( ( ) ( ) ) ( + ) ( ) k, j = 0,, ) j, j = 0,, The expected number of customers in the system is given by the Pollazek-Khintchine formula The formula states that mean queueing delay is given by: T q = ρ( + 2 σ 2 B ) 2( ρ) Hence, the average time spent in the system is: T s = T q + = + 2 σ 2 B 2( ) + By Little s formula, we know: L s = T s Hence, L s = ρ + ρ2 + 2 σ 2 B 2( ρ) where / is the mean and σ 2 B ρ = is the variance of the service time distribution and When service time is exponentially distributed with mean, then L s = ρ + 2ρ2 2( ρ) = ρ ρ

MODULE 7: RENEWAL PROCESSES 3 In this derivation, we assume FCFS scheduling to simplify the analysis However, the above formulae are valid for any scheduling discipline in which the server is busy if the queue is non-empty, no customer departs the queue before completing service, and the order of service is not dependent on the knowledge about service times Hence, using Little s formula, the average time spent in the system is given by T s = L s EXAMPLE People are entering cricket stadium at New Delhi to watch a cricket match There is only one ticket line to purchase tickets Each ticket purchase takes an average of 20 seconds The average arrival rate is 2 persons per minute Find the average length of queue and average waiting time in queue assuming M/G// queueing with service time follows uniform distribution between 5 and 25 seconds Departure rate: = 20 seconds/person or 3 persons/minute Arrival rate: = 2 persons/minute ρ = 2/3 Given B U(5, 25), E(B) = /3 minute M/G/c/c System The M/G/c/c queueing system, also known as the Erlang loss system since its development can be traced primarily to the Danish mathematician, Agner Krarup Erlang (878929) Customers arrive according to a Poisson process with rate Service from one of c parallel servers The service times are assumed to be independent and identically distributed with a finite mean / Because there is no waiting space in the system, arriving customers who find all c servers busy are lost For example, the lost customers might represent vehicles arriving at a parking garage to find no vacant parking spaces Steady-state Distribution The offered load per server, often termed the traffic intensity, is given by ρ = c = a c Let N(t) be the number of occupied servers at time t stochastic process with state space S = {0,, 2,, c} Define Let {N(t), t 0} be a π j = lim t P (N(t) = j), j = 0,, 2,

MODULE 7: RENEWAL PROCESSES 32 The steady-state distribution is given by π j = aj /j! i=0 ai /i!, j = 0,, 2,, c This distribution is truncated Poisson distribution with parameter a Erlang B Formula Because Poisson arrivals see time averages (PASTA), the long-run proportion of arriving customers who see c servers busy is precisely, denotes by Erlang B formula B(c, a), is given by B(c, a) = ac /c! i=0 ai /i! When a and c are large, it can be difficult to compute due to the presence of factorials and potentially very large powers Use the following recursive formula B(k, a) = ab(k, a) k + ab(k, a), k =, 2,, c where B(0, a) = The Erlang B formula is a fundamental result for telephone traffic engineering problems and can be used to select the appropriate number of trunks (servers) needed to ensure a small proportion of lost calls (customers) For a fixed, the blocking probability B(c, a) monotonically decreases to zero as c increases, and for c fixed, B(c, a) monotonically increases to unity as a increases When the service times are iid exponential random variables with mean /, the system is an M/M/c/c loss system In this case, B(c, a) = (/)c /c! i=0 (/)i /i! Erlang C Formula Related to the Erlang B formula is the Erlang C formula (or Erlang delay formula) for the M/M/c system (or Erlang delay system), which includes an infinite-capacity queue to accommodate arriving customers who find all c servers busy For this model, P c is interpreted as the long-run proportion of customers who experience a

MODULE 7: RENEWAL PROCESSES 33 delay before their service begins The model assumes that the customers are willing to wait as long as needed to receive service The Erlang C formula is given by C(c, a) = a c c!( ρ) a i i=0 + ac i! c!( ρ) Note that above result does not hold for arbitrary service time distributions, and it requires that the traffic intensity ρ does not exceed unity