Buzen s algorithm. Cyclic network Extension of Jackson networks

Similar documents
15 Closed production networks

15 Closed production networks

CHAPTER 4. Networks of queues. 1. Open networks Suppose that we have a network of queues as given in Figure 4.1. Arrivals

Introduction to Markov Chains, Queuing Theory, and Network Performance

Intro Refresher Reversibility Open networks Closed networks Multiclass networks Other networks. Queuing Networks. Florence Perronnin

GI/M/1 and GI/M/m queuing systems

Elementary queueing system

Kendall notation. PASTA theorem Basics of M/M/1 queue

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

Convolution Algorithm

Queueing Networks and Insensitivity

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

NATCOR: Stochastic Modelling

Introduction to queuing theory

Analysis of Software Artifacts

Non Markovian Queues (contd.)

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

TCOM 501: Networking Theory & Fundamentals. Lecture 6 February 19, 2003 Prof. Yannis A. Korilis

Chapter 5: Special Types of Queuing Models

Part II: continuous time Markov chain (CTMC)

Queueing Networks G. Rubino INRIA / IRISA, Rennes, France

A Study on Performance Analysis of Queuing System with Multiple Heterogeneous Servers

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

COMP9334: Capacity Planning of Computer Systems and Networks

Introduction to Queuing Theory. Mathematical Modelling

Performance Evaluation of Queuing Systems

Control of Fork-Join Networks in Heavy-Traffic

Stochastic Models of Manufacturing Systems

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Queues and Queueing Networks

Readings: Finish Section 5.2

Process-Algebraic Modelling of Priority Queueing Networks

THE ON NETWORK FLOW EQUATIONS AND SPLITTG FORMULAS TRODUCTION FOR SOJOURN TIMES IN QUEUEING NETWORKS 1 NO FLOW EQUATIONS

6 Solving Queueing Models

4.7 Finite Population Source Model

A PARAMETRIC DECOMPOSITION BASED APPROACH FOR MULTI-CLASS CLOSED QUEUING NETWORKS WITH SYNCHRONIZATION STATIONS

Time Reversibility and Burke s Theorem

