1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.

Slides:



Advertisements
Similar presentations
Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
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?
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
TCOM 501: Networking Theory & Fundamentals
Copyright © 2005 Department of Computer Science CPSC 641 Winter Markov Chains Plan: –Introduce basics of Markov models –Define terminology for Markov.
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
Entropy Rates of a Stochastic Process
Continuous Time Markov Chains and Basic Queueing Theory
Lecture 13 – Continuous-Time Markov Chains
Networks of queues Subdividing an Ethernet with switches.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
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.
Queueing Theory: Part I
1 TCOM 501: Networking Theory & Fundamentals Lectures 9 & 10 M/G/1 Queue 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.
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.
Flow Models and Optimal Routing. How can we evaluate the performance of a routing algorithm –quantify how well they do –use arrival rates at nodes and.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
Entropy Rate of a Markov Chain
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  …
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
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.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
1 Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
Manijeh Keshtgary. Queuing Network: model in which jobs departing from one queue arrive at another queue (or possibly the same queue)  Open and Closed.
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.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
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.
Winter 2004EE384x1 Poisson Process Review Session 2 EE384X.
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.
2/14/2016  A. Orda, A. Segall, 1 Queueing Networks M nodes external arrival rate (Poisson) service rate in each node (exponential) upon service completion.
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.
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.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
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
Flows and Networks Plan for today (lecture 3):
Flows and Networks Plan for today (lecture 4):
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
CPSC 531: System Modeling and Simulation
Generalized Jackson Networks (Approximate Decomposition Methods)
Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered
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.
Lecture 14 – Queuing Networks
LECTURE 09 QUEUEING THEORY PART3
Presentation transcript:

1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis

7-2 Topics Open Jackson Networks Network Flows State-Dependent Service Rates Networks of Transmission Lines Kleinrock’s Assumption

8-3 Networks of./M/1 Queues Network of K nodes; Node i is./M/1-FCFS queue with service rate μ i External arrivals independent Poisson processes γ i : rate of external arrivals at node i Markovian routing: customer completing service at node i is routed to node j with probability r ij or exits the network with probability r i0 =1-∑ j r ij Routing matrix R=[r ij ] irreducible  external arrivals eventually exit the system

8-4 Networks of./M/1 Queues Definition: A Jackson network is the continuous time Markov chain {N(t)}, with N(t)=(N 1 (t),…, N K (t)) that describes the evolution of the previously defined network Possible states: n=(n 1, n 2,…, n K ), n i =1,2,…, i=1,2,..,K For any state n define the following operators: Transition rates for the Jackson network: while q(n,m)=0 for all other states m

8-5 Jackson’s Theorem for Open Networks λ i : total arrival rate at node i Open network: for some node j: γ j >0 Linear system has a unique solution λ 1, λ 2,…, λ K Theorem 13: Consider a Jackson network, where ρ i =λ/μ i <1, for every node i. The stationary distribution of the network is where for every node i =1,2,…,K

8-6 Jackson’s Theorem (proof) Guess the reverse Markov chain and use Theorem 4 Claim: The network reversed in time is a Jackson network with the same service rates, while the arrival rates and routing probabilities are Verify that for any states n and m≠n, Need to prove only for m=A i n, D i n, T ij n. We show the proof for the first two cases – the third is similar

8-7 Jackson’s Theorem (proof cont.) Finally, verify that for any state n: Thus, we need to show that ∑ i γ i =∑ i λ i r i0

8-8 Output Theorem for Jackson Networks Theorem 14: The reversed chain of a stationary open Jackson network is also a stationary open Jackson network with the same service rates, while the arrival rates and routing probabilities are Theorem 15: In a stationary open Jackson network the departure process from the system at node i is Poisson with rate λ i r i0. The departure processes are independent of each other, and at any time t, their past up to t is independent of the state of the system N(t). Remark: The total arrival process at a given node is not Poisson. The departure process from the node is not Poisson either. However, the process of the customers that exit the network at the node is Poisson.

8-9 The composite arrival process at node i in an open Jackson network has the “PASTA” property, although it need not be a Poisson process Theorem 16: In an open Jackson network at steady-state, the probability that a composite arrival at node i finds n customers at that node is equal to the (unconditional) probability of n customers at that node: Proof is omitted Arrival Theorem in Open Jackson Networks

8-10 Non-Poisson Internal Flows Jackson’s theorem: the numbers of customers in the queues are distributed as if each queue i is an isolated M/M/1 with arrival rate λ i, independent of all others Total arrival process at a queue, however, need not be Poisson “Loops” allow a customer to visit the same queue multiple times and introduce dependencies that violate the Poisson property Internal flows are Poisson in acyclic networks Similarly. the departure process from a queue is not Poisson in general The process of departures that exit the network at the node is Poisson according to the output theorem

8-11 Non-Poisson Internal Flows Example: Single queue with μ >> λ, where upon service completion a customer is fed back with probability p ≈1, joining the end of the queue The total arrival process does not have independent interarrival times: If an arrival occurs at time t, there is a very high probability that a feedback arrival will follow in (t, t+δ] At arbitrary t, the probability of an arrival in (t, t+δ] is small since λ is small Arrival process consists of bursts, each burst triggered by a single customer arrival Exact analysis: the above probabilities are respectively Poisson Queue Poisson

8-12 Non-Poisson Internal Flows (cont.) Example: Single queue, exponential service times with rate μ, Poisson arrivals with rate λ. Upon service completion a customer is fed back at the end of the queue with probability p or leaves with probability 1-p Composite arrival rate and steady-state distribution: Probability of a composite arrival in (t, t+δ]: Probability of a composite arrival in (t, t+δ], given that a composite arrival occurred in (t-δ, t]: Poisson

8-13 State-Dependent Service Rates Service rate at node i depends on the number of customers at that node: μ i (n i ) when there are n i customers at node i./M/c and./M/∞ queues Theorem 17: The stationary distribution of an open Jackson network where the nodes have state-dependent service rates is where for every node i =1,2,…,K with normalization constant Proof follows identical steps with the proof of Theorem 13

8-14 Network of Transmission Lines Real Networks: Many transmission lines (queues) interact with each other Output from one queue enters another queue, Merging with other packet streams departing from the other queues Interarrival times at various queues become strongly correlated with packet lengths Service times at various queues are not independent Queueing models become analytically intractable Analytically Tractable Queueing Networks: Independence of interarrival times and service times Exponentially distributed service times Network model: Jackson network “Product-Form” stationary distribution

8-15 Kleinrock Independence Assumption 1. Interarrival times at various queues are independent 2. Service time of a given packet at the various queues are independent Length of the packet is randomly selected each time it is transmitted over a network link 3. Service times and interarrival times: independent Assumption has been validated with experimental and simulation results – Steady-state distribution approximates the one described by Jackson’s Theorems Good approximation when: Poisson arrivals at entry points of the network Packet transmission times “nearly” exponential Several packet streams merged on each link Densely connected network Moderate to heavy traffic load