The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.

Slides:



Advertisements
Similar presentations
Modeling and Dimensioning of Mobile Networks: from GSM to LTE
Advertisements

E&CE 418: Tutorial-4 Instructor: Prof. Xuemin (Sherman) Shen
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Groups models Modeling and Dimensioning of Mobile Networks: from GSM to LTE.
Florida Institute of technologies ECE 5221 Personal Communication Systems Prepared by: Dr. Ivica Kostanic Lecture 19: Traffic planning (3) Spring 2011.
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)
Continuous Time Markov Chains and Basic Queueing Theory
Queueing Theory: Recap
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
1.(10%) Let two independent, exponentially distributed random variables and denote the service time and the inter-arrival time of a system with parameters.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
Mean Delay in M/G/1 Queues with Head-of-Line Priority Service and Embedded Markov Chains Wade Trappe.
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.
ELEN 602 Lecture 9 Review of last lecture Little’s Formula M/M/1 Queue
The moment generating function of random variable X is given by Moment generating function.
1 TCOM 501: Networking Theory & Fundamentals Lectures 9 & 10 M/G/1 Queue Prof. Yannis A. Korilis.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer Performance.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
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 Markov Chains H Plan: –Introduce basics of Markov models –Define terminology for Markov chains –Discuss properties of Markov chains –Show examples of.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
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  …
Chapter 2 Machine Interference Model Long Run Analysis Deterministic Model Markov Model.
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.
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.
Flows and Networks Plan for today (lecture 4): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
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 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
EE6610: Week 6 Lectures.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
Model under consideration: Loss system Collection of resources to which calls with holding time  (c) and class c arrive at random instances. An arriving.
An Optimal Design of the M/M/C/K Queue for Call Centers
State N 2.6 The M/M/1/N Queueing System: The Finite Buffer Case.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
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.
Chapter 2 Probability, Statistics and Traffic Theories
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
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.
2/16/2016 Subject Name: Digital Switching Systems Subject Code:10EC82 Prepared By: Aparna.P, Farha Kowser Department: Electronics and Communication Date:
COMT 4291 Queuing Analysis COMT Call/Packet Arrival Arrival Rate, Inter-arrival Time, 1/ Arrival Rate measures the number of customer arrivals.
Chap 2 Network Analysis and Queueing Theory 1. Two approaches to network design 1- “Build first, worry later” approach - More ad hoc, less systematic.
Flows and Networks Plan for today (lecture 3): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Queueing Theory II.
Lecture 14 – Queuing Networks
Flows and Networks Plan for today (lecture 3):
Flows and Networks Plan for today (lecture 4):
CTMCs & N/M/* Queues.
Queueing Theory What is a queue? Examples of queues:
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
LESSON 12: EXPONENTIAL DISTRIBUTION
The M/G/1 Queue and others.
Queueing Theory II.
Lecture 14 – Queuing Networks
CSE 550 Computer Network Design
Presentation transcript:

The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies

School of Information Technologies M/M/ N / N 01-2 Link Models for circuit switching Telephone Traffic Call initiation.Poisson Process Length of calls.Negative exponential Number of circuits.Fixed, N Traffic arrival Poisson, mean arrival rate of  customers/sec Mean conversation time h seconds. Offered traffic is A =  h Erlangs => an M/M/N/N queue.

School of Information Technologies M/M/ N / N 01-3 Erlang Loss Function N circuits on a single link, arrivals Poisson at rate  customers per second, conversation time neg exp, mean h seconds, neg exp parameter  = 1/h, loss system no repeat attempts

School of Information Technologies M/M/ N / N 01-4 Let random variable R represent the number of customers currently in the system, R is between 0 and N. => state-dependent queue, arrival rate (independent of the state), service rate i  when the system is in state R=i. i.e. an M/M/N/N queue

School of Information Technologies M/M/ N / N 01-5 Let p i = Pr{R = i } In statistical equilibrium:

School of Information Technologies M/M/ N / N 01-6 p 0 is determined by the normalising condition:

School of Information Technologies M/M/ N / N 01-7 I.e. a truncated Poisson distribution

School of Information Technologies M/M/ N / N 01-8 Blocking Probability

School of Information Technologies M/M/ N / N 01-9 Example of the use of the Erlang Loss function Forecast offered traffic, 59.0 Erlangs. Specified blocking probability, better than 1.0%. Find n such that E n (A)<0.01 E 73 (59.0)= and E 74 (59.0)= Need 74 circuits.

School of Information Technologies M/M/ N / N Properties Example 59 Erlangs offered traffic and 74 circuits. Carried traffic is 59.0 × ( ) = Erlangs. Lost traffic is 59.0–58.42 Erlangs = 0.48 Erlangs

School of Information Technologies M/M/ N / N Time Congestion, Call Congestion E N (A) represents the proportion of the time that all circuits are busy, and is therefore called the time congestion. Call congestion is defined as the proportion of calls that find the system busy (i.e. the grade of service). Time congestion is congestion observed by the system. Call congestion is the congestion seen by customers.

School of Information Technologies M/M/ N / N PASTA For Poisson arrivals, time congestion = call congestion. PASTA theorem. (Poisson Arrivals See Time Averages.)

School of Information Technologies M/M/ N / N Validity of the Erlang Loss Function Valid for non–negative exponential distributions. The Poisson approximation for new call attempts has been validated by measurements. It is not valid if repeat attempts are significant It is not valid for overflow traffic.

School of Information Technologies M/M/ N / N M/G/1 Queue In practice, exponential service time is not very common => need more general –And it is shown first two moments of of service time is enough to characterise such a queueing system Let Q be queue length at departure times Use Embedded Markov Chain – queue lengths at departure times only Service time has second moment –Pollaczek-Khinchin formula Note: Second moment = mean 2 + variance

School of Information Technologies M/M/ N / N M/G/1 Using PASTA, Using Little’s formula

School of Information Technologies M/M/ N / N Example: M/G/1 This is exactly the equation that we derived earlier for the M/M/1 queue! If we assume the service distribution is exponentially distributed, the following holds:

School of Information Technologies M/M/ N / N Example: M/D/1 (constant service time) This is exactly the HALF the waiting time of the M/M/1 queue If service distribution is constant:

School of Information Technologies M/M/ N / N Squared Coefficient of Variation A critical factor in deciding the type of queueing system to use A measure of variability M/M/1: M/D/1: Note: Stallings uses

School of Information Technologies M/M/ N / N M/G/1 Mean Queue Length