Simple Queueing Models

Size: px
Start display at page:

Download "Simple Queueing Models"

Transcription

1 CHAPTER 3 Simple Queueing Models We will start with the so-called M/M/ system, where arrivals occur to a single server equipped with an infinite buffer for jobs to wait in. Arriving jobs are served in a FCFS manner, with processing times being exponentially distributed. We start by examining the arrival process in more detail. Using a different viewpoint, we will arrive at the exponential assumption on interarrival times.. The Poisson Process Here we examine the process A(t), which gives the number of arrivals to a system at time t. The Poisson process is a purely random stochastic process, in that we start from the assumptions that () arrivals are independent of one another (2) any one interval of time is no more or less likely to have a particular number of arrivals than one another We develop a model for the Poisson process by dividing the time axis into small amounts, of length t. The probability of an arrival is proportional to the length of the segment, with proportionality constant λ, where λ has the natural interpretation of being the arrival rate. We assume that t is small enough so that P (exactly arrival in (t, t + t]) λ t P (no arrivals in (t, t + t]) λ t P (more than arrival in (t, t + t]) 0 where these approximations become exact as t goes to zero. If we let t 0, the resulting process is a Poisson process. Before we move on to the analysis, this model has the following useful features. If we take a Poisson process and split it by taking each arrival and with some probability p i having it join a new arrival stream i, where i =,..., N and N i= p i =, then we see that for the ith arrival stream, P (exactly arrival in (t, t + t]) p i λ t and thus the i th arrival stream is itself a Poisson process. Similarly, if we combine together a number of independent Poisson arrival streams, we get a Poisson process, as if we take N such arrival streams, 23

2 24 3. SIMPLE QUEUEING MODELS with rates λ,..., λ N, then for the combined stream, P (exactly arrival in (t, t + t]) (λ + λ N ) t. The original application of the Poisson process was to model the arrival of telephone calls to a telephone exchange. The reasoning that such a model was valid was that it was felt that a Poisson process was a good model for the use of each phone, and then the aggregate is also a Poisson process (for reasons given above). Note that if for example, it were true that once an individual call was made, it becomes more likely that subsequent calls are initiated in a short period of time, then a Poisson process would not be appropriate. We will discuss more on modelling issues later, but the Poisson process is quite often applicable and it has the benefit of being analytically tractable. To analyze the behaviour, we need the following definitions: p n (t) = P (A(t) = n) p i,j ( t) = P (A(t + t) = j A(t) = i) With these definitions, we can write Rearranging: p n (t + t) = p n (t)p n,n ( t) + p n (t)p n,n ( t), n p 0 (t + t) = p 0 (t)( λ t) p n (t + t) p n (t) t p 0 (t + t) p 0 (t) t If we let t 0, = λp n (t) + λp n (t), n = λp 0 (t) d dt p n(t) = λp n (t) + λp n (t), n d dt p 0(t) = λp 0 (t) Can we solve these? Certainly for p 0 (t), where using the initial condition p 0 (0) =, we get p 0 (t) = e λt. So, d dt p (t) = λp (t) + λe λt and p (0) = 0 combine to give Continuing, p (t) = λte λt. d dt p 2(t) = λp 2 (t) + λ 2 te λt

3 and p 2 (0) = 0 combine to give 2. THE M/M/ QUEUE 25 p 2 (t) = λ2 t 2 2 e λt. Once we see p 3 (t) = λ3 t 3 6 e λt, we can guess that (5) p n (t) = (λt)n e λt n! and indeed, a quick proof by induction shows that this is true. Example. A telephone exchange receives 00 calls per minute on average, according to a Poisson process. What is the probability that exactly one call is received in an interval of five seconds? The question simply asks for p (/2), where time is measured in minutes. So, ( ) 00 p (/2) = e 00/2 = As (5) is a Poisson distribution with parameter λt, we can use our knowledge of the Poisson distribution to get E[A(t)] = λt V ar(a(t)) = λt The mean in particular should be no surprise, given that λ is the arrival rate. An interarrival time, X, can be described by noting that P (X > t) = p 0 (t) P (X t) = p 0 (t) = e λt which means that X is exponentially distributed, with rate λ. Remember, this has the memoryless property, which also should be no surprise given the independence assumptions that were originally made. 2. The M/M/ queue We need to add to the Poisson process the processing times. As stated earlier, we assume that these are exponentially distributed with rate. In the original work in this area, it was found to be a good model for the length of telephone conversations. It is often used elsewhere, either because it is a decent model or because it can make problems more tractable. We will see later that it is not good for things like file transfers.

4 26 3. SIMPLE QUEUEING MODELS If we try to do a similar derivation as we did for the Poisson process, defining p n (t) = P (n jobs in the system at time t), we see P (exactly arrival in (t, t + t]) λ t P (no arrivals in (t, t + t]) λ t P (exactly departure in (t, t + t], given server busy at time t) t P (no departures in (t, t + t], given server busy at time t) t From these, we can derive d dt p n(t) = (λ + )p n (t) + λp n (t) + p n+ (t), n d dt p 0(t) = λp 0 (t) + p (t). Unfortunately, these equations are difficult to solve, as they are highly coupled. For the Poisson process we had a starting point, here we do not. The solution involves Bessel functions, so while we get a solution, it needs to be evaluated numerically. Instead, we will look for something that can provide a little more insight. We will evaluate lim t p n (t). We already have the tools to do this. The number in the system is an appropriate state to develop a CTMC, whose state transition diagram is given in Figure 3.. The difference between this and the reliability models Figure 3.. M/M/ transition rate diagram is that the state space is infinite. However, we can still use (4) and (3) to derive p 0 ( ( ) ) λ n n=0