reversed chain is ergodic and has the same equilibrium probabilities (check that π j =

A STAFFING ALGORITHM FOR CALL CENTERS WITH SKILL-BASED ROUTING: SUPPLEMENTARY MATERIAL

M/G/1 and M/G/1/K systems

PBW 654 Applied Statistics - I Urban Operations Research

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Discrete-event simulations

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 "

Data analysis and stochastic modeling

A POPULATION-MIX DRIVEN APPROXIMATION FOR QUEUEING NETWORKS WITH FINITE CAPACITY REGIONS

Queuing Theory. Using the Math. Management Science

Chapter 10. Queuing Systems. D (Queuing Theory) Queuing theory is the branch of operations research concerned with waiting lines.

11 The M/G/1 system with priorities

Computer Systems Modelling

QUEUING MODELS AND MARKOV PROCESSES

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Chapter 6 Queueing Models. Banks, Carson, Nelson & Nicol Discrete-Event System Simulation

Bulk input queue M [X] /M/1 Bulk service queue M/M [Y] /1 Erlangian queue M/E k /1

Advanced Computer Networks Lecture 3. Models of Queuing

Operational Laws Raj Jain

Continuous Time Processes

Computer Networks More general queuing systems

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/25/17. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

Queuing Theory. Richard Lockhart. Simon Fraser University. STAT 870 Summer 2011

Massachusetts Institute of Technology

Load Balancing in Distributed Service System: A Survey

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Lecture 20: Reversible Processes and Queues

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

Slides 9: Queuing Models

Stability and Rare Events in Stochastic Models Sergey Foss Heriot-Watt University, Edinburgh and Institute of Mathematics, Novosibirsk

Outline. Finite source queue M/M/c//K Queues with impatience (balking, reneging, jockeying, retrial) Transient behavior Advanced Queue.

Introduction to Queueing Theory

λ λ λ In-class problems

Exercises Stochastic Performance Modelling. Hamilton Institute, Summer 2010

INDEX. production, see Applications, manufacturing

Markov processes and queueing networks

Queuing Networks. - Outline of queuing networks. - Mean Value Analisys (MVA) for open and closed queuing networks

Suggested solutions for the exam in SF2863 Systems Engineering. December 19,

Classical Queueing Models.

Session-Based Queueing Systems

Introduction to Queuing Networks Solutions to Problem Sheet 3

Queueing Theory (Part 4)

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.

Exact Simulation of the Stationary Distribution of M/G/c Queues

Link Models for Circuit Switching

Model-Driven System Capacity Planning Under Workload Burstiness

Basic Queueing Theory

Photo: US National Archives

Analytical Approximations to Predict Performance Measures of Manufacturing Systems with Job Failures and Parallel Processing

Performance analysis of queueing systems with resequencing

Solutions to Homework Discrete Stochastic Processes MIT, Spring 2011

λ 2 1 = 2 = 2 2 2P 1 =4P 2 P 0 + P 1 + P 2 =1 P 0 =, P 1 =, P 2 = ρ 1 = P 1 + P 2 =, ρ 2 = P 1 + P 2 =

Design of Plant Layouts with Queueing Effects

Course Outline Introduction to Transportation Highway Users and their Performance Geometric Design Pavement Design

An Analysis of the Preemptive Repeat Queueing Discipline

On Tandem Blocking Queues with a Common Retrial Queue

NEW FRONTIERS IN APPLIED PROBABILITY

On Tandem Blocking Queues with a Common Retrial Queue

Introduction to Queueing Theory

Transcription:

Outline Buzen s algorithm Mean value analysis for Jackson networks Cyclic network Extension of Jackson networks BCMP network 1

Marginal Distributions based on Buzen s algorithm With Buzen s algorithm, we can easily calculate marginal distributions For single server with load independent rate Marginal distribution pn ( k) = i k ρi gmn (, k) GN ( ) Marginal probability k pn ( = k) = ρ i i g( M, N k) ρig( M, N k 1) GN ( ) pn ( = k) = M k ρm gm ( 1, N k) GN ( ) 2

Performance metrics based on Buzen s algorithm Other performance metrics For single server with load independent rate Average number of customers: N k gmn (, k ) En [ i] = ρi GN ( ) k = 1 Throughput ofserver i: TH gmn (, 1) = μ p( n 1) = μ ρ GN ( ) i i i i i true value of visit ratio v i, satisfied v gmn (, 1) = TH = μ ρ GN ( ) i i i i v M = v r i j ji j= 1 3

Calculation based on Buzen s algorithm Calculation procedure Calculate Buzen s table Basedonthe table, calculatethe the distribution or performance metrics 1 2 m 11 m M 0 1 1 1 1 1 1 ρ 1 ρ 2 + ρ 1 2 ρ 2 1 ρ 2 12 + ρ 2 (ρ 2 + ρ 1 ) 3 ρ 3 1 n 1 ρ n 1 1 g(m,n 1) ρ m n ρ n 1 g(m 1,n) g(m,n) g N ρ N 1 g(m,n) 4

Mean value analysis Two methods to analyze closed Jackson network Buzen s algorithm to compute G(N) and distributions Mean value analysis to recursively compute the average performance metrics, not distributions Mean value analysis, proposed by 1. Reiser, M.; Lavenberg, S. S. (1980). "Mean-Value Analysis of Closed Multichain Queuing Networks". Journal of the ACM 27(2): 313-322. (IBM Zurich research, IBM Watson research) 2. Sevcik, K. C.; Mitrani, I. (1981). "The Distribution of Queuing Network States at Input and Output Instants". Journal of the ACM 28 (2): 358-371. 5

Arrival theorem Arrival theorem A general case of PASTA theorem Also called random observer property (ROP) or job observer property upon arrival at a station, a job observes the system as if in steady state at an arbitrary instant for the system without that job 6

Arrival theorem Applicability condition PASTA, Poisson arrival always hold in open product form networks with unbounded queues at each node (not Poisson arrival) other general networks (not Poisson arrival) for open Jackson network q(n)=p(n) For closed Jackson network q i (N,n i )=p(n 1,n i ), the statistics i seen by an arrival customer is equal to that of the steady network with one customer less. 7

Mean value analysis Based on two basic principles Arrival theorem (PASTA or ROP for Jackson networks) Little s law For closed djackson network q n (N)=p n (N 1), queue length seen by arrival equals that of the network with one less customer Little s law is applicable throughout the network 8

Mean value analysis With ROP W i i( (N) = [1+L i i( (N 1)]/μ i (also valid for M/M/1 / or M/M/c) / W i (N): mean response time at node i for a network with N customers L i (N 1): average number of customers at node i for a network with N 1 customers With Little s law L i (N) =λ i (N)W i (N) λ i (N): throughput (arrival rate) of node i in an N customer network, which is unknown 9

Calculation of λ i (n) Calculate visit ratio v i by traffic equations M v = v r, for all i = 1,..., M i j ji j= 1 v i is the relative throughput h of node i Calculate λ(n): ( ) λ ( n ) = M i = 1 Throughput h of node i: λ i (n)=λ(n)v ) i n vw ( n) i i 10

Algorithm of mean value analysis Solve traffic equations to obtain v i, i=1,2,,m Initialize L i (0)=0, 0, i=1,2,,m For n=1:n, calculate W i (n) = [1+L i (n 1)]/μ i λ(n)=n/[v( ) [ 1 W 1 (n)+ +v MW M M( (n)] λ i (n)= λ(n) v i, i=1,2,,m L i (n) =λ i (n)w i (n), i=1,2,,m 11

Discussion of mean value analysis Only calculate the average metrics Average queue length, mean waiting time, mean response time Cannot calculate the steady state distribution Recursive algorithm Complexity is linear to the system size For multiclass networks Also applicable, but complexity grows exponentially with the number of classes 12

Example Similar to Example 4.5 in page 203 of textbook Closed Jackson network with M=3, N=2 Exception: all the node are single server Service rate: μ 1 =2, μ 2 =1, μ 3 =3 Routing prob.: r 12 =3/4, r 13 =1/4, r 21 =2/3, r 23 =1/3, r 31 =1 13

Example (cont.) Visit rate equation set: Let v 1 =1, solve the equation v 2 =3/4, v 3 =1/2 2 v1 = v2 + v3 3 3 v2 = v1 4 1 1 v = v + v 4 3 3 1 2 State t space: (M+N 1) choose N, it is 6 (0,0,2), (0,1,1), (0,2,0), (1,0,1), (1,1,0), (2,0,0) Buzen s algorithm: G(N)=2.3086 π=(0.0214, 0214 0.0962, 0962 0.4332, 0.0642, 0642 0.2888, 0.0962) 0962) 14

MVA method For n=1: Example (cont.) W 1 (1)=[1+L 1 (0)]/μ 1 =1/2; W 2 (1)=1; 1; W 3 (1)=1/31/3 λ(1)=1/[1*1/2+3/4*1+1/2*1/3]=12/17 λ 1 (1)= λ(1)v 1 =12/17; λ 2 (1)=9/17; λ 3 (1)=6/17 L 1 (1)= λ 1 (1)W 1 (1)=6/17; L 2 (1)=9/17; L 3 (1)=2/17 For n=2: W 1 (2)=[1+L 1 (1)]/μ 1 =23/34; W 2 (2)=26/17; W 3 (2)=19/51 λ(2)=1/[1*23/34+3/4*26/17+1/2*19/51]=102/205 λ 1 (2)= λ(2)v 1 =102/205; λ 2 (2)=153/410; λ 3 (2)=51/205 L 1 (2)= λ 1 (2)W 1 (2)=69/205; L 2 (1)=117/205; L 3 (1)=19/205 15

Thinking of closed Jackson network Relation of parameters Arrival rate (throughput) λ v.s. service rates μ μ increases, λ increases Arrival rate λ vs v.s. number of customers N N increases, λ increases with a upper bound MVA for marginal ldistribution ib ti Recursive formula, similar to M/M/1 p i (n,n)=λ i (N)/μ i *p i (n 1,N 1) 16

Cyclic network A special case of closed Jackson network r ij =1, if j=i+1 and 0<i<M; r M1 =1; otherwise r ij =0 ij, j ; M1 ; ij μ 1 μ 5 μ2 μ 4 μ 3 17

Cyclic network Product form solution of steady state distribution Traffic equation is special, v i+1 =v i, so set all v i =1 ρ i = v i /μ i =1/ μ i 1 n1 n 1 2 n p M n = ρ 1 ρ 2 ρ M = n1 n2 nm GN ( ) GN ( ) μ μ μ 1 = n n n μ μ μ where GN ( ) 1 2 n1 +... + nm = N 1 2 M 1 2 M M 18

Extension of Jackson networks Load dependent dependent arrival rate and service rate Similar results, product form solution Consider travel time between nodes Model the travel time as extra nodes with ample servers, still keep the form of Jackson networks Multiclass l Jackson network Each class has its own routing structure, arrival rates and service rates Applicable for computer, communication systems. BCMP network, still have product form solution 19

Non Jackson network Many variants from Jackson networks State dependent routing probability Customer has flexibility to decide its next stop E.g., choose the node with less congestion Even exponential interarrival i and service time, no product form solution Use Markov model to do analysis, but suffer from curse of dimensionality Product form solution avoids this curse of computation Storage is a curse if needs store every state distribution Avoid to store every distribution, use iterative calculation, e.g., for all s: L=L+n*p(s), only one iterative variable L 20

BCMP network BCMP network definition M servers, K classes of customers 4 kinds of service disciplines FCFS, PS, IS(infinite servers, or ample servers), LCFS with preemptive resume Class transition class k customer from server i transits to server j as class r, with probability q ij,kr Service time distribution ib ti FCFS: IID exponential for all classes; PS, IS, LCFS: any COX distribution (including exponential) 21

BCMP network Steady state distribution of BMCP network has a product form solution Handle each server independently and multiply them together Calculate the normalization constant, Does eitsimilar exit algorithm to Buzen s? Scalability, avoid the curse of dimensionality Applicable to large scale problem 22