Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.

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

Introduction to Queuing Theory
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
TCOM 501: Networking Theory & Fundamentals
Lecture 13 – Continuous-Time Markov Chains
Queueing Theory: Recap
Queueing Model 박희경.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Queuing Systems Chapter 17.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Lecture 11 Queueing Models. 2 Queueing System  Queueing System:  A system in which items (or customers) arrive at a station, wait in a line (or queue),
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Queuing Theory. Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or queue)
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.
Lecture 14 – Queuing Systems
Lecture 11 – Stochastic Processes
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
Introduction to Queuing Theory
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
MIT Fun queues for MIT The importance of queues When do queues appear? –Systems in which some serving entities provide some service in a shared.
Introduction to Operations Research
Queueing Analysis of Production Systems (Factory Physics)
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
1 Chapter 7 Dynamic Job Shops Advantages/Disadvantages Planning, Control and Scheduling Open Queuing Network Model.
Manijeh Keshtgary. Queuing Network: model in which jobs departing from one queue arrive at another queue (or possibly the same queue)  Open and Closed.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
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.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
1 Dr. Ali Amiri TCOM 5143 Lecture 8 Capacity Assignment in Centralized Networks.
Modeling and Simulation Queuing theory
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
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.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
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.
8/14/04J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 11 – Stochastic Processes Topics Definitions.
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.
Queueing Fundamentals for Network Design Application ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
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.
Queuing Theory Simulation & Modeling.
Managerial Decision Making Chapter 13 Queuing Models.
Lecture 14 – Queuing Networks
Flows and Networks Plan for today (lecture 4):
Queuing Theory Jackson Networks
Lecture on Markov Chain
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Generalized Jackson Networks (Approximate Decomposition Methods)
Queuing models Basic definitions, assumptions, and identities
IV-2 Manufacturing Systems modeling
Queuing models Basic definitions, assumptions, and identities
Variability 8/24/04 Paul A. Jensen
Queueing Theory II.
Lecture 13 – Queuing Systems
Queueing networks.
Lecture 14 – Queuing Networks
CSE 550 Computer Network Design
LECTURE 09 QUEUEING THEORY PART3
Course Description Queuing Analysis This queuing course
Lecture 11 – Stochastic Processes
Presentation transcript:

Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop Non-Markovian networks

Input source Queue Service mechanism Arriving customers Exiting customers Structure of Single Queuing Systems Note 1.Customers need not be people  parts, vehicles, machines, jobs. 2.Queue might not be a physical line  customers on hold, jobs waiting to be printed, planes circling airport.

Queuing Networks In many applications, an arrival has to pass through a series of queues arranged in a network structure.

Jackson Network Definition 1.All outside arrivals to each queuing station in the network must follow a Poisson process. 2.All service times must be exponentially distributed. 3.All queues must have unlimited capacity. 4.When a job leaves one station, the probability that it will go to another station is independent of its past history and is independent of the location of any other job. In essence, a Jackson network is a collection of connected M / M / s queues with known parameters.

Jackson’s Theorem 1.Each node is an independent queuing system with Poisson input determined by partitioning, merging and tandem queuing example. 2.Each node can be analyzed separately using M / M /1 or M / M / s model. 3.Mean delays at each node can be added to determine mean system (network) delays.

Computation of Input Rate Let  i =external arrival rate to station i = 1,..., m  ki =probability of going from station k to i in network i =total input to station i In steady state there must be flow balance at each station.

Element of a Queuing Network

Jackson Networks Two-stage example. Each station is M /M /s queue.

Matrix Form of Computations Property 1:Let  be the m  m probability matrix that describes the routing of units within a Jackson network, and let  i denote the mean arrival rate of units going directly to station i from outside the system. Then =  (I –  ) –1 where  = (  1,…,  m ) and the components of the vector l give the arrival rates into the various station; that is, i is the net rate into station i. Note:Unlike the state-transition matrix used for Markov chains, the rows of the  matrix here need not sum to one; that is  j  ij ≤ 1

