Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.

Slides:



Advertisements
Similar presentations
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Basic Definitions and Terminology Modeling and Dimensioning of Mobile Networks:
Advertisements

Modeling and Dimensioning of Mobile Networks: from GSM to LTE
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Groups models Modeling and Dimensioning of Mobile Networks: from GSM to LTE.
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)
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
Nur Aini Masruroh Queuing Theory. Outlines IntroductionBirth-death processSingle server modelMulti server model.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
Queuing Systems Chapter 17.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
Queueing Theory: Part I
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.
Module 2.0: Modeling of Network Components. Queueing theory  Basics : average number of packets 1/  : mean service time per packet [s] arriving per.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4730: Computer Communication Networks (CCN) Network Layer Performance.
CSE 550 Computer Network Design Dr. Mohammed H. Sqalli COE, KFUPM Spring 2012 (Term 112)
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.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Queuing Theory (Waiting Line Models)
Lesson 11: Solved M/G/1 Exercises
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
Introduction to Queuing Theory
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  …
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
Introduction to Queuing Theory
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
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.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
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
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
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
M/M/1 queue λn = λ, (n >=0); μn = μ (n>=1) λ μ λ: arrival rate
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
Chapter 20 Queuing Theory to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
CS352 - Introduction to Queuing Theory Rutgers University.
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 Queuing Delay and Queuing Analysis. RECALL: Delays in Packet Switched (e.g. IP) Networks End-to-end delay (simplified) = End-to-end delay (simplified)
Introduction Definition M/M queues M/M/1 M/M/S M/M/infinity M/M/S/K.
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.
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.
Queueing Fundamentals for Network Design Application ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
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.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Simple Queueing Theory: Page 5.1 CPE Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation.
Managerial Decision Making Chapter 13 Queuing Models.
Queueing Theory What is a queue? Examples of queues:
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Birth-Death Process Birth – arrival of a customer to the system
System Performance: Queuing
Handling Routing Transport Haifa JFK TLV BGN To: Yishay From: Vered
TexPoint fonts used in EMF.
Queuing Analysis Two analytical techniques can be employed to study queuing processes: Shock wave analysis Demand-capacity process is deterministic Suited.
Queueing Theory 2008.
Carey Williamson Department of Computer Science University of Calgary
CSE 550 Computer Network Design
Course Description Queuing Analysis This queuing course
Presentation transcript:

Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10

Queuing system 2

Kendall’s notation (1) Classification of queuing system depends on: o Structure: number of servers o Arrival stream: interarrival time distribution o Service stream:service time distribution o Queue:queue capacity, queuing strategy Kendall’s notation: A / B / N / K / S o A: interarrival time distribution o B: service time distribution o N: number of servers o K: queue capacity (number of waiting positions) o S:number of traffic sources (population size) 3

Kendall’s notation (2) A / B / N / K / S Interarrival (service) time distribution (example of standard notation) o M: Markovian, i.e. exponential distribution of interarrival (service) time; o D: Deterministic, i.e. constant time intervals; o G: General, i.e. arbitrary distribution of interarrival (service) time. May include correlation; o GI: General Independent, i.e. arbitrary distribution of interarrival (service) time without correlation; o Ph:Phase type distribution of time intervals. 4

Kendall’s notation (3) Service strategy (example of standard strategies) o FCFS: First Come – First Served, i.e. ordered queue, waiting calls are serviced in successive order; o LCFS : Last Come – First Served (also denoted as LIFO: Last In – First Out), i.e. reverse ordered queue, waiting calls are serviced in reverse successive order; o SIRO: Service In Random Order (also denoted as RS: Random Selection), i.e. all waiting calls in the queue have the same probability of being chosen for service; 5

Little’s Theorem Basic system parameters: o L the average number of calls in the system, o Wmean holding time in the system per call, o Qthe average number of calls in the queue, o T mean holding time in the queue per call. 6 L =  W Q = T the average number of calls in the queue = X the average call intensity mean holding time in the queue per call

Little’s Theorem A(t) number of arrivals at the moment t, B(t) number of calls outgoing from the system at the moment t, Z(t) =A(t) - B(t) number of calls serviced in the system at the moment t, ti holding time of call i, serviced in the system. 7 Arrival and departure process in the queuing system