5 3. LITTLE S LAW 27 We now use the fact that n=0 ρn = /( ρ), 0 ρ <. If we let ρ = λ/, we then have ρ n p 0 ρ and ( ρ)ρ n. We need ρ < for a solution to exist, but this makes perfect sense, as this simply requires that the arrival rate, λ, is less than the processing rate,. If that were not the case, you would expect the system to not work at all, in that you would see the number of jobs waiting grow with time. Note that the probability that the server is busy is ρ. For this reason, ρ is known as the utilization or load. To get a feel for the numbers, let s look at M/M/ systems with ρ = 0., 0.5 or 0.9. We then have, if N is the random variable representing the steady-state number of jobs in the system: ρ = 0. ρ = 0.5 ρ = 0.9 P (0 N 3) P (4 N 7) P (8 N ) P (N 2) The main observation is that in terms of the number in system, things look highly nonlinear in terms of the utilization of the server. Looking at the steady state distribution itself may be too fine grained to be informative. One performance measure that can be derived from the steady state distribution is the mean number in system, L. L = np n ρ = ρ It is fairly plain to see that L is highly nonlinear in ρ. We can also derive that the variance of the number in system is ρ/( ρ) 2, which is even more nonlinear. n=0 3. Little s Law We just finished deriving the mean number in system, but quite often we are interested in performance measures that involve time, such as the mean response time (the mean time from arrival to departure), or the mean waiting time (time from arrival until processing begins). As the steady state distribution does not involve times, we need to use Little s Law, to relate L and the mean response time, W. Here is a sketch of the derivation of Little s Law. We look at the arrival and departure processes of a generic system (it does not need to be M/M/, Little s Law holds in great generality). For

6 28 3. SIMPLE QUEUEING MODELS example, consider the case of Figure 3.2. Here, A(t) is the number of arrivals Figure 3.2. Derivation of Little s Law in (0, t], D(t) is the number of departures in (0, t] and N(t) is the number of jobs in the system at time t, N(t) = A(t) D(t) (assuming that the system is empty at time 0). From these observations we can derive the average arrival rate at time t to be λ t = A(t), t the average time spent in the system for jobs that arrived in (0, t] to be W t = S(t) A(t), and the average number of jobs in the system over (0, t] to be Combining these gives L t = S(t). t L t = S(t) t = W t A(t) t = λ t Wt. Now, we would expect, as t, L t L, λ t λ and W t W, which means L = λw which is known as Little s Law. As an application, we can use Little s Law to calculate the mean waiting time for the M/M/ queue: W = ρ λ ρ = / ρ. We end our study of the M/M/ queue by calculating a few other performance measures of interest. These are L q, the mean queue length and

7 the mean time in queue, W q. 4. M/M//N - FINITE BUFFER SYSTEM 29 L q = = (n )p n n= np n n= n= = L ( p 0 ) = L ρ ρ 2 = ρ Little s Law also holds for L q, W q, so W q = L q λ = ρ/ ρ p n 4. M/M//N - finite buffer system Here, an arriving job finding N jobs already in the system is lost or blocked. Lost jobs do not return at a later time. Here, the birth and death rates are λ n = λ, n = 0,, 2,..., N n =, n =, 2, 3,..., N The state transition diagram is given in Figure 3.3. We have Figure 3.3. State transition diagram for M/M//N p 0, 0 n N ( n λ ) N n=0

8 30 3. SIMPLE QUEUEING MODELS or λ/ (λ/) N+ λ/ (λ/) N+, 0 n N The blocking probability is the probability that the system is full (p N ), so the mean number of jobs lost per unit time is λp N. Some example values are given below, where we fix the buffer size at N = 5. λ/ p N Note, that for the λ/ =.00 entry, L Hopital s rule is required to calculate p N. Next, we fix λ/ = 0.9 and vary the buffer size. N p N M/M/ - pure delay queue In this system, every job is immediately signed a processor on arrival. Another way to think of this is that it is self-service : each jobs is its own server. The state transition diagram is given in Figure 3.4. Solving for the Figure 3.4. State transition diagram for M/M/

9 6. M/M/c - MULTIPLE SERVER SYSTEM 3 steady-state distribution: ( n ) λ p 0 i i= = p 0 n! + ( i= λ i! = e λ/ where the last equality follows from the fact that So, i=0 n! x i i! = ex. ) i e λ/ Note that this is a Poisson distribution with mean L = λ/. Now, by Little s Law, W = / (this can also be derived as the waiting time is simply a processing time). Trivially, L q = W q = M/M/c - multiple server system Here we have a system with multiple identical processors, sharing a single queue. The state transition diagram is given in Figure 3.5. Solving for the Figure 3.5. State transition diagram for M/M/c steady-state distribution yields n! p 0, n c c!c n c p 0, n c

