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

Slides:



Advertisements
Similar presentations
Modeling and Dimensioning of Mobile Networks: from GSM to LTE
Advertisements

Lecture 6  Calculating P n – how do we raise a matrix to the n th power?  Ergodicity in Markov Chains.  When does a chain have equilibrium probabilities?
Flows and Networks Plan for today (lecture 2): Questions? Continuous time Markov chain Birth-death process Example: pure birth process Example: pure death.
TCOM 501: Networking Theory & Fundamentals
IEG5300 Tutorial 5 Continuous-time Markov Chain Peter Chen Peng Adapted from Qiwen Wang’s Tutorial Materials.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Markov Chains Plan: –Introduce basics of Markov models –Define terminology for Markov.
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
1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
1 Markov Chains H Plan: –Introduce basics of Markov models –Define terminology for Markov chains –Discuss properties of Markov chains –Show examples of.
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.
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.
Generalized Semi-Markov Processes (GSMP)
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Modelling and channel borrowing in mobile communications networks Richard J. Boucherie University of Twente Faculty of Mathematical Sciences University.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Introduction to Queueing Theory
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.
Generalized Semi- Markov Processes (GSMP). Summary Some Definitions The Poisson Process Properties of the Poisson Process  Interarrival times  Memoryless.
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.
Model under consideration: Loss system Collection of resources to which calls with holding time  (c) and class c arrive at random instances. An arriving.
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...
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.
Flows and Networks (158052) Richard Boucherie Stochastische Operations Research -- TW wwwhome.math.utwente.nl/~boucherierj/onderwijs/158052/ html.
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
Burke Theorem, Reversibility, and Jackson Networks of Queues
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):
Industrial Engineering Dep
Department of Industrial Engineering
Flows and Networks Plan for today (lecture 4):
CTMCs & N/M/* Queues.
Al-Imam Mohammad Ibn Saud University
Department of Industrial Engineering
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
Markov Chains Carey Williamson Department of Computer Science
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):
Flows and Networks Plan for today (lecture 6):
Queueing networks.
Lecture 14 – Queuing Networks
Carey Williamson Department of Computer Science University of Calgary
CS723 - Probability and Stochastic Processes
Presentation transcript:

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

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

Reversibility; stationarity Stationary process: A stochastic process is stationary if for all t1,…,tn,τ Theorem: If the initial distribution of a Markov chain is a stationary distribution, then a Markov chain is stationary Reversible process: A stochastic process is reversible if for all t1,…,tn,τ

Reversibility; stationarity Lemma: A reversible process is stationary. Theorem: A stationary Markov chain is reversible if and only if there exists a collection of positive numbers π(j), jεS, summing to unity that satisfy the detailed balance equations When there exists such a collection π(j), jεS, it is the equilibrium distribution. Global balance:

Kolmogorov’s criteria Theorem: A stationary Markov chain is reversible iff for each finite sequence of states. Furthermore, for each sequence for which the denominator is positive.

Theorem: Kelly’s lemma (Proposition 10 Theorem: Kelly’s lemma (Proposition 10.2) 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. Note: X reversible iff q’(j,k)=q(j,k) for all j,k Time reversed process

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

Truncation of reversible processes Theorem: If the transition rates of a reversible Markov process with state space S and equilibrium distribution are altered by changing q(j,k) to cq(j,k) for where c>0, then the resulting Markov process is reversible in equilibrium and has equilibrium distribution where B is the normalizing cst. If c=0 then the reversible Markov process is truncated to A and the resulting Markov process is reversible with equilibrium distribution A S\A

Example: two M/M/1 queues M/M/1 queue is reversible Consider two M/M/1 queues, queue i with Poisson arrival process rate λi, service rate μi Independence: Now introduce a common capacity restriction Queues no longer independent, but 2

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

M/M/1 queue, Poisson(λ) arrivals, exponential(μ) service Output M/M/1 queue M/M/1 queue, Poisson(λ) arrivals, exponential(μ) service M/M/1 queue is reversible due to detailed balance X(t) number of customers in M/M/1 queue: in equilibrium reversible Markov process. Forward process: upward jumps Poisson (λ) Reversed process X(-t): upward jumps Poisson (λ) = downward jump of forward process Downward jump process of X(t) Poisson (λ) process

Output M/M/1 queue (2) Let t0 fixed. Arrival process Poisson, thus arrival process after t0 independent of number in queue at t0. For reversed process X(-t): arrival process after –t0 independent of number in queue at –t0 Reversibility: joint distribution departure process up to t0 and number in queue at t0 for X(t) have same distribution as arrival process to X(-t) up to –t0 and number in queue at –t0. Burkes theorem: In equilibrium the departure process from an M/M/1 queue is a Poisson process, and the number in the queue at time t0 is independent of the departure process prior to t0 Holds for each reversible Markov process with Poisson arrivals as long as an arrival causes the process to change state

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

Tandem network of M/M/1 queues M/M/1 queue, Poisson(λ) arrivals, exponential(μ) service Equilibrium distribution Tandem of J M/M/1 queues, exp(λi) service queue i Xi(t) number in queue i at time t Queue 1 in isolation: M/M/1 queue. Departure process queue 1 Poisson, thus queue 2 in isolation: M/M/1 queue State X1(t0) independent departure process prior to t0, but this determines (X2(t0),…, XJ(t0)), hence X1(t0) independent (X2(t0),…, XJ(t0)). Similar Xj(t0) independent (Xj+1(t0),…, XJ(t0)). Thus X1(t0), X2(t0),…, XJ(t0) mutually independent, and

Example: feed forward network of M/M/1 queues 4 3 2 5

Example: feed forward network of M/M/1 queues 2 4 3 5

Example: feed forward network of M/M/1 queues 2 4 3 5 Houston, we have a problem

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

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

Jackson network : Definition M/M/1 queues, exponential service queue j, j=1,…,J Traffic equations Irreducible, unique solution, interpretation, exercise Jackson network: open Gordon Newell network: closed

Jackson network : Global balance equations Closed network: Open network:

closed network : equilibrium distribution Theorem: The equilibrium distribution for the closed Jackson network containing N jobs is Where (traffic equations) Proof

closed network : equilibrium distribution

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

Open network : equilibrium distribution Theorem: The equilibrium distribution for the open Jackson network is and satisfies partial balance Where (traffic equations) Proof

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

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

Partial balance Theorem: a distribution that satisfies partial balance is the equilibrium distribution

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

Kelly Whittle network State space S Transition rates Where  is non-negative function, and φ positive function notation

Kelly Whittle network Theorem: The equilibrium distribution for the Kelly Whittle network is where and π satisfies partial balance

Insert equilibrium distribution and rates in partial balance This is the beauty of partial balance!

Networks of Queues: lecture 2 Nelson, sec 10.1-10.3.5 Last time on NoQ … Reversibility, stationarity Time reversed process Truncation of reversible processes Output M/M/1 queue Tandem network of M/M/1 queues Jackson network of M/M/1 queues Partial balance Kelly/Whittle network Examples Summary / Exercises

Examples Independent service, Poisson arrivals equilibrium distribution

Examples Simple queue s-server queue Infinite server queue Each station may have different service type

Summary / next / exercises: Output reversible queue Tandem network of queues Jackson network Kelly Whittle network Partial balance All customers identical Quasi reversibility, customer types BCMP networks Insensitivity Exercises: 1,6,9,10,11,13,14,20,21,22,24,25,26