Introduction to Queueing Theory

Slides:



Advertisements
Similar presentations
Lecture 5 This lecture is about: Introduction to Queuing Theory Queuing Theory Notation Bertsekas/Gallager: Section 3.3 Kleinrock (Book I) Basics of Markov.
Advertisements

Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Introduction to Queuing Theory
Exponential Distribution
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
INDR 343 Problem Session
Probability, Statistics, and Traffic Theories
Continuous Time Markov Chains and Basic Queueing Theory
Lecture 13 – Continuous-Time Markov Chains
Queuing Models Basic Concepts
Chap. 20, page 1051 Queuing Theory Arrival process Service process Queue Discipline Method to join queue IE 417, Chap 20, Jan 99.
Queueing Theory (2). Home Work 12-9 and Due Day: October 31 (Monday) 2005.
Queuing Systems Chapter 17.
EMGT 501 Fall 2005 Midterm Exam SOLUTIONS.
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
Queueing Theory Chapter 17.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
QUEUING MODELS Queuing theory is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open at a store –Determine the.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Lecture 14 – Queuing Systems
1 Exponential Distribution & Poisson Process Memorylessness & other exponential distribution properties; Poisson process and compound P.P.’s.
Introduction to Queuing Theory
Introduction to Queueing Theory. Motivation  First developed to analyze statistical behavior of phone switches.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Generalized Semi-Markov Processes (GSMP)
Stochastic Processes A stochastic process is a model that evolves in time or space subject to probabilistic laws. The simplest example is the one-dimensional.
Introduction to Operations Research
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Introduction to Queueing Theory
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
1 Queuing Models Dr. Mahmoud Alrefaei 2 Introduction Each one of us has spent a great deal of time waiting in lines. One example in the Cafeteria. Other.
TexPoint fonts used in EMF.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
Why Wait?!? Bryan Gorney Joe Walker Dave Mertz Josh Staidl Matt Boche.
Generalized Semi- Markov Processes (GSMP). Summary Some Definitions The Poisson Process Properties of the Poisson Process  Interarrival times  Memoryless.
CS433 Modeling and Simulation Lecture 07 – Part 01 Continuous Markov Chains Dr. Anis Koubâa 14 Dec 2008 Al-Imam.
Chapter 2 Probability, Statistics and Traffic Theories
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
 Recall your experience when you take an elevator.  Think about usually how long it takes for the elevator to arrive.  Most likely, the experience.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Managerial Decision Making Chapter 13 Queuing Models.
Introduction to Queueing Theory
Basic Modeling Components
Models of Traffic Flow 1.
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Internet Queuing Delay Introduction
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
CPSC 531: System Modeling and Simulation
Internet Queuing Delay Introduction
Introduction Notation Little’s Law aka Little’s Result
Solutions Queueing Theory 1
System Performance: Queuing
TexPoint fonts used in EMF.
Queueing Theory II.
M/G/1 Cheng-Fu Chou.
Stochastic Processes A stochastic process is a model that evolves in time or space subject to probabilistic laws. The simplest example is the one-dimensional.
Kendall’s Notation ❚ Simple way of summarizing the characteristics of a queue. Arrival characteristics / Departure characteristics / Number of servers.
CS723 - Probability and Stochastic Processes
Lecture 5 This lecture is about: Introduction to Queuing Theory
VIRTUE MARYLEE MUGURACHANI QUEING THEORY BIRTH and DEATH.
Presentation transcript:

Introduction to Queueing Theory

Queueing Systems model processes in which customers arrive. wait their turn for service. are serviced and then leave.

Examples supermarket checkouts stands. world series ticket booths. doctors waiting rooms etc..

A/B/m notation A=interarrival-time pdf B=service-time pdf m=number of servers.

A,B are chosen from the set: M=exponential pdf (M stands for Markov) D= all customers have the same value (D is for deterministic) G=general (i.e. arbitrary pdf)

Analysibility M/M/1 is known. G/G/m is not.

M/M/1 system For M/M/1 the probability of exactly n customers arriving during an interval of length t is given by the Poisson law.

Poisson’s Law n ( l t ) - l t P ( t ) = e (1) n n !

- Rate parameter l l =event per unit interval (time distance volume...)

Analysis Depend on the condition: we should get 100 custs in 10 minutes (max prob).

The M/M/1 queue in equilibrium

State of the system: There are 4 people in the system. 3 in the queue. 1 in the server.

Memory of M/M/1: The amount of time the person in the server has already spent being served is independent of the probability of the remaining service time.

Memoryless . P = equilibrium prob that there are k in system M/M/1 queues are memoryless (a popular item with queueing theorists, and a feature unique to exponential pdfs). . P = equilibrium prob k that there are k in system

Birth-death system In a birth-death system once serviced a customer moves to the next state. This is like a nondeterminis-tic finite-state machine.

State-transition Diagram The following state-transition diagram is called a Markov chain model. Directed branches represent transitions between the states. Exponential pdf parameters appear on the branch label.

Single-server queueing system

Symbles: l P = m = P mean number of transitions/ sec from state 0 to 1 m = P mean number of transitions/ sec from state 1 to 0 1

States State 0 = system empty State 1 = cust. in server State 2 = cust in server, 1 cust in queue etc...

Probalility of Given State Prob. of a given state is invariant if system is in equilibrium. The prob. of k cust’s in system is constant.

Derivation 3 3a 4 4a

by 3a 4 = since 5

then: 6 where = traffic intensity < 1

since all prob. sum to one Note: the sum of a geometric series is 7

å 1 r = 1 - r Suppose that it is right, cross multiply and simplify: ¥ 1 å k r = 1 - r k = Suppose that it is right, cross multiply and simplify: So Q.E.D.

subst 7 into 6a ¥ 6a P å k r = 1 k = 7a and 7b =prob server is empty

subst into 6 yields: 8

Mean value: let N=mean number of cust’s in the system To compute the average (mean) value use: 8a

Subst (8) into (8a) 8 8a we obtain 8b

differentiate (7) wrt k 7 we get 8c

multiply both sides of (8c) by r 8d 9

Result: So the mean service-time is 10 seconds/bird =(1/ service rate) for wait + service

Mean Queueing Time The mean queueing time is the waiting time in the system minus the time being served, 20-10=10 seconds.

M/G/1 Queueing System Tannenbaum says that the mean number of customers in the system for an M/G/1 queueing system is: 11 This is known as the Pollaczek-Khinchine equation.

What is C b of the service time.

Note: M/G/1 means that it is valid for any service-time distribution. For identical service time means, the large standard deviation will give a longer service time.