10 32 3. SIMPLE QUEUEING MODELS which yields [ + c n= n! + c! where ρ = λ c. Using L q = n=c (n c)p n we can derive Using Little s Law, [ L q = [ W q = λ/) c λ (c )!(c λ) 2 λ/) c (c )!(c λ) 2 ( ) λ c ( ) ], ρ ] p 0. ] p 0. We then have W = [ + λ/) c ] (c )!(c λ) 2 p 0, and we can again apply Little s Law to get L = λw. One more performance measure of interest for this model is the probability that an arriving job has to wait before going into service (this is also known as the Erlang C formula. The probability of queueing is ( ) c ( ) λ c! ρ n=c + ( ) n ( ) c ( ). c n= λ n! + λ c! ρ 7. M/M/c/c - loss system Here, if a job arrives to find all c servers busy, it is lost. transition diagram is given in Figure 3.6. Here we have The state Figure 3.6. State transition diagram for M/M/c/c ( n ) λ p 0 i i= = p 0, n c, n!

11 8. CLIENT/SERVER MODEL 33 which yields + ( ) n. c n= λ n! The probability that a job is lost (also known as Erlang s B formula) is: p c = n! ( λ ) n + c n= n! ( λ ) n. 8. Client/Server Model Here we examine a system that consists of a number of clients that wish to use a single server, as in Figure 3.7. The system works as follows - each Figure 3.7. Client/Server model client thinks for a period of time that is exponentially distributed with rate λ. After this think time, a request is sent to the server. After the request is processed at the server, the client begins another think time. We assume that there are M clients. Here, we look at a CTMC where the state is the number of jobs at the server (one could repeat the derivation by choosing the state to be the number of clients thinking). We are not keeping track of individual client requests, just the aggregate, so it does not matter what the scheduling policy at the server is (the processing rate is always as long as the server is working). The state transition diagram is given in Figure 3.8. Here, Figure 3.8. Client/Server state transition diagram

12 34 3. SIMPLE QUEUEING MODELS Solving for p 0 gives = ( n ) λ(m i + ) p 0 i= ( ) M! p 0. (M n)! M n=0 ( λ ) n M! (M n)!. 9. Impact of variance - the M/G/ queue So far, we have looked at models where all underlying distributions are exponential. Can we relax this? One important result is the Pollaczek- Khinchin formula, for the M/G/ queueing system. I will not provide a derivation here, if you are interested you can find it in the book by Gross and Harris on reserve in Thode. Suppose that the processing times have mean and variance σs. 2 Then, if we let ρ = λ/, L = ρ + ρ2 + λ 2 σ 2 s 2( ρ) We can then use Little s Law to calculate W. What does this result say? All things being equal, increasing the variance of processing times causes lower system performance. One example of this is to compare the M/D/ (constant processing times) queue with the M/M/ queue. For M/M/, we have L = ρ ρ, while for the M/D/, using the Pollaczek-Khinchin formula (with σs 2 = 0), we have ρ 2 L = ρ + 2( ρ). Comparing L values for the two queues: ρ M/M/ M/D/

13 9. IMPACT OF VARIANCE - THE M/G/ QUEUE 35 We can verify that, as ρ, the difference between the two mean queue lengths are different by a factor of 2. The degradation of performance due to variability is magnified as the load on the queues increases.

M/M/1 and M/M/m Queueing Systems

M/M/1 and M/M/m Queueing Systems M/M/ and M/M/m Queueing Systems M. Veeraraghavan; March 20, 2004. Preliminaries. Kendall s notation: G/G/n/k queue G: General - can be any distribution. First letter: Arrival process; M: memoryless - exponential

More information

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS There are four questions, each with several parts. 1. Customers Coming to an Automatic Teller Machine (ATM) (30 points)

More information

4 The M/M/1 queue. 4.1 Time-dependent behaviour

4 The M/M/1 queue. 4.1 Time-dependent behaviour 4 The M/M/1 queue In this chapter we will analyze the model with exponential interarrival times with mean 1/λ, exponential service times with mean 1/µ and a single server. Customers are served in order

More information

Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations

Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations 56 Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations Florin-Cătălin ENACHE

More information

Queueing Systems. Ivo Adan and Jacques Resing

Queueing Systems. Ivo Adan and Jacques Resing Queueing Systems Ivo Adan and Jacques Resing Department of Mathematics and Computing Science Eindhoven University of Technology P.O. Box 513, 5600 MB Eindhoven, The Netherlands March 26, 2015 Contents

More information

QUEUING THEORY. 1. Introduction

QUEUING THEORY. 1. Introduction QUEUING THEORY RYAN BERRY Abstract. This paper defines the building blocks of and derives basic queuing systems. It begins with a review of some probability theory and then defines processes used to analyze

More information

Basic Queuing Relationships

Basic Queuing Relationships Queueing Theory Basic Queuing Relationships Resident items Waiting items Residence time Single server Utilisation System Utilisation Little s formulae are the most important equation in queuing theory

More information

UNIT 2 QUEUING THEORY

UNIT 2 QUEUING THEORY UNIT 2 QUEUING THEORY LESSON 24 Learning Objective: Apply formulae to find solution that will predict the behaviour of the single server model II. Apply formulae to find solution that will predict the

More information

6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory

6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory 6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory Massachusetts Institute of Technology Slide 1 Packet Switched Networks Messages broken into Packets that are routed To their destination PS PS

More information

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process LECTURE 16 Readings: Section 5.1 Lecture outline Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process Number of successes Distribution of interarrival times The

More information

How To Balance In A Distributed System

How To Balance In A Distributed System 6 IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 11, NO. 1, JANUARY 2000 How Useful Is Old Information? Michael Mitzenmacher AbstractÐWe consider the problem of load balancing in dynamic distributed

More information

Tenth Problem Assignment

Tenth Problem Assignment EECS 40 Due on April 6, 007 PROBLEM (8 points) Dave is taking a multiple-choice exam. You may assume that the number of questions is infinite. Simultaneously, but independently, his conscious and subconscious

More information

Simple Markovian Queueing Systems

Simple Markovian Queueing Systems Chapter 4 Simple Markovian Queueing Systems Poisson arrivals and exponential service make queueing models Markovian that are easy to analyze and get usable results. Historically, these are also the models

More information

Network Design Performance Evaluation, and Simulation #6

Network Design Performance Evaluation, and Simulation #6 Network Design Performance Evaluation, and Simulation #6 1 Network Design Problem Goal Given QoS metric, e.g., Average delay Loss probability Characterization of the traffic, e.g., Average interarrival

More information

Homework set 4 - Solutions

Homework set 4 - Solutions Homework set 4 - Solutions Math 495 Renato Feres Problems R for continuous time Markov chains The sequence of random variables of a Markov chain may represent the states of a random system recorded at

More information

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is. Some Continuous Probability Distributions CHAPTER 6: Continuous Uniform Distribution: 6. Definition: The density function of the continuous random variable X on the interval [A, B] is B A A x B f(x; A,

More information

Performance Analysis of a Telephone System with both Patient and Impatient Customers

Performance Analysis of a Telephone System with both Patient and Impatient Customers Performance Analysis of a Telephone System with both Patient and Impatient Customers Yiqiang Quennel Zhao Department of Mathematics and Statistics University of Winnipeg Winnipeg, Manitoba Canada R3B 2E9

More information

Hydrodynamic Limits of Randomized Load Balancing Networks

Hydrodynamic Limits of Randomized Load Balancing Networks Hydrodynamic Limits of Randomized Load Balancing Networks Kavita Ramanan and Mohammadreza Aghajani Brown University Stochastic Networks and Stochastic Geometry a conference in honour of François Baccelli

More information

The Exponential Distribution

The Exponential Distribution 21 The Exponential Distribution From Discrete-Time to Continuous-Time: In Chapter 6 of the text we will be considering Markov processes in continuous time. In a sense, we already have a very good understanding

More information

Modelling the performance of computer mirroring with difference queues

Modelling the performance of computer mirroring with difference queues Modelling the performance of computer mirroring with difference queues Przemyslaw Pochec Faculty of Computer Science University of New Brunswick, Fredericton, Canada E3A 5A3 email pochec@unb.ca ABSTRACT

More information

Queuing Theory II 2006 Samuel L. Baker

Queuing Theory II 2006 Samuel L. Baker QUEUING THEORY II 1 More complex queues: Multiple Server Single Stage Queue Queuing Theory II 2006 Samuel L. Baker Assignment 8 is on page 7. Assignment 8A is on page 10. -- meaning that we have one line

More information

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis Basic Multiplexing models? Supermarket?? Computer Networks - Vassilis Tsaoussidis Schedule Where does statistical multiplexing differ from TDM and FDM Why are buffers necessary - what is their tradeoff,

More information

Models for Distributed, Large Scale Data Cleaning

Models for Distributed, Large Scale Data Cleaning Models for Distributed, Large Scale Data Cleaning Vincent J. Maccio, Fei Chiang, and Douglas G. Down McMaster University Hamilton, Ontario, Canada {macciov,fchiang,downd}@mcmaster.ca Abstract. Poor data

More information

Queuing Theory. Long Term Averages. Assumptions. Interesting Values. Queuing Model

Queuing Theory. Long Term Averages. Assumptions. Interesting Values. Queuing Model Queuing Theory Queuing Theory Queuing theory is the mathematics of waiting lines. It is extremely useful in predicting and evaluating system performance. Queuing theory has been used for operations research.

More information

Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results

Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results Wouter Minnebo, Benny Van Houdt Dept. Mathematics and Computer Science University of Antwerp - iminds Antwerp, Belgium Wouter

More information

Manufacturing Systems Modeling and Analysis

Manufacturing Systems Modeling and Analysis Guy L. Curry Richard M. Feldman Manufacturing Systems Modeling and Analysis 4y Springer 1 Basic Probability Review 1 1.1 Basic Definitions 1 1.2 Random Variables and Distribution Functions 4 1.3 Mean and

More information

uation of a Poisson Process for Emergency Care

uation of a Poisson Process for Emergency Care QUEUEING THEORY WITH APPLICATIONS AND SPECIAL CONSIDERATION TO EMERGENCY CARE JAMES KEESLING. Introduction Much that is essential in modern life would not be possible without queueing theory. All communication

More information

Periodic Capacity Management under a Lead Time Performance Constraint

Periodic Capacity Management under a Lead Time Performance Constraint Periodic Capacity Management under a Lead Time Performance Constraint N.C. Buyukkaramikli 1,2 J.W.M. Bertrand 1 H.P.G. van Ooijen 1 1- TU/e IE&IS 2- EURANDOM INTRODUCTION Using Lead time to attract customers

More information

Basic Queueing Theory

Basic Queueing Theory Basic Queueing Theory Dr. János Sztrik University of Debrecen, Faculty of Informatics Reviewers: Dr. József Bíró Doctor of the Hungarian Academy of Sciences, Full Professor Budapest University of Technology

More information

Process simulation. Enn Õunapuu enn.ounapuu@ttu.ee

Process simulation. Enn Õunapuu enn.ounapuu@ttu.ee Process simulation Enn Õunapuu enn.ounapuu@ttu.ee Content Problem How? Example Simulation Definition Modeling and simulation functionality allows for preexecution what-if modeling and simulation. Postexecution

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information

Probability density function : An arbitrary continuous random variable X is similarly described by its probability density function f x = f X

Probability density function : An arbitrary continuous random variable X is similarly described by its probability density function f x = f X Week 6 notes : Continuous random variables and their probability densities WEEK 6 page 1 uniform, normal, gamma, exponential,chi-squared distributions, normal approx'n to the binomial Uniform [,1] random

More information

Simple Queuing Theory Tools You Can Use in Healthcare

Simple Queuing Theory Tools You Can Use in Healthcare Simple Queuing Theory Tools You Can Use in Healthcare Jeff Johnson Management Engineering Project Director North Colorado Medical Center Abstract Much has been written about queuing theory and its powerful

More information

WHERE DOES THE 10% CONDITION COME FROM?

WHERE DOES THE 10% CONDITION COME FROM? 1 WHERE DOES THE 10% CONDITION COME FROM? The text has mentioned The 10% Condition (at least) twice so far: p. 407 Bernoulli trials must be independent. If that assumption is violated, it is still okay

More information

An Introduction to Queueing Theory

An Introduction to Queueing Theory An Introduction to Queueing Theory Rein Nobel Department of Econometrics, Vrije Universiteit, Amsterdam Open Middag november 20 Overview. Basic results for queueing models in continuous time: (a) delay

More information

1. Repetition probability theory and transforms

1. Repetition probability theory and transforms 1. Repetition probability theory and transforms 1.1. A prisoner is kept in a cell with three doors. Through one of them he can get out of the prison. The other one leads to a tunnel: through this he is

More information

QNAT. A Graphical Queuing Network Analysis Tool for General Open and Closed Queuing Networks. Sanjay K. Bose

QNAT. A Graphical Queuing Network Analysis Tool for General Open and Closed Queuing Networks. Sanjay K. Bose QNAT A Graphical Queuing Network Analysis Tool for General Open and Closed Queuing Networks Sanjay K. Bose QNAT developed at - Dept. Elect. Engg., I.I.T., Kanpur, INDIA by - Sanjay K. Bose skb@ieee.org

More information

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem Time on my hands: Coin tosses. Problem Formulation: Suppose that I have

More information

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

More information

Basic Proof Techniques

Basic Proof Techniques Basic Proof Techniques David Ferry dsf43@truman.edu September 13, 010 1 Four Fundamental Proof Techniques When one wishes to prove the statement P Q there are four fundamental approaches. This document

More information

Analysis of a Production/Inventory System with Multiple Retailers

Analysis of a Production/Inventory System with Multiple Retailers Analysis of a Production/Inventory System with Multiple Retailers Ann M. Noblesse 1, Robert N. Boute 1,2, Marc R. Lambrecht 1, Benny Van Houdt 3 1 Research Center for Operations Management, University

More information

Important Probability Distributions OPRE 6301

Important Probability Distributions OPRE 6301 Important Probability Distributions OPRE 6301 Important Distributions... Certain probability distributions occur with such regularity in real-life applications that they have been given their own names.

More information

Notes on Continuous Random Variables

Notes on Continuous Random Variables Notes on Continuous Random Variables Continuous random variables are random quantities that are measured on a continuous scale. They can usually take on any value over some interval, which distinguishes

More information

Normal distribution. ) 2 /2σ. 2π σ

Normal distribution. ) 2 /2σ. 2π σ Normal distribution The normal distribution is the most widely known and used of all distributions. Because the normal distribution approximates many natural phenomena so well, it has developed into a