Little’s Theorem Average number of calls serviced in the system within the period (0,τ): Mean number of arrivals within the period (0,τ): Mean holding time of a call in the system: 8      0 )( )( 1 WttdttZL i i i i

One server delay system with infinite queue M/M/1/∞ One server available for any call if it is not busy, Poisson arrival process with average intensity, o exponential service time with mean value 1/μ, o Calls are waiting according to basic service strategy FIFO (first in first out). The queue is infinite. It means that carried traffic is equal to offered traffic and calls are not blocked. 9 QUEUE = ∞ output stream input stream (λ) SERVER μ

M/M/1/ ∞ system State transition diagram 10  state „0” - the server is free,  state „1” - one call is served, no call is waiting in the queue,  state „2” - one call is served and one call is waiting in the queue, ...,  state „n” - one call is served and n-1 calls are waiting in the queue. ·...,

M/M/1/ ∞ system - Analysis State transition diagram of M/M/1/∞ delay system Local balance equation for the M/M/1/∞ system 11 solution

M/M/1/ ∞ system - characteristics Average number of calls in the system: Mean holding time in the system per call (Little’s Theorem): 12

M/M/1/ ∞ system - characteristics Average number of calls in the queue: Mean holding time in the queue per call (Little’s Theorem): 13

M/M/1/ ∞ system - characteristics Average number of calls in the system – formula derivation: 14

System with finite queue: M/M/1/N-1 system State transition diagram for M/M/1/N-1 system 15 QUEUE = N-1 output stream input stream (λ) SERVER=1 μ

M/M/1/N-1 system analysis Local balance equation for the system M/M/1/N 16 solution

System M/M/1/N-1 results 17

M/M/N/∞ system N servers available for any call if are not busy, Poisson arrival process with average intensity, o exponential service time with mean value 1/μ, o calls are waiting according to basic service strategy FIFO (first in first out). The queue is infinite. It means that carried traffic is equal to offered traffic and calls are not blocked. 18

M/M/N/∞ system 19 N ∞ QUEUE= output stream input stream SERVERS= N

M/M/N/∞ system State transition diagram of M/M/N/ delay system Local balance equation for the M/M/N/ ∞ system 20 N N NNN NN solution

M/M/N/∞ system: Erlang C-formula State transition diagram of M/M/N/ ∞ system Erlang C-formula (probability that an arbitrary arriving call has to wait in the queue) 21 N N NNN NN

M/M/N/∞ system - characteristics average number of calls in the queue: average number of calls in the system: o where: L busy is average number of calls served in the system. 22

M/M/N/∞ system - characteristics mean holding time in the queue per call (Little’s Theorem): mean holding time in the system per call (Little’s Theorem): 23

M/M/N/∞ system - characteristics M/M/N/∞ system connection with M/M/N/0 system (Erlang formula for full availability group) 24 where a=A/N

M/M/N/m system N servers available for any call if its are not busy, Poisson arrival process with average intensity, o exponential service time with mean value 1/μ, o calls are waiting according to basic service strategy FIFO (first in first out). The queue is finite, limited to m calls 25

M/M/N/m system 26

M/M/N/m system: system with infinite queue Blocking/waiting probability in the system M/M/N/m 27 Waiting probability as a function of the queue capacity in the M/M/5/m system. 

M/G/1/∞ system – Assumptions One server available for any call if it is not busy Poisson arrival process with average intensity Any service time distribution with mean value 1/µ and variance σ 2 τ Calls are waiting according to FIFO strategy (first in first out) The queue is infinite. Carried traffic is equal to offered traffic 28

M/G/1/∞ system Pollaczek-Khinchine’s formula o average number of calls in the system: o mean holding time in the system per call : 29 variance of service time distribution.

M/G/1/∞ system Pollaczek-Khinchine’s formula with residual service time: Where: is the second moment of service time distribution 30

System M/D/1/∞ - Assumptions One server available for any call if it is not busy,, Poisson arrival process with average intensity, Constant service time distribution with mean value 1/µ, Calls are waiting according to FIFO strategy (first in first out). Characteristics of the system M/D/1/∞ o Service time is constant, so its variance is equal to zero: 31

M/M/1/∞ and M/D/1/∞ systems comparison Average number of calls in the system 32

M/G/R PS system – Assumptions Poisson arrival process with average intensity  Any service time with mean value 1/μ Available resources are fairly divided between packet streams x offered to the system All the offered streams are serviced quasi- simultaneously Number of servers is equal to R 33

M/G/R PS system M/G/R PS – special case of M/M/N/∞ system A service of particular packet streams corresponds to the operation of mechanisms implemented in TCP protocol Aspiration for assurance of equal access to a shared transmission channel Convergence of models describing M/G/R PS and TCP Model M/G/R-PS is conventionally used for packet network dimensioning 34

System M/G/R PS Number of servers where: o V- capacity of the server (link) o R max - maximum bit rate of the traffic stream 35

System M/G/R PS Average time spent by a task (call) in the M/G/R PS system: where: o f R - delay factor, o x - average length of task (call) x, for example, data file, o ρ - intensity of offered traffic to one server (from among R): o K - number of users. 36 system M/M/N/ 

System M/G/R PS Average time spent by a task (call) in the M/G/R PS system: where: o A - total offered traffic intensity: o E2,R(A) – Erlang’s C formula: 37

System M/G/R PS Average time spent by a task (call) in the M/G/R PS system with taking into account the delay in access link: Delay in the access link: o where ρ a is the traffic offered to access link with bit-rate equal to r: 38 system M/M/1/ 

M/G/R PS system dimensioning 1.Determination of the initial value of the link capacity V=r. 2.Determination of the transmission delay W(x)=f (f total ). 3.Do the obtained delay values exceed required threshold ? 1.YES – increase capacity and go to step 2. 2.NO – required capacity has been reached. 4.Terminate calculation. 39

System M/M/1/m – buffer dimensioning The capacity m of the buffer for traffic with assumed QoS parameters can be determined on the basis of the acceptable level of loss packet probability E: 40 system M/M/1/ 

System M/M/1/m – buffer dimensioning Approach 1 o The capacity m of the buffer for traffic with assumed QoS parameters can be determined on the basis of acceptable level of loss packet probability E: Approach 2 o The capacity m of the buffer for traffic with assumed QoS parameters can be determined on the basis of average number of packet in queue Q: 41

Example – comparison of buffer dimensioning methods ATM links (150 Mbits/s) o traffic sources1000 CBR sources (64 kbits/s) o required ATM packet intensity packet/s o packet service time2.830 µs o offered traffic intensity0.472 Erl. o Determine required buffer capacity for M/M/1/N 0.42  M/M/1/  (2) M/M/1/  (1) mBModel