Queuing Networks Jean-Yves Le Boudec 1. Networks of Queues Stability Queuing networks are frequently used models The stability issue may, in general,

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

Performance improvement through Active Idleness José A.A. Moreira Agilent Technologies Germany Carlos F.G. Bispo Instituto de Sistemas e Robótica Instituto.
Lecture 12. Emulating the Output Queue So far we have shown that it is possible to obtain the same throughput with input queueing as with output queueing.
Queuing Theory For Dummies Jean-Yves Le Boudec 1.
TCOM 501: Networking Theory & Fundamentals
Queueing Model 박희경.
Queuing Theory For Dummies
#11 QUEUEING THEORY Systems Fall 2000 Instructor: Peter M. Hahn
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
TCOM 501: Networking Theory & Fundamentals
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
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.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
Introduction to Queuing Theory
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
September 27, Instabilities and Oscillations in Networks of Queues Matthew Andrews Bell Labs Joint work with Alex Slivkins (Cornell)
Decentralised load balancing in closed and open systems A. J. Ganesh University of Bristol Joint work with S. Lilienthal, D. Manjunath, A. Proutiere and.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Blocking of transitions Kelly / Whittle network Optimal design of a Kelly / Whittle.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Manijeh Keshtgary. Queuing Network: model in which jobs departing from one queue arrive at another queue (or possibly the same queue)  Open and Closed.
CSE 538 Instructor: Roch Guerin – Office hours: Mon & Wed 4:00-5:00pm in Bryan 509 TA: Junjie Liu
Introduction to Queueing Theory
Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.
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.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
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.
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.
Modeling and Simulation Queuing theory
SIMULATION OF A SINGLE-SERVER QUEUEING SYSTEM
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Cheng-Fu Chou, CMLab, CSIE, NTU Open Queueing Network and MVA Cheng-Fu Chou.
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.
Dr. Anis Koubâa CS433 Modeling and Simulation
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
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 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 Theory Simulation & Modeling.
Networks (3TU) Plan for today (lecture 5): Last time / Questions? Tandem network Jackson network: definition Jackson network: equilibrium distribution.
Flows and Networks Plan for today (lecture 4):
Lecture on Markov Chain
Queueing Theory Carey Williamson Department of Computer Science
Queuing models Basic definitions, assumptions, and identities
IV-2 Manufacturing Systems modeling
Queuing models Basic definitions, assumptions, and identities
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.
Queuing Networks Mean Value Analysis
Carey Williamson Department of Computer Science University of Calgary
LECTURE 09 QUEUEING THEORY PART3
VIRTUE MARYLEE MUGURACHANI QUEING THEORY BIRTH and DEATH.
Presentation transcript:

Queuing Networks Jean-Yves Le Boudec 1

Networks of Queues Stability Queuing networks are frequently used models The stability issue may, in general, be a hard one Necessary condition for stability (Natural Condition) server utilization < 1 at every queue 2

Instability Examples 3 Poisson arrivals ; jobs go through stations 1,2,1,2,1 then leave A job arrives as type 1, then becomes 2, then 3 etc Exponential, independent service times with mean m i Priority scheduling Station 1 : 5 > 3 >1 Station 2: 2 > 4 Q: What is the natural stability condition ? A: λ ( m 1 + m 3 + m 5 ) < 1 λ (m 2 + m 4 ) < 1

λ = 1 m 1 = m 3 = m 4 = 0.1 m 2 = m 5 = 0.6 Utilization factors Station 1: 0.8 Station 2: 0.7 Network is unstable ! If λ (m 1 + … + m 5 ) < 1 network is stable; why? 4

Bramson’s Example 1: A Simple FIFO Network Poisson arrivals; jobs go through stations A, B,B…,B, A then leave Exponential, independent service times Steps 2 and last: mean is L Other steps: mean is S Q: What is the natural stability condition ? A: λ ( L + S ) < 1 λ ( (J-1)S + L ) < 1 Bramson showed: may be unstable whereas natural stability condition holds

Bramson’s Example 2 A FIFO Network with Arbitrarily Small Utilization Factor m queues 2 types of customers λ = 0.5 each type routing as shown, … = 7 visits FIFO Exponential service times, with mean as shown 6 LLSLLSSSSSSS Utilization factor at every station ≤ 4 λ S Network is unstable for S ≤ 0.01 L ≤ S 8 m = floor(-2 (log L )/L)

Take Home Message The natural stability condition is necessary but may not be sufficient There is a class of networks where this never happens. Product Form Queuing Networks 7

Product Form Networks Customers have a class attribute Customers visit stations according to Markov Routing External arrivals, if any, are Poisson 8 2 Stations Class = step, J+3 classes Can you reduce the number of classes ? 2 Stations Class = step, J+3 classes Can you reduce the number of classes ?

Chains Customers can switch class, but remain in the same chain 9 ν

Chains may be open or closed Open chain = with Poisson arrivals. Customers must eventually leave Closed chain: no arrival, no departure; number of customers is constant Closed network has only closed chains Open network has only open chains Mixed network may have both 10

11 3 Stations 4 classes 1 open chain 1 closed chain 3 Stations 4 classes 1 open chain 1 closed chain ν

Bramson’s Example 2 A FIFO Network with Arbitrarily Small Utilization Factor 12 LLSLLSSSSSSS 2 Stations Many classes 2 open chains Network is open 2 Stations Many classes 2 open chains Network is open

Visit Rates 13

14 2 Stations 5 classes 1 chain Network is open 2 Stations 5 classes 1 chain Network is open Visit rates θ 1 1 = θ 1 3 = θ 1 5 = θ 2 2 = θ 2 4 = λ θ s c = 0 otherwise

15 ν

Constraints on Stations Stations must belong to a restricted catalog of stations See Section 8.4 for full description We will give commonly used examples Example 1: Global Processor Sharing One server Rate of server is shared equally among all customers present Service requirements for customers of class c are drawn iid from a distribution which depends on the class (and the station) Example 2: Delay Infinite number of servers Service requirements for customers of class c are drawn iid from a distribution which depends on the class (and the station) No queuing, service time = service requirement = residence time 16

Example 3 : FIFO with B servers B servers FIFO queueing Service requirements for customers of class c are drawn iid from an exponential distribution, independent of the class (but may depend on the station) Example of Category 2 (MSCCC station): MSCCC with B servers B servers FIFO queueing with constraints At most one customer of each class is allowed in service Service requirements for customers of class c are drawn iid from an exponential distribution, independent of the class (but may depend on the station) Examples 1 and 2 are insensitive (service time can be anything) Examples 3 and 4 are not (service time must be exponential, same for all) 17

Say which network satisfies the hypotheses for product form 18 A B (FIFO, Exp) C (Prio, Exp)

The Product Form Theorem If a network satisfies the « Product Form » conditions given earlier The stationary distrib of numbers of customers can be written explicitly It is a product of terms, where each term depends only on the station Efficient algorithms exist to compute performance metrics for even very large networks For PS and Delay stations, service time distribution does not matter other than through its mean (insensitivity) The natural stability condition holds 19

20

21