More information

Cumulative Diagrams: An Example

Cumulative Diagrams: An Example Cumulative Diagrams: An Example Consider Figure 1 in which the functions (t) and (t) denote, respectively, the demand rate and the service rate (or capacity ) over time at the runway system of an airport

More information

Reorder level = demand during lead time = lead time x demand per unit time ROL = LT x D

Reorder level = demand during lead time = lead time x demand per unit time ROL = LT x D Reorder Level Additional assumption: Lead time is known and constant No need to carrying stock from one cycle to the next So each order should be scheduled to arrive as existing stock runs out Reorder

More information

Robust Staff Level Optimisation in Call Centres

Robust Staff Level Optimisation in Call Centres Robust Staff Level Optimisation in Call Centres Sam Clarke Jesus College University of Oxford A thesis submitted for the degree of M.Sc. Mathematical Modelling and Scientific Computing Trinity 2007 Abstract

More information

SECTION 10-2 Mathematical Induction

SECTION 10-2 Mathematical Induction 73 0 Sequences and Series 6. Approximate e 0. using the first five terms of the series. Compare this approximation with your calculator evaluation of e 0.. 6. Approximate e 0.5 using the first five terms

More information

Single Server Queueing Models

Single Server Queueing Models 1. Motivation Single Server Queueing Models Wallace J. Hopp Department of Industrial Engineering and Management Sciences Northwestern University, Evanston IL 60208 Macrohard is a small startup software

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

