1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,

Slides:



Advertisements
Similar presentations
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
Advertisements

Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
Flows and Networks Plan for today (lecture 2): Questions? Continuous time Markov chain Birth-death process Example: pure birth process Example: pure death.
Richard J. Boucherie department of Applied Mathematics
TCOM 501: Networking Theory & Fundamentals
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
Continuous Time Markov Chains and Basic Queueing Theory
TCOM 501: Networking Theory & Fundamentals
Mean Delay in M/G/1 Queues with Head-of-Line Priority Service and Embedded Markov Chains Wade Trappe.
1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.
Modeling and Analysis of Manufacturing Systems Session 2 QUEUEING MODELS January 2001.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
Introduction to Queuing Theory. 2 Queuing theory definitions  (Kleinrock) “We study the phenomena of standing, waiting, and serving, and we call this.
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
Introduction to Stochastic Models GSLM 54100
Entropy Rate of a Markov Chain
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  …
Flows and Networks Plan for today (lecture 5): Last time / Questions? Blocking of transitions Kelly / Whittle network Optimal design of a Kelly / Whittle.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Networks of Queues Plan for today (lecture 6): Last time / Questions? Product form preserving blocking Interpretation traffic equations Kelly / Whittle.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Flows and Networks Plan for today (lecture 4): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
Modeling and Analysis of Computer Networks
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Queuing Networks Jean-Yves Le Boudec 1. Contents 1.The Class of Multi-Class Product Form Networks 2.The Elements of a Product-Form Network 3.The Product-Form.
Networks Plan for today (lecture 8): Last time / Questions? Quasi reversibility Network of quasi reversible queues Symmetric queues, insensitivity Partial.
Queuing Networks Jean-Yves Le Boudec 1. Networks of Queues Stability Queuing networks are frequently used models The stability issue may, in general,
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
1 CS SOR: Polling models Vacation models Multi type branching processes Polling systems (cycle times, queue lengths, waiting times, conservation laws,
Markov Chains X(t) is a Markov Process if, for arbitrary times t1 < t2 < < tk < tk+1 If X(t) is discrete-valued If X(t) is continuous-valued i.e.
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
Model under consideration: Loss system Collection of resources to which calls with holding time  (c) and class c arrive at random instances. An arriving.
Cheng-Fu Chou, CMLab, CSIE, NTU Open Queueing Network and MVA Cheng-Fu Chou.
Flows and Networks Plan for today (lecture 2): Questions? Birth-death process Example: pure birth process Example: pure death process Simple queue General.
M/M/1 Queues Customers arrive according to a Poisson process with rate. There is only one server. Service time is exponential with rate  j-1 jj+1...
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Network Design and Analysis-----Wang Wenjie Queueing Theory II: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Chapter 6 Product-Form Queuing Network Models Prof. Ali Movaghar.
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.
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
Flows and Networks Plan for today (lecture 3): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
QUEUING. CONTINUOUS TIME MARKOV CHAINS {X(t), t >= 0} is a continuous time process with > sojourn times S 0, S 1, S 2,... > embedded process X n = X(S.
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
Queueing Theory II.
Networks (3TU) Plan for today (lecture 5): Last time / Questions? Tandem network Jackson network: definition Jackson network: equilibrium distribution.
Lecture 14 – Queuing Networks
Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Flows and Networks Plan for today (lecture 3):
Flows and Networks Plan for today (lecture 4):
CTMCs & N/M/* Queues.
Department of Industrial Engineering
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
Lecture 4: Algorithmic Methods for G/M/1 and M/G/1 type models
Queueing Theory II.
Flows and Networks Plan for today (lecture 6):
Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Flows and Networks Plan for today (lecture 6):
Queueing networks.
Lecture 14 – Queuing Networks
Presentation transcript:

1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity, BCMP networks, mean-value analysis, Norton's theorem, sojourn times Richard J. Boucherie Stochastic Operations Research department of Applied Mathematics University of Twente

2 Networks of Queues: lecture 4 MSc assignment: ambulance planning …

3 Networks of Queues: lecture 4 Nelson, sec Last time on NoQ … –Jackson network –Kelly-Whittle network –Partial balance –Time reversed process –Product form Quasi reversibility Network of quasi reversible queues Queue disciplines, Symmetric queues, BCMP networks Summary / Exercises

4 Last time on NoQ: Jackson network : Definition M/M/1 queues, exponential service queue j, j=1,…,J state move depart arrive Transition rates

5 Last time on NoQ :closed network : equilibrium distribution Theorem: The equilibrium distribution for the closed Jackson network containing N jobs is and satisfies partial balance traffic equations

6 Last time on NoQ : Open network : equilibrium distribution Theorem: The equilibrium distribution for the open Jackson network is and satisfies partial balance

7 Last time on NoQ : Partial balance Detailed balance: Prob flow between each two states matches Partial balance: prob flow out of state n due to departure from queue j is balanced by prob flow into state n due to arrival to queue j, for each queue j, j=0,…,J Global balance: total prob flow out of state n equals total prob flow into state n Probability flow in/out queue in relation to network

8 Last time on NoQ :Kelly Whittle network Theorem: The equilibrium distribution for the Kelly Whittle network is where and π satisfies partial balance

9 Insert equilibrium distribution and rates in partial balance This is the beauty of partial balance! Last time on NoQ

10 Last time on NoQ : Time reversed process Theorem: If X(t) is a stationary Markov process with transition rates q(j,k), and equilibrium distribution π(j), jεS, then the reversed process X(τ-t) is a stationary Markov process with transition rates and the same equilibrium distribution. Theorem: Kelly’s lemma Let X(t) be a stationary Markov process with transition rates q(j,k). If we can find a collection of numbers q’(j,k) such that q’(j)=q(j), jεS, and a collection of positive numbers π (j), jεS, summing to unity, such that then q’(j,k) are the transition rates of the time-reversed process, and π (j), jεS, is the equilibrium distribution of both processes.

11 Alternative proof: use Kelly’s lemma Forward rates Guess backward rates Check conditions Last time on NoQ : Time reversed process

12 Alternative proof: use Kelly’s lemma Guess for equilibrium distribution insert Last time on NoQ : Time reversed process

13 Networks of Queues: lecture 4 Nelson, sec Last time on NoQ … Quasi reversibility Network of quasi reversible queues Queue disciplines, Symmetric queues, BCMP networks Summary / Exercises

Quasi-reversibility Multi class queueing network, class c ε C A queue is quasi-reversible if its state x(t) is a stationary Markov process with the property that the state of the queue at time t 0, x ( t 0 ), is independent of (i) arrival times of class c customers subsequent to time t 0 (ii) departure times of class c customers prior to time t 0. Theorem If a queue is QR then (i) arrival times of class c customers form independent Poisson processes (ii) departure times of class c customers form independent Poisson processes.

Quasi-reversibility S(c,x) set of states queue contains one more class c than in state x Arrival rate class c customer independent of state x Thus arrival rate independent of prior events, and has constant rate  Poisson process

Quasi-reversibility Multi class queueing network, class c ε C S(c,x) set of states in which queue contains one more class c than in state x Arrival rate class c customer independent of state x Departure rate class c customer independent of state x Characterise QR, combine A form of partial balance

17 Networks of Queues: lecture 4 Nelson, sec Last time on NoQ … Quasi reversibility Network of quasi reversible queues Queue disciplines, Symmetric queues, BCMP networks Summary / Exercises

18 Network of quasi reversible queues Multiclass queueing network, type i =1,.., I J queues Customer type identifies route Poisson arrival rate per type i =1,…, I Route r ( i,1), r ( i,2),…, r ( i, S ( i )) Type i at stage s in queue r ( i, s ) S(c,x) set of states in which queue contains one more class c than in state x State X ( t )=( x 1 ( t ),…, x J ( t )) Fixed number of visits; cannot use Markov routing 1, 2, or 3 visits to queue: use 3 types

19 Network of quasi reversible queues Construct network by multiplying rates for individual queues Transition rates Arrival of type i causes queue k = r ( i,1) to change at Departure type i from queue j = r ( i,S(i) ) Routing Internal

Network of Quasi-reversible queues Rates Theorem : For an open network of QR queues (i) the states of individual queues are independent at fixed time (ii) an arriving customer sees the equilibrium distribution (ii’) the equibrium distribution for a queue is as it would be in isolation with arrivals forming a Poisson process. (iii) time-reversal: another open network of QR queues (iv) system is QR, so departures form Poisson process

Network of Quasi-reversible queues Proof of part (i): Kelly’s lemma Rates Transition rates reversed process (guess)

Network of Quasi-reversible queues Proof of part (i): Kelly’s lemma For We have Satisfied due to

23 Networks of Queues: lecture 4 Nelson, sec Last time on NoQ … Quasi reversibility Network of quasi reversible queues Queue disciplines, Symmetric queues, BCMP networks Summary / Exercises

Queue disciplines Operation of the queue j: (i) Each job requires exponential(1) amount of service. (ii) Total service effort supplied at rate φ j (n j ) (iii) Proportion γ j (k,n j ) of this effort directed to job in position k, k=1,…, n j ; when this job leaves, his service is completed, jobs in positions k+1,…, n j move to positions k,…, n j -1. (iv) When a job arrives at queue j he moves into position k with probability δ j (k,n j + 1), k=1,…, n j +1; jobs previously in positions k,…, n j move to positions k+1,…, n j +1.

Operation of the queue j: (i) Each job requires exponential(1) amount of service. (ii) Total service effort supplied at rate φ j (n j ) (iii) Proportion γ j (k,n j ) of this effort directed to job in position k, (iv) job arriving at queue j moves into position k with prob. δ j (k,n j + 1) Examples: FCFS LCFS PS infinite server queue BCMP network Queue disciplines

Symmetric queues Operation of the queue j: (i) Each job requires exponential(1) amount of service. (ii) Total service effort supplied at rate φ j (n j ) (iii) Proportion γ j (k,n j ) of this effort directed to job in position k, (iv) job arriving at queue j moves into position k with prob. δ j (k,n j + 1) Examples: IS, LCFS, PS Symmetric queue QR (for general service requirement) Instantaneous attention Note: FCFS with identical service rate for all types is QR

27 Networks of Queues: lecture 4 Nelson, sec Last time on NoQ … Quasi reversibility Queue disciplines, Symmetric queues, BCMP networks Network of quasi reversible queues Summary / Exercises

Quasi-reversibility and partial balance QR: fairly general queues, service disciplines, Markov routing, product form equilibrium distribution factorizes over queues. PB: fairly general relation between service rate at queues, state-dependent routing (blocking), product form equilibrium distribution factorizes over service and routing parts. Identical for single type queueing network with Markov routing Note: in Nelson proof for Markov routing QR  partial balance NOT partial balance  QR (exercise) NOT QR  Reversibility (see Nelson, ex 10.14) NOT Reversibility  QR (see Nelson, ex 10.12)

29 Summary / next / exercises: Jackson network Kelly Whittle network Partial balance Quasi reversibility Customer types Queue disciplines BCMP networks Next: –Insensitivity –Aggregation / decomposition / Norton’s theorem Exercises: 20,22,24,25,26,27,29,30