Computer Networking Queueing (A Summary from Appendix A) Dr Sandra I. Woolley.

Slides:



Advertisements
Similar presentations
Traffic and routing. Network Queueing Model Packets are buffered in egress queues waiting for serialization on line Link capacity is C bps Average packet.
Advertisements

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.
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)
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.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Performance analysis for high speed switches Lecture 6.
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.
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
ELEN 602 Lecture 9 Review of last lecture Little’s Formula M/M/1 Queue
Little’s Theorem Examples Courtesy of: Dr. Abdul Waheed (previous instructor at COE)
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)
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
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  …
Queueing Theory [Bose] “The basic phenomenon of queueing arises whenever a shared facility needs to be accessed for service by a large number of jobs or.
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
 Birth Death Processes  M/M/1 Queue  M/M/m Queue  M/M/m/B Queue with Finite Buffers  Results for other Queueing systems 2.
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.
Performance Analysis of Computer Systems and Networks Prof. Varsha Apte.
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.
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.
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.
EE6610: Week 6 Lectures.
Ali Movaghar Winter 2009 Modeling and Analysis of Computer Networks (Delay Models in Data Networks)
SIMULATION EXAMPLES QUEUEING SYSTEMS.
yahoo.com SUT-System Level Performance Models yahoo.com SUT-System Level Performance Models8-1 chapter11 Single Queue Systems.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and 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...
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
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.
Internet Applications: Performance Metrics and performance-related concepts E0397 – Lecture 2 10/8/2010.
The Cellular Concept Early Mobile Communications The Cellular Concept
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)
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.
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.
T305: DIGITAL COMMUNICATIONS Arab Open University-Lebanon Tutorial 181 T305: Digital Communications Block 4 – Modelling Activities: Traffic.
Al-Imam Mohammad Ibn Saud University
CTMCs & N/M/* Queues.
B.Ramamurthy Appendix A
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Queueing Theory Carey Williamson Department of Computer Science
TexPoint fonts used in EMF.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Queuing Theory By: Brian Murphy.
Carey Williamson Department of Computer Science University of Calgary
CSE 550 Computer Network Design
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Presentation transcript:

Computer Networking Queueing (A Summary from Appendix A) Dr Sandra I. Woolley

2 Queueing Source : A summary of Appendix A  Delay analysis and Little’s formula  Basic queueing models

3 Delay Analysis  A basic model for a delay/loss system  Time spent in system = T  No. customers in system = N(t)  Fraction of arriving customers that are lost or blocked = P b  Long term arrival rate =  Average no of messages/second that pass through = throughput Delay box : Multiplexer, switch, or network Message, packet, cell arrivals Message, packet, cell departures T seconds Lost or blocked

4 Key System Variables  From time 0 to time t: –Number of arrivals at the system: A(t) –Number of blocked customers: B(t) –Number of departed customers: D(t)  Number of customers in system at time t (assuming system was empty at t = 0):  Long term arrival rate is:  Throughput is:  Average system occupancy is E[N]

5 Arrival Rates and Traffic Loads A(t) t n-1 n n+1 Time of n th arrival =  1 +   n Arrival Rate n arrivals  1 +   n seconds = 1 = 1 (  1 +   n )/n E[]E[] 11 22 33 nn  n+1 Arrival Rate = 1 / mean interarrival time

6 Little’s Formula  We need to link the average time spent in the system to the average number of customers in the system  Assume non-blocking system: A(t) D(t) Delay Box N(t) T

7 Little’s Formula  Little’s formula links the average time spent in the system to the average number of customers in the system E[N] = ·E[T] (without blocking) E[N] = ·(1 – P b )E[T] (with blocking) A(t) D(t) Delay Box N(t) T

8 Application of Little’s formula Consider an entire network of queueing systems  Little’s formula states that: E[N net ] = net E[T net ]  Thus, E[T net ] = E[N net ]/ net  For the m th switch/multiplexer: E[N m ] = m E[T m ]  The total no of packets in the network is the sum of the total no of packets in the switches: E[N net ] =  m E[N m ] =  m m ·E[T m ]  Combining the above equations yields, E[T net ] = 1/ net  m m ·E[T m ]  Network delay depends on overall arrival rate in network (offered traffic), arrival rate to individual routers (determined by routing algorithm) and delay in each router (determined by arrival rate, switching capacity and transmission line capacity)

9 Basic Queueing Models 1 2 c A(t) t D(t) t B(t) Queue Servers Arrival process X Service time ii  i+1 

10 Queueing Model Classification Service times X M = exponential D = deterministic G = general Service Rate:  E[X] Arrival Process / Service Time / Servers / Max Occupancy Interarrival times  M = exponential D = deterministic G = general Arrival Rate:  E[  ] 1 server c servers infinite K customers unspecified if unlimited Multiplexer Models: M/M/1/K, M/M/1, M/G/1, M/D/1 Trunking Models: M/M/c/c, M/G/c/c User Activity: M/M/ , M/G/ 

Queueing System Variables Useful for calculations: E[N] = ·(1 – P b )E[T] E[N q ] = ·(1 – P b )E[W] E[N s ] = ·(1 – P b )E[X] Offered (traffic) load = /  Erlangs (rate at which “work” arrives at system) Carried load = /  (1 – P b ) (average rate at which system does “work”) 1 2 c X N q (t) N s (t) N(t) = N q (t) + N s (t) T = W + X W  P b  P b ) N(t) = number in system * N q (t) = number in queue * N s (t) = number in service T = total delay W = waiting time X = service time 

Thank You