CHAPTER 7 SECTION 5: RANDOM VARIABLES AND DISCRETE PROBABILITY DISTRIBUTIONS

CHAPTER 7 SECTION 5: RANDOM VARIABLES AND DISCRETE PROBABILITY DISTRIBUTIONS CHAPTER 7 SECTION 5: RANDOM VARIABLES AND DISCRETE PROBABILITY DISTRIBUTIONS TRUE/FALSE 235. The Poisson probability distribution is a continuous probability distribution. F 236. In a Poisson distribution,

More information

Example: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day.

Example: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day. 16 The Exponential Distribution Example: 1. You have observed that the number of hits to your web site follow a Poisson distribution at a rate of 2 per day. Let T be the time (in days) between hits. 2.

More information

Exponential Approximation of Multi-Skill Call Centers Architecture

Exponential Approximation of Multi-Skill Call Centers Architecture Exponential Approximation of Multi-Skill Call Centers Architecture Ger Koole and Jérôme Talim Vrije Universiteit - Division of Mathematics and Computer Science De Boelelaan 1081 a - 1081 HV Amsterdam -

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

Computational Finance Options

Computational Finance Options 1 Options 1 1 Options Computational Finance Options An option gives the holder of the option the right, but not the obligation to do something. Conversely, if you sell an option, you may be obliged to

