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

Slides:



Advertisements
Similar presentations
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
Advertisements

CS433 Modeling and Simulation Lecture 06 – Part 03 Discrete Markov Chains Dr. Anis Koubâa 12 Apr 2009 Al-Imam Mohammad Ibn Saud University.
Flows and Networks Plan for today (lecture 2): Questions? Continuous time Markov chain Birth-death process Example: pure birth process Example: pure death.
Markov Chains.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
Discrete Time Markov Chains
Richard J. Boucherie department of Applied Mathematics
Markov Chains 1.
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.
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
Андрей Андреевич Марков. Markov Chains Graduate Seminar in Applied Statistics Presented by Matthias Theubert Never look behind you…
Discrete-Time Markov Chains. © Tallal Elshabrawy 2 Introduction Markov Modeling is an extremely important tool in the field of modeling and analysis of.
Workshop on Stochastic Differential Equations and Statistical Inference for Markov Processes Day 1: January 19 th, Day 2: January 28 th Lahore University.
Stochastic Processes Dr. Nur Aini Masruroh. Stochastic process X(t) is the state of the process (measurable characteristic of interest) at time t the.
Solutions to group exercises 1. (a) Truncating the chain is equivalent to setting transition probabilities to any state in {M+1,...} to zero. Renormalizing.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Review.
TCOM 501: Networking Theory & Fundamentals
If time is continuous we cannot write down the simultaneous distribution of X(t) for all t. Rather, we pick n, t 1,...,t n and write down probabilities.
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.
6. Markov Chain. State Space The state space is the set of values a random variable X can take. E.g.: integer 1 to 6 in a dice experiment, or the locations.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
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,
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,
Networks Plan for today (lecture 8): Last time / Questions? Quasi reversibility Network of quasi reversible queues Symmetric queues, insensitivity Partial.
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.
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
Courtesy of J. Akinpelu, Anis Koubâa, Y. Wexler, & D. Geiger
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.
CS433 Modeling and Simulation Lecture 07 – Part 01 Continuous Markov Chains Dr. Anis Koubâa 14 Dec 2008 Al-Imam.
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.
CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes.
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.
CS433 Modeling and Simulation Lecture 11 Continuous Markov Chains Dr. Anis Koubâa 01 May 2009 Al-Imam Mohammad Ibn Saud University.
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.
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.
Markov Chains.
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.
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
Courtesy of J. Akinpelu, Anis Koubâa, Y. Wexler, & D. Geiger
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,
Queueing networks.
Carey Williamson Department of Computer Science University of Calgary
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 Richard J. Boucherie Stochastic Operations Research department of Applied Mathematics University of Twente

2 Networks of Queues Nelson, sec 10.1 Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

3 Continuous time Markov chain stochastic process X=(X(t), t≥0) evolution random variable countable or finite state space S ={0,1,2,…} Markov property Markov chain: Stochastic process satisfying Markov property Transition probability time homogeneous Chapman-Kolmogorov equations

4 Continuous time Markov chain Chapman-Kolmogorov equations transition rates or jump rates Kolmogorov forward equations: (REGULAR)

5 Continuous time Markov chain Assume ergodic and regular global balance equations (equilibrium equations) π is invariant measure (stationary measure) solution that can be normalised is stationary distribution if stationary distribution exists, then it is unique and is limiting distribution

6 Markov jump chain For Markov chain: holding time in state i is exponentially distributed; it is minimum of exponential times for each transition out of state i, say to state j with rate q(i,j) Minimum has exponential distribution with rate q(i) =-q(i,i) Probability that transition to state j occurs upon departure from state i is p(i,j)=q(i,j) / q(i) Markov jump chain : Markov chain with transition rates specified by q(i), and p(i,j) and is equivalent to original chain For Markov jump chain, we may generalise the holding time in the states to non-exponential times: this does not affect the equilibrium probability for being in state i

7 Networks of queues Today (lecture 1): Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

8 Birth-death process State space Markov chain, transition rates Kolmogorov forward equations Global balance equations

9 Networks of queues Today (lecture 1): Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

10 M/M/1 queue Poisson arrival process rate λ, single server, exponential service times, mean 1/μ State space S ={0,1,2,…} Markov chain? Assume initially empty: P ( X (0)=0)=1, Transition rates :

11 M/M/1 queue Kolmogorov forward equations, j>0 Global balance equations, j>0

12 M/M/1 queue λ λ λ j j+1 μ μ Equilibrium distribution: λ<μ Stationary measure; summable  equilibrium distribution Proof: Insert into global balance Detailed balance! Theorem: A distribution that satisfies detailed balance is a stationary distribution

13 Networks of queues Today (lecture 1): Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

14 Birth-death process State space Markov chain, transition rates Definition: Detailed balance equations Theorem: Assume that then is the equilibrium distrubution of the birth-death process X.

15 Networks of queues Today (lecture 1): Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

16 Reversibility; stationarity Stationary process: A stochastic process is stationary if for all t 1,…,t n,τ 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 t 1,…,t n,τ

17 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. Proof

18 Proof suppose process reversible Let rev.: then Conversely: suppose there exists π satisfying detailed balance, summing gives global balance.

19 Proof (ctd.) Consider behaviour of X(t) for -T≤t ≤T starts at –T in j 1, stays random time h 1 before jumping to j 2, stays random time h 2, before jumping to j 3, and so on, until it arrives at j m, where it stays until T Probability density for this path is density with respect to h 1,…h m. Integrate over h 1,…h m such that h 1 +…+h m =2T. Detailed balance implies so that (*) is prob density for path starting –T in j m, stays random time h m before jumping to j m-1, and so on, until it arrives at j 1, stays until T. Thus, also invoking stationarity, (*)

20 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.

21 Networks of queues Today (lecture 1): Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

22 Time reversed process X(t) reversible Markov process  X(-t) also, but time homogeneity not inherited for non-stationary process Lemma: If X(t) is a time-homogeneous Markov process which is non stationary, then the reversed process X(τ-t) is a Markov process which is not even time-homogeneous. Proof. X(t) is a Markov process  X(τ-t) easy non-time-homogeneous: observe does not depend on t (time-hom) do depend on t at least for some t,j,k and so also the transition probabilities of the reversed process

23 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 (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.

24 Networks of queues Today (lecture 1): Continuous time Markov chain Birth-death process Example: M/M/1 queue Birth-death process: equilibrium distribution Reversibility, stationarity Time reversed process

25 Summary / next: Detailed balance or reversibility and their consequences Birth-death process M/M/1 queue Kolmogorov’s criteria Next on AQT….. Section 10.2 –