Simplification of Network After the net rate into each node is known, the network can be decomposed and each node treated as if it were an independent queuing system with Poisson input. Property 2: Consider a Jackson network comprising m nodes. Let N i denote a random variable indicating the number of jobs at node i (the number in the queue plus the number in service). Then, Pr{ N 1 = n 1, …, N m = n m } = Pr{ N 1 = n 1 }  …  Pr{ N m = n m } and Pr{ N i = n i } for all n i = 0, 1, … can be calculated using the equations for independent M/M/s seen previously.

Computation Center Example A high performance computation center is composed of 3 work stations comprising: (1) input processors, (2) central computers, and (3) a print center. All jobs submitted must first pass through an input processor for error checking before moving on to a central processor  80% go through and 20% are rejected. Of the jobs that pass through the central processor, 40% are routed to a printer. Jobs arrive randomly at the computation center at an average rate of 10/min. To handle the load, each station may have several parallel processors.

Data for the Computation Center We know from previous statistics that the time for the three steps have exponential distributions with means as follows: 10 seconds for an input processor 5 seconds for a central processor 70 seconds for a graphic processor All queues are assumed to have unlimited capacity. Goal Model system as a Jackson network. Find the minimum number of processors of each type and compute the average time require for a job to pass through the system.

Arrival Rate Computations Using general equation: With m = 3,  1 = 10,  12 = 0.8,  23 = 0.4 we get: 1 =  2 =  1 =  3 = = 

I/O Data for the Computation Center Input Central System measureprocessor Printer External arrival rate,  i 10/min00 Total arrival rate, i 10/min8/min3.2/min Service rate,  i 6/min20/min0.857/min Minimum channels, s i 214 Traffic intensity,  i

Results for Computation Center InputCentralPrinter Measureprocessor stationTotal ModelM/M/2 LqLq WqWq L WsWs M/M/1M/M/4

Job Shop Example Scenario Three products Four machines: A, B, C, D Each class takes different route Data ProductOrder rateRoute 130/moA-B-D-F 210/moA-B-E-F 320/moA-C-E-F

Network for Shop Shop

Results for Job Shop Example MeasureABCDEF   s ModelM/M/3M/M/2M/M/1M/M/3M/M/2M/M/  L W LqLq WqWq

System Performance Measures Manufacturing lead time – Average time a product spends in the system – Summation of time spent in each M / M / s system Work-in-process (WIP) inventory – Computed from Little’s law – WIP = (lead time)  (order rate) Questions: Can we sum L in each M / M / s queue to get WIP ?

System Performance for Job Shop Order rate Lead time Queue timeWIP Product(per mo.)Route(mo.) (units) 130A-B-D-F A-B-E-F A-C-E-F WIP determined with Little’s law = (lead time)  (order rate). Results show a marked difference between the products in terms of lead time and WIP since product 1 passes through both stations B and D.

Non-Markov Networks View each station as an GI / G /1 queue.  A Jackson network can be used to approximate this network. Assume we have a network with K classes of customers. Each class k  K has a fixed routing through the network. Unlimited capacity at each node. Arrival and service processes not known, but means and standard deviations of interarrival times and service times are known.

Non-Markov Network Example Let m si = mean processing time at station i for i = 1, 2, 3  si = standard deviation of processing time at station i Data:

Example (continued) Mean time between arrivals is m a = 5 minutes so = 0.2/min. Mean time between departures at station 1, and equivalently the mean time between arrivals at stations 2, is the same  m a. Similarly, the departures from stations 2 and 3 all have the same mean, m a. Standard deviation of the time between departures  d1,  d2 and  d3, will differ, however, because of the joint effects of arrival and service variability on departure variability. The approximate relation is c d 2 =   2 c s 2 + (1 –   2 )c a 2 and  d = c d m a The departure coefficient of variation is the same as the arrival coefficient of variation of the next stage.

Results for Non-Markov Network Example Queues can be analyzed sequentially starting with station 1 using the formula W q (GI/G/1)  c a 2 +c s 2 2       W q (M/M/1) At each station: W = W q + 1/  Use Little’s law to find L and L q with = 0.2/min for each station.

What You Should Know About Queuing Networks The assumptions underlying a Jackson network. How to compute the internal arrival rates. How to evaluate performance of a Jackson network. The extent to which non-Poisson networks can be analyzed.