More information

The Analysis of Dynamical Queueing Systems (Background)

The Analysis of Dynamical Queueing Systems (Background) The Analysis of Dynamical Queueing Systems (Background) Technological innovations are creating new types of communication systems. During the 20 th century, we saw the evolution of electronic communication

More information

The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback

The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback Hamada Alshaer Université Pierre et Marie Curie - Lip 6 7515 Paris, France Hamada.alshaer@lip6.fr

More information

e.g. arrival of a customer to a service station or breakdown of a component in some system.

e.g. arrival of a customer to a service station or breakdown of a component in some system. Poisson process Events occur at random instants of time at an average rate of λ events per second. e.g. arrival of a customer to a service station or breakdown of a component in some system. Let N(t) be

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES Contents 1. Random variables and measurable functions 2. Cumulative distribution functions 3. Discrete

More information

Service Performance Analysis and Improvement for a Ticket Queue with Balking Customers. Long Gao. joint work with Jihong Ou and Susan Xu

Service Performance Analysis and Improvement for a Ticket Queue with Balking Customers. Long Gao. joint work with Jihong Ou and Susan Xu Service Performance Analysis and Improvement for a Ticket Queue with Balking Customers joint work with Jihong Ou and Susan Xu THE PENNSYLVANIA STATE UNIVERSITY MSOM, Atlanta June 20, 2006 Outine Introduction

More information

1 Review of Newton Polynomials

1 Review of Newton Polynomials cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael

More information

Performance of Cloud Computing Centers with Multiple Priority Classes

Performance of Cloud Computing Centers with Multiple Priority Classes 202 IEEE Fifth International Conference on Cloud Computing Performance of Cloud Computing Centers with Multiple Priority Classes Wendy Ellens, Miroslav Živković, Jacob Akkerboom, Remco Litjens, Hans van

More information

Response Times in an Accident and Emergency Service Unit. Apurva Udeshi aau03@doc.ic.ac.uk

Response Times in an Accident and Emergency Service Unit. Apurva Udeshi aau03@doc.ic.ac.uk IMPERIAL COLLEGE, LONDON Department of Computing Response Times in an Accident and Emergency Service Unit Apurva Udeshi aau03@doc.ic.ac.uk Supervisor: Professor Peter Harrison Second Marker: Dr. William

More information

Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani. EPEW 2014, Florence

Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani. EPEW 2014, Florence Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani EPEW 2014, Florence Scenario How many cloud instances should be hired? Requests Host hiring servers The number of active servers is controlled

More information

MAINTAINED SYSTEMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University ENGINEERING RELIABILITY INTRODUCTION

MAINTAINED SYSTEMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University ENGINEERING RELIABILITY INTRODUCTION MAINTAINED SYSTEMS Harry G. Kwatny Department of Mechanical Engineering & Mechanics Drexel University OUTLINE MAINTE MAINTE MAINTAINED UNITS Maintenance can be employed in two different manners: Preventive

More information

Load Balancing and Switch Scheduling

Load Balancing and Switch Scheduling EE384Y Project Final Report Load Balancing and Switch Scheduling Xiangheng Liu Department of Electrical Engineering Stanford University, Stanford CA 94305 Email: liuxh@systems.stanford.edu Abstract Load

