EE6610: Week 6 Lectures.

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

Traffic and routing. Network Queueing Model Packets are buffered in egress queues waiting for serialization on line Link capacity is C bps Average packet.
Modeling and Dimensioning of Mobile Networks: from GSM to LTE
E&CE 418: Tutorial-4 Instructor: Prof. Xuemin (Sherman) Shen
Florida Institute of technologies ECE 5221 Personal Communication Systems Prepared by: Dr. Ivica Kostanic Lecture 19: Traffic planning (3) Spring 2011.
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)
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.
Lecture 13 – Continuous-Time Markov Chains
A New Approach for Accurate Modelling of Medium Access Control (MAC) Protocols Presenter: Moshe Zukerman ARC Centre for Ultra Broadband Information Networks.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
Multiple server queues In particular, we look at M/M/k Need to find steady state probabilities.
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 Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
1 Markov Chains H Plan: –Introduce basics of Markov models –Define terminology for Markov chains –Discuss properties of Markov chains –Show examples of.
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
References for M/G/1 Input Process
Basic teletraffic concepts An intuitive approach
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
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Modelling and channel borrowing in mobile communications networks Richard J. Boucherie University of Twente Faculty of Mathematical Sciences University.
1 Voice Traffic Engineering & Management. 2 PSTN and PBX networks are designed with 2 objectives: Maximize usage of their circuits Maximize usage of their.
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.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Modeling and Analysis of Computer Networks
M/M/1 queue λn = λ, (n >=0); μn = μ (n>=1) λ μ λ: arrival rate
COMT 2201 Managing Telecommunications Systems. COMT 2202 Managing Telecommunications Configuration Management Security Management Accounting Management.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
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
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.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
1 Presented by Sarbagya Buddhacharya. 2 Increasing bandwidth demand in telecommunication networks is satisfied by WDM networks. Dimensioning of WDM networks.
Computer Networking Queueing (A Summary from Appendix A) Dr Sandra I. Woolley.
CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
1 Chapter 4 Fundamental Queueing System. 2 3 Ref: Mischa Schwartz “Telecommunication Networks” Addison-Wesley publishing company 1988.
The Cellular Concept Early Mobile Communications The Cellular Concept
2/16/2016 Subject Name: Digital Switching Systems Subject Code:10EC82 Prepared By: Aparna.P, Farha Kowser Department: Electronics and Communication Date:
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
CS433 Modeling and Simulation Lecture 11 Continuous Markov Chains Dr. Anis Koubâa 01 May 2009 Al-Imam Mohammad Ibn Saud University.
1 Chapter 4 Fundamental Queueing System
COMT 4291 Queuing Analysis COMT Call/Packet Arrival Arrival Rate, Inter-arrival Time, 1/ Arrival Rate measures the number of customer arrivals.
Thought of the day Thought of the day Difference between science and spirituality is same as the difference between word and silence. Sameer Trapasiya.
Queueing Fundamentals for Network Design Application ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Tel Hai Academic College Department of Computer Science Prof. Reuven Aviv Markov Models for data flow In Computer Networks Resource: Fayez Gebali, Analysis.
Fundamentals of Cellular Networks (Part IV)
Much More About Markov Chains
CTMCs & N/M/* Queues.
Queuing Theory Queuing Theory.
DTMC Applications Ranking Web Pages & Slotted ALOHA
Internet Queuing Delay Introduction
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
Markov Chains Carey Williamson Department of Computer Science
The M/G/1 Queue and others.
Network Planning dan Dimensioning (2)
Queuing Analysis.
Carey Williamson Department of Computer Science University of Calgary
CSE 550 Computer Network Design
Chapter-5 Traffic Engineering.
CS723 - Probability and Stochastic Processes
Presentation transcript:

EE6610: Week 6 Lectures

Applications A useful link: http://www.cisco.com/en/US/docs/ios/solutions_docs/voip_solutions/TA_ISD.html#wp1038467 When we consider applications (practical problems) we need to choose the right model for a given application.

Problem 1 You need to redesign your outbound long distance trunk groups, which are currently experiencing some blocking during the busy hour. The switch reports state that the trunk group is offered 17 erlangs of traffic during the busy hour. You want to have low blockage so you want to design for no more than 0.6 % blockage. What Model??

Problem 1 Model: M/M/k/k Solution By the Erlang B equation, you see that for 17 erlangs of traffic and a Grade of Service (GoS) of 0.6 % [maximal allowable blocking probability is 0.6 %], you need 28 circuits to handle this traffic load. You may use the Erlang B, Extended Erlang B and Erlang C calculator at the following URL: http://www.erlang.com/calculator/index.htm But it is better if you generate your own Excel sheet.

Problem 2 A call center has 600 calls per hour lasting on average 3 minutes each, and that each agent has an after-call work time of 20 seconds. You would like the average time in the queue to be 10 seconds. What Model???

Problem 2 Model: M/M/k Calculate the amount of expected traffic load. To the 3 minutes per call you must add 20 seconds. The additional 20 seconds is part of the amount of time it takes to service a call, as shown in the following formula: (600 calls * 200 seconds AHT)/3600 = 33.33 erlangs of traffic AHT = Average Holding Time Compute the delay factor by dividing the expected delay time by AHT, as follows: (10 sec delay)/(200 seconds) = 0.05 delay factor

Problem 3 You are designing your backbone connection between two routers. You know that you will generally see about 600 packets per second (pps) with 200 bytes per packet or 1600 bits per packet. Multiplying 600 pps by 1600 bits per packet gives the amount of needed bandwidth: 960,000 bits per second (bps). You know that you can buy circuits in increments of 64,000 bps. How many circuits will you need to keep the delay under 10 ms? What Model???

Problem 3 Model: M/M/k Solution Calculate the traffic load as follows: (960,000 bps)/(64,000 bps) = 15 erlangs of traffic load.

Solution of Problem 3 (continued) Calculate the average transmission time. Multiply the number of bytes per packet by 8 to get the number of bits per packet, then divide that by 64,000 bps (circuit speed) to get the average transmission time per packet as follows: (200 bytes per packet) * (8 bits) = (1600 bits per packet) (1600 bits per packet)/(64000 bps) = 0.025 seconds (25 ms) to transmit (Delay 10 ms)/(25 ms) = 0.4 delay factor.

Solution of Problem 3 (continued) If you look at the Erlang C Tables, you see that with a traffic load of 15.47 erlangs and a delay factor of 0.4, you need 17 circuits. See Erlang C calculator at the following URL: http://www.erlang.com/calculator/index.htm.

Solution of Problem 3 (continued) In our “language”: A = 15.47 [erlangs] μ = 1/ 0.025 [sec] λ= A μ [packets/sec]

Solution of Problem 3 (continued) We know: Delay factor: = [Ck(A)/ (μk – λ)]/[1/ μ] = Ck(A)/(k – A) A = 15.47; Delay factor = 0.4 Find k numerically: Homework problem

Homework: Write software to compute the number of servers (k), given the Delay Factor and the offered load (A). Plot k versus Delay Factor for a given A. Show that as the Delay Factor approaches zero, k approaches infinity so we approach the M/M/infinity model.

AutoCovariance k Use MMPP instead of Poisson to model packet switching LRD MMPP IID Poisson Use MMPP instead of Poisson to model packet switching traffic which is Short Range Dependent (SRD).

AutoCovariance k Use MMPP instead of Poisson to model packet switching LRD MMPP IID Poisson Use MMPP instead of Poisson to model packet switching traffic which is Short Range Dependent (SRD).

Markov Modulated Poisson Process (MMPP) An MMPP is a Poisson process whose instantaneous rate is itself a stationary random process which varies according to an irreducible n-state Markov chain. If n is 1, then the process is just a Poisson process. Markov chain is irreducible if every state can be reached from every other state. As an example, we will look at in detail the simulation and analysis of a 2-states MMPP process in the MMPP(2)/M/1/k queue.

Two-states MMPP The stochastic process called Markov modulated Poisson process (MMPP) is a point process that behaves as a Poisson process with parameter λ0 for a period of time that is exponentially distributed with parameter  0. Then it moves to mode (state) 1 where it behaves like a Poisson process with parameter λ1 for a period of time that is exponentially distributed with parameter  1. Then it return to state 0, etc. The parameters  0 and  1 are called mode duration parameters.

MMPP Process MMPP

Note

MMPP(2)/M/1/k Queue The arrival process is a two-state MMPP arrival process, and the service rate is μ. The system size is limited to k.

State-dependent MMPP/M/1/k Queue The arrival process is an MMPP arrival process, with general number of states, and the service rate is μ(Q) depending on the queue size Q. The system size is limited to k.

Simulation of State Dependent MMPP(2)/M/1/k to obtain the blocking probability Total Arrivals = Total Arrivals + 1

Simulation Cont. Total Arrivals = Total Arrivals + 1

Simulation Cont.

Analysis of MMPP(2)/M/1/k How many states? 2 x (k+1)

Markov Chain for MMPP(2)/M/1/k 1,0 0,0 2,0 … k,0 1,1 0,1 2,1 k,1

Steady state equations Normalized equations m = 0,1

Markov Chain 1,0 0,0 2,0 … k,0 1,1 0,1 2,1 k,1

In steady state, the probability flux is in balance. The prob In steady state, the probability flux is in balance. The prob. Flux of going out of state i is equal to the probability flux of going into state i. These are called Global Balance Equations. Note

Steady State Equations

Steady State Equations

Infinitesimal Generator Matrix

Infinitesimal Generator Matrix

Solving Equations Method 1 Solve the following set of linear equations with nonnegative variables πQ = 0 and Σ πij = 1 for all πij ≥ 0 using an available software package.

Solving Equations Method 2 Solve by successive substitutions. Then normalize the probabilities so that: Σ πij = 1 by

M/M/1 Global Balance Equations: The probability flux out of each state is equal to the probability flux into the state . . . 1 2 …

Infinitesimal generator Matrix for M/M/1

Homework Consider an MMPP(2)/M/1/k with arrival rates 2 and 3, mode duration parameters 4 and 7, service rate 2.5, and k = 10. Find the blocking probability by simulation and by successive substitution. Late comers should use different parameter values.