Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
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?
1 Chapter 8 Queueing models. 2 Delay and Queueing Main source of delay Transmission (e.g., n/R) Propagation (e.g., d/c) Retransmission (e.g., in ARQ)
Probability and Statistics with Reliability, Queuing and Computer Science Applications: Chapter 6 on Stochastic Processes Kishor S. Trivedi Visiting Professor.
Discrete Time Markov Chains
TCOM 501: Networking Theory & Fundamentals
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
Continuous Time Markov Chains and Basic Queueing Theory
Lecture 13 – Continuous-Time Markov Chains
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Review.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Simple queuing models (Sec )
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Input-Queued.
1 Review of Probability Theory [Source: Stanford University]
Delay models in Data Networks
1 Overview of Queueing Systems Michalis Faloutsos Archana Yordanos The web.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer Performance.
Queueing Theory.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Lesson 11: Solved M/G/1 Exercises
Lecture 7  Poisson Processes (a reminder)  Some simple facts about Poisson processes  The Birth/Death Processes in General  Differential-Difference.
CDA6530: Performance Models of Computers and Networks Examples of Stochastic Process, Markov Chain, M/M/* Queue TexPoint fonts used in EMF. Read the TexPoint.
Lesson 9: Advanced M/G/1 Methods and Examples Giovanni Giambene Queuing Theory and Telecommunications: Networks and Applications 2nd edition, Springer.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
Winter 2006EE384x1 Review of Probability Theory Review Session 1 EE384X.
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.
Lecture 10: Queueing Theory. Queueing Analysis Jobs serviced by the system resources Jobs wait in a queue to use a busy server queueserver.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Introduction to Queueing Theory
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
1 Queueing Theory Frank Y. S. Lin Information Management Dept. National Taiwan University
TexPoint fonts used in EMF.
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
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
Why Wait?!? Bryan Gorney Joe Walker Dave Mertz Josh Staidl Matt Boche.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Probability Review CSE430 – Operating Systems. Overview of Lecture Basic probability review Important distributions Poison Process Markov Chains Queuing.
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...
Network Design and Analysis-----Wang Wenjie Queueing Theory II: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
Computer Networking Queueing (A Summary from Appendix A) Dr Sandra I. Woolley.
1 Chapter 4 Fundamental Queueing System. 2 3 Ref: Mischa Schwartz “Telecommunication Networks” Addison-Wesley publishing company 1988.
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.
Chap 2 Network Analysis and Queueing Theory 1. Two approaches to network design 1- “Build first, worry later” approach - More ad hoc, less systematic.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Queueing Theory II.
Discrete Time Markov Chains (A Brief Overview)
CTMCs & N/M/* Queues.
Discrete Time Markov Chains
Internet Queuing Delay Introduction
Lecture on Markov Chain
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
CPSC 531: System Modeling and Simulation
Internet Queuing Delay Introduction
System Performance: Queuing
Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered
The M/G/1 Queue and others.
TexPoint fonts used in EMF.
TexPoint fonts used in EMF.
Queueing Theory II.
Queueing networks.
September 1, 2010 Dr. Itamar Arel College of Engineering
Queueing Theory Frank Y. S. Lin Information Management Dept.
TexPoint fonts used in EMF.
Lecture 5 This lecture is about: Introduction to Queuing Theory
Presentation transcript:

Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang Wenjie

Network Design and Analysis-----Wang Wenjie Queueing System IV: 2 © Graduate University, Chinese academy of Sciences. Queueing System IV Discrete-Time Queuing Systems

Network Design and Analysis-----Wang Wenjie Queueing System IV: 3 © Graduate University, Chinese academy of Sciences. 1. Discrete-Time Queuing Systems Motivation The Bernoulli Process Geo/Geo/1 Systems 1.4. Geo/Geo/1/N Systems Simple ATM Queuing Systems

Network Design and Analysis-----Wang Wenjie Queueing System IV: 4 © Graduate University, Chinese academy of Sciences. 1.1 Motivation Some queuing systems operate on a slotted time basis: DT Systems

Network Design and Analysis-----Wang Wenjie Queueing System IV: 5 © Graduate University, Chinese academy of Sciences. Model All events (arrivals, departures) must occur at integer multiples of the slot time T S Implication: all service times must be multiples of T S For convenience, often use normalized time Example: ATM – Fixed-size cells imply all service times equal 1 time slot (on a given link)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 6 © Graduate University, Chinese academy of Sciences. Discrete-Time Markov Chain Let  j (n) = P[ X(n) = j ], j= 0, 1, … This denotes the probability of being in state j at time n, so On Off 1-    1- 

Network Design and Analysis-----Wang Wenjie Queueing System IV: 7 © Graduate University, Chinese academy of Sciences. Transition Probability Matrix

Network Design and Analysis-----Wang Wenjie Queueing System IV: 8 © Graduate University, Chinese academy of Sciences. Properties of P A square matrix whose dimension is the size of the state space Every row adds up to 1  (n+m) =  (n) P m Therefore, if we know the initial state pmf  (0), we can get the state pmf at any time m. If DTMC is stationary, in steady-state:  P

Network Design and Analysis-----Wang Wenjie Queueing System IV: 9 © Graduate University, Chinese academy of Sciences. Exercise 1.1 An urn initially contains 5 black balls and 5 white balls. The following experiment is repeated indefinitely: A ball is drawn from the urn If the ball is white it is put back in the urn If the ball is black it is left out X(n) is the number of black balls after n draws from the urn

Network Design and Analysis-----Wang Wenjie Queueing System IV: 10 © Graduate University, Chinese academy of Sciences. Exercise 1.1(Cont’d) 1.Draw the Markov chain and find the transition probabilities. 2.Find the matrix P. 3.Find the probability that there are 4 black balls in the urn after 2 draws.

Network Design and Analysis-----Wang Wenjie Queueing System IV: 11 © Graduate University, Chinese academy of Sciences The Bernoulli Process Discrete-time analogous to Poisson process – P[1 arrival during a time slot] = a – P[0 arrivals during a time slot] = 1-a Mean # of arrivals during a time slot = ____ Motivation: synchronous high-speed packet switches where at most one packet can be transmitted over a link during a slot Similarities to the Poisson process Memoryless Multiplexing and demultiplexing of a Bernoulli process still result in Bernoulli processes.

Network Design and Analysis-----Wang Wenjie Queueing System IV: 12 © Graduate University, Chinese academy of Sciences. Geometric Distribution (1/2) P[next arrival occurs within k time slots] = P[k-1 empty slots] P[arrival] = (1-p) k-1 p Geometric distribution Poisson process  Exponential Interarrival Time Bernoulli process  Geometric Interarrival Time

Network Design and Analysis-----Wang Wenjie Queueing System IV: 13 © Graduate University, Chinese academy of Sciences. Geometric Distribution (2/2) Geometric distribution has the memoryless property Mean : 1/p Variance : (1-p)/p2

Network Design and Analysis-----Wang Wenjie Queueing System IV: 14 © Graduate University, Chinese academy of Sciences. Binomial Distribution N slots with i arrivals in some sequence : P(sequence)=p i (1-p) N-i There are i arrivals in N slots for some value of p, the binomial distribution is : b(i,N, p)= C i N p i (1-p) N-i Mean : Np

Network Design and Analysis-----Wang Wenjie Queueing System IV: 15 © Graduate University, Chinese academy of Sciences Geo/Geo/1 Systems Bernoulli arrivals, geometric service times (DT analog to M/M/1)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 16 © Graduate University, Chinese academy of Sciences. Model Let a = P[arrival] Let s = P[service completion] (departure) Note that this is a discrete time Markov chain, so these are transition probabilities.NOT transition rates.

Network Design and Analysis-----Wang Wenjie Queueing System IV: 17 © Graduate University, Chinese academy of Sciences. Local Balance Equations Analogous to  in M/M/1 system

Network Design and Analysis-----Wang Wenjie Queueing System IV: 18 © Graduate University, Chinese academy of Sciences. State Probabilities

Network Design and Analysis-----Wang Wenjie Queueing System IV: 19 © Graduate University, Chinese academy of Sciences. Average # of Customers If 0< r <1 then:

Network Design and Analysis-----Wang Wenjie Queueing System IV: 20 © Graduate University, Chinese academy of Sciences. Traffic Intensity

Network Design and Analysis-----Wang Wenjie Queueing System IV: 21 © Graduate University, Chinese academy of Sciences. Mean Delay System throughput (customers/slot time) = a = Apply Little’s law

Network Design and Analysis-----Wang Wenjie Queueing System IV: 22 © Graduate University, Chinese academy of Sciences Geo/Geo/1/N Systems Similar to Geo/Geo/1, except for state N

Network Design and Analysis-----Wang Wenjie Queueing System IV: 23 © Graduate University, Chinese academy of Sciences. Local Balance Equations As before, local balance yields However Now:

Network Design and Analysis-----Wang Wenjie Queueing System IV: 24 © Graduate University, Chinese academy of Sciences. State Probabilities

Network Design and Analysis-----Wang Wenjie Queueing System IV: 25 © Graduate University, Chinese academy of Sciences. Delay P[block] = P[N in system] =  N So, throughput is a(1-  N )

Network Design and Analysis-----Wang Wenjie Queueing System IV: 26 © Graduate University, Chinese academy of Sciences. Simple ATM Queuing System(1)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 27 © Graduate University, Chinese academy of Sciences. Simple ATM Queuing System(2) Deterministic service time of one time slot –Normalized to cell transmission time Always a service completion if non-empty –Server is never idle if a job (cell) is waiting Simple Bernoulli is not interesting since there is no queuing Of interest are systems where there can be up to M > 1 arrivals per time slot, e.g., from M different input sources

Network Design and Analysis-----Wang Wenjie Queueing System IV: 28 © Graduate University, Chinese academy of Sciences. M-Geo/D=1/1/N Systems (1)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 29 © Graduate University, Chinese academy of Sciences. M-Geo/D=1/1/N Systems (2)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 30 © Graduate University, Chinese academy of Sciences. M-Geo/D=1/1/N Systems (3) Transition Matrix

Network Design and Analysis-----Wang Wenjie Queueing System IV: 31 © Graduate University, Chinese academy of Sciences. Global Balance Equations

Network Design and Analysis-----Wang Wenjie Queueing System IV: 32 © Graduate University, Chinese academy of Sciences. Fast Computer Algorithm

Network Design and Analysis-----Wang Wenjie Queueing System IV: 33 © Graduate University, Chinese academy of Sciences. Blocking Probability

Network Design and Analysis-----Wang Wenjie Queueing System IV: 34 © Graduate University, Chinese academy of Sciences. M-Geo/D=1/1/ 

Network Design and Analysis-----Wang Wenjie Queueing System IV: 35 © Graduate University, Chinese academy of Sciences. Summary Queuing Theory(1)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 36 © Graduate University, Chinese academy of Sciences. Summary Queuing Theory(2)

Network Design and Analysis-----Wang Wenjie Queueing System IV: 37 © Graduate University, Chinese academy of Sciences. Summary Queuing Theory(3)