More information

Scheduling Policies, Batch Sizes, and Manufacturing Lead Times

Scheduling Policies, Batch Sizes, and Manufacturing Lead Times To appear in IIE Transactions Scheduling Policies, Batch Sizes, and Manufacturing Lead Times Saifallah Benjaafar and Mehdi Sheikhzadeh Department of Mechanical Engineering University of Minnesota Minneapolis,

More information

LECTURE - 1 INTRODUCTION TO QUEUING SYSTEM

LECTURE - 1 INTRODUCTION TO QUEUING SYSTEM LECTURE - 1 INTRODUCTION TO QUEUING SYSTEM Learning objective To introduce features of queuing system 9.1 Queue or Waiting lines Customers waiting to get service from server are represented by queue and

More information

Q UEUING ANALYSIS. William Stallings

Q UEUING ANALYSIS. William Stallings Q UEUING ANALYSIS William Stallings WHY QUEUING ANALYSIS?...2 QUEUING MODELS...3 The Single-Server Queue...3 Queue Parameters...4 The Multiserver Queue...5 Basic Queuing Relationships...5 Assumptions...5

More information

Time Series and Forecasting

Time Series and Forecasting Chapter 22 Page 1 Time Series and Forecasting A time series is a sequence of observations of a random variable. Hence, it is a stochastic process. Examples include the monthly demand for a product, the

More information

Introduction to Queueing Theory and Stochastic Teletraffic Models

Introduction to Queueing Theory and Stochastic Teletraffic Models Introduction to Queueing Theory and Stochastic Teletraffic Models Moshe Zukerman EE Department, City University of Hong Kong Copyright M. Zukerman c 2000 2015 Preface The aim of this textbook is to provide

More information

3. Time value of money. We will review some tools for discounting cash flows.

3. Time value of money. We will review some tools for discounting cash flows. 1 3. Time value of money We will review some tools for discounting cash flows. Simple interest 2 With simple interest, the amount earned each period is always the same: i = rp o where i = interest earned

More information

On the mathematical theory of splitting and Russian roulette

On the mathematical theory of splitting and Russian roulette On the mathematical theory of splitting and Russian roulette techniques St.Petersburg State University, Russia 1. Introduction Splitting is an universal and potentially very powerful technique for increasing

More information

Deployment of express checkout lines at supermarkets

Deployment of express checkout lines at supermarkets Deployment of express checkout lines at supermarkets Maarten Schimmel Research paper Business Analytics April, 213 Supervisor: René Bekker Faculty of Sciences VU University Amsterdam De Boelelaan 181 181

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Basic Probability Concepts

Basic Probability Concepts page 1 Chapter 1 Basic Probability Concepts 1.1 Sample and Event Spaces 1.1.1 Sample Space A probabilistic (or statistical) experiment has the following characteristics: (a) the set of all possible outcomes

More information

9.2 Summation Notation

9.2 Summation Notation 9. Summation Notation 66 9. Summation Notation In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a

More information

Homework 4 - KEY. Jeff Brenion. June 16, 2004. Note: Many problems can be solved in more than one way; we present only a single solution here.

Homework 4 - KEY. Jeff Brenion. June 16, 2004. Note: Many problems can be solved in more than one way; we present only a single solution here. Homework 4 - KEY Jeff Brenion June 16, 2004 Note: Many problems can be solved in more than one way; we present only a single solution here. 1 Problem 2-1 Since there can be anywhere from 0 to 4 aces, the

More information

TRAFFIC ENGINEERING OF DISTRIBUTED CALL CENTERS: NOT AS STRAIGHT FORWARD AS IT MAY SEEM. M. J. Fischer D. A. Garbin A. Gharakhanian D. M.

TRAFFIC ENGINEERING OF DISTRIBUTED CALL CENTERS: NOT AS STRAIGHT FORWARD AS IT MAY SEEM. M. J. Fischer D. A. Garbin A. Gharakhanian D. M. TRAFFIC ENGINEERING OF DISTRIBUTED CALL CENTERS: NOT AS STRAIGHT FORWARD AS IT MAY SEEM M. J. Fischer D. A. Garbin A. Gharakhanian D. M. Masi January 1999 Mitretek Systems 7525 Colshire Drive McLean, VA

More information

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)! Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following

More information

Fluid Approximation of a Priority Call Center With Time-Varying Arrivals

Fluid Approximation of a Priority Call Center With Time-Varying Arrivals Fluid Approximation of a Priority Call Center With Time-Varying Arrivals Ahmad D. Ridley, Ph.D. William Massey, Ph.D. Michael Fu, Ph.D. In this paper, we model a call center as a preemptive-resume priority

More information

Solution to Homework 2

Solution to Homework 2 Solution to Homework 2 Olena Bormashenko September 23, 2011 Section 1.4: 1(a)(b)(i)(k), 4, 5, 14; Section 1.5: 1(a)(b)(c)(d)(e)(n), 2(a)(c), 13, 16, 17, 18, 27 Section 1.4 1. Compute the following, if

More information

Exponential Distribution

Exponential Distribution Exponential Distribution Definition: Exponential distribution with parameter λ: { λe λx x 0 f(x) = 0 x < 0 The cdf: F(x) = x Mean E(X) = 1/λ. f(x)dx = Moment generating function: φ(t) = E[e tx ] = { 1

More information

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab Monte Carlo Simulation: IEOR E4703 Fall 2004 c 2004 by Martin Haugh Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab 1 Overview of Monte Carlo Simulation 1.1 Why use simulation?

More information

CHAPTER 3 CALL CENTER QUEUING MODEL WITH LOGNORMAL SERVICE TIME DISTRIBUTION

CHAPTER 3 CALL CENTER QUEUING MODEL WITH LOGNORMAL SERVICE TIME DISTRIBUTION 31 CHAPTER 3 CALL CENTER QUEUING MODEL WITH LOGNORMAL SERVICE TIME DISTRIBUTION 3.1 INTRODUCTION In this chapter, construction of queuing model with non-exponential service time distribution, performance

More information

Lecture 5 : The Poisson Distribution

Lecture 5 : The Poisson Distribution Lecture 5 : The Poisson Distribution Jonathan Marchini November 10, 2008 1 Introduction Many experimental situations occur in which we observe the counts of events within a set unit of time, area, volume,

More information

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March

More information

Chapter 13 Waiting Lines and Queuing Theory Models - Dr. Samir Safi

Chapter 13 Waiting Lines and Queuing Theory Models - Dr. Samir Safi Chapter 13 Waiting Lines and Queuing Theory Models - Dr. Samir Safi TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false. 1) A goal of many waiting line problems is to help

More information

ECE302 Spring 2006 HW3 Solutions February 2, 2006 1

ECE302 Spring 2006 HW3 Solutions February 2, 2006 1 ECE302 Spring 2006 HW3 Solutions February 2, 2006 1 Solutions to HW3 Note: Most of these solutions were generated by R. D. Yates and D. J. Goodman, the authors of our textbook. I have added comments in

More information

Duration Gap Analysis

Duration Gap Analysis appendix 1 to chapter 9 Duration Gap Analysis An alternative method for measuring interest-rate risk, called duration gap analysis, examines the sensitivity of the market value of the financial institution

More information

Objectives. Materials

Objectives. Materials Activity 4 Objectives Understand what a slope field represents in terms of Create a slope field for a given differential equation Materials TI-84 Plus / TI-83 Plus Graph paper Introduction One of the ways

More information

Modelling Patient Flow in an Emergency Department

Modelling Patient Flow in an Emergency Department Modelling Patient Flow in an Emergency Department Mark Fackrell Department of Mathematics and Statistics The University of Melbourne Motivation Eastern Health closes more beds Bed closures to cause ambulance

More information

Review of Fundamental Mathematics

Review of Fundamental Mathematics Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools

More information

1. Prove that the empty set is a subset of every set.

1. Prove that the empty set is a subset of every set. 1. Prove that the empty set is a subset of every set. Basic Topology Written by Men-Gen Tsai email: b89902089@ntu.edu.tw Proof: For any element x of the empty set, x is also an element of every set since

More information

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

WRITING PROOFS. Christopher Heil Georgia Institute of Technology WRITING PROOFS Christopher Heil Georgia Institute of Technology A theorem is just a statement of fact A proof of the theorem is a logical explanation of why the theorem is true Many theorems have this

More information

How To Find Out How Much Money You Get From A Car Insurance Claim

How To Find Out How Much Money You Get From A Car Insurance Claim Chapter 11. Poisson processes. Section 11.4. Superposition and decomposition of a Poisson process. Extract from: Arcones Fall 2009 Edition, available at http://www.actexmadriver.com/ 1/18 Superposition

More information

NPV Versus IRR. W.L. Silber -1000 0 0 +300 +600 +900. We know that if the cost of capital is 18 percent we reject the project because the NPV

NPV Versus IRR. W.L. Silber -1000 0 0 +300 +600 +900. We know that if the cost of capital is 18 percent we reject the project because the NPV NPV Versus IRR W.L. Silber I. Our favorite project A has the following cash flows: -1 + +6 +9 1 2 We know that if the cost of capital is 18 percent we reject the project because the net present value is

More information

Price Discrimination and Two Part Tariff

Price Discrimination and Two Part Tariff Sloan School of Management 15.010/15.011 Massachusetts Institute of Technology RECITATION NOTES #6 Price Discrimination and Two Part Tariff Friday - October 29, 2004 OUTLINE OF TODAY S RECITATION 1. Conditions

More information

TO QUEUE OR NOT TO QUEUE: EQUILIBRIUM BEHAVIOR IN QUEUEING SYSTEMS

TO QUEUE OR NOT TO QUEUE: EQUILIBRIUM BEHAVIOR IN QUEUEING SYSTEMS TO QUEUE OR NOT TO QUEUE: EQUILIBRIUM BEHAVIOR IN QUEUEING SYSTEMS REFAEL HASSIN Department of Statistics and Operations Research Tel Aviv University Tel Aviv 69978, Israel hassin@post.tau.ac.il MOSHE

More information

Sample Induction Proofs

Sample Induction Proofs Math 3 Worksheet: Induction Proofs III, Sample Proofs A.J. Hildebrand Sample Induction Proofs Below are model solutions to some of the practice problems on the induction worksheets. The solutions given

More information