Queueing Theory 2008. Queueing theory definitions (Bose) “the basic phenomenon of queueing arises whenever a shared facility needs to be accessed for.

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

Queueing Model 박희경.
Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Waiting Line Management
Lecture 11 Queueing Models. 2 Queueing System  Queueing System:  A system in which items (or customers) arrive at a station, wait in a line (or queue),
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.
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
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.
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)
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  …
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.
1 Chapter 16 Applications of Queuing Theory Prepared by: Ashraf Soliman Abuhamad Supervisor by : Dr. Sana’a Wafa Al-Sayegh University of Palestine Faculty.
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.
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
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.
Introduction to Operations Research
Structure of a Waiting Line System Queuing theory is the study of waiting lines Four characteristics of a queuing system: –The manner in which customers.
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.
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.
Modeling and Simulation Queuing theory
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
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.
Maciej Stasiak, Mariusz Głąbowski Arkadiusz Wiśniewski, Piotr Zwierzykowski Model of the Nodes in the Packet Network Chapter 10.
Chapter 6 Queueing Models
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.
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.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
Queuing Theory Simulation & Modeling.
WAITING LINES AND SIMULATION
“QUEUING THEORY”.
Lecture 2.7. Queuing Theory
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Internet Queuing Delay Introduction
Internet Queuing Delay Introduction
Queueing Theory Carey Williamson Department of Computer Science
Introduction Notation Little’s Law aka Little’s Result
Queuing models Basic definitions, assumptions, and identities
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
Queuing Theory By: Brian Murphy.
Queueing Theory 2008.
Carey Williamson Department of Computer Science University of Calgary
Waiting Line Models Waiting takes place in virtually every productive process or service. Since the time spent by people and things waiting in line is.
Course Description Queuing Analysis This queuing course
Queueing analysis Basics Methodologies Models Queueing process
Presentation transcript:

Queueing Theory 2008

Queueing theory definitions (Bose) “the basic phenomenon of queueing arises whenever a shared facility needs to be accessed for service by a large number of jobs or customers.” (Kleinrock) “We study the phenomena of standing, waiting, and serving, and we call this study Queueing Theory." "Any system in which arrivals place demands upon a finite capacity resource may be termed a queueing system.” (Mathworld) “The study of the waiting times, lengths, and other properties of queues.” 排队论是专门研究带有随机因素,产生拥挤现象的优化理论。 也称为随机服务系统。

Applications of Queueing Theory Telecommunications Determining the sequence of computer operations Predicting computer performance One of the key modeling techniques for computer systems / networks in general Vast literature on queuing theory Nicely suited for network analysis Traffic control Airport traffic, airline ticket sales Layout of manufacturing systems Health services (eg. control of hospital bed assignments)

Queuing theory for studying networks View network as collections of queues FIFO data-structures Queuing theory provides probabilistic analysis of these queues Examples: Average length (buffer) Average waiting time Probability queue is at a certain length Probability a packet will be lost

Use Queuing models to Describe the behavior of queuing systems Evaluate system performance Model Queuing System Queuing System Queue Server Customers

Time Arrival event Delay Begin service Arrival event Delay Activity End service Customer n+1 Customer n Interarrival

Characteristics of queuing systems Kendall Notation 1/2/3(/4/5/6) 1. Arrival Distribution 2. Service Distribution 3. Number of servers 4. Total storage (including servers) (infinite if not specified) 5. Population Size (infinite if not specified) 6. Service Discipline (FCFS/FIFO)

Distributions M: stands for "Markovian / Poisson", implying exponential distribution for service times or inter-arrival times. D: Deterministic (e.g. fixed constant) E k : Erlang with parameter k H k : Hyperexponential with param. k G: General (anything)

Poisson process & exponential distribution Inter-arrival time t (time between arrivals) in a Poisson process follows exponential distribution with parameter (mean) 无后效性 - 不管多长时间 (  t) 已经过去,逗留 时间的概率分布与下一个事件的相同  f T (t) t

Examples M/M/1: Poisson arrivals and exponential service, 1 server, infinite capacity and population, FCFS (FIFO) the simplest ‘realistic’ queue M/M/m/m Same, but m servers, m storage (including servers) Ex: telephone

Analysis of M/M/1 queue Given: : Arrival rate (mean) of customers (jobs) (packets on input link)  : Service rate (mean) of the server (output link) Solve: L: average number in queuing system L q average number in the queue ~ “1” W: average waiting time in whole system W q average waiting time in the queue ~ “1/  ”

M/M/1 queue model  WqWq W L LqLq

Derivation since all probability sum to one

Solving W, W q and L q For stability, mean arrival rate must be less than mean service rate Utility factor < 1

Response Time vs. Arrivals

Example On a network router, measurements show the packets arrive at a mean rate of 125 packets per second (pps) the router takes about 2 millisecs to forward a packet Assuming an M/M/1 model What is the probability of buffer overflow if the router had only 13 buffers How many buffers are needed to keep packet loss below one packet per million?

Example Arrival rate λ = 125 pps Service rate μ = 1/0.002 = 500 pps Router utilization ρ = λ/μ = 0.25 Prob. of n packets in router = Mean number of packets in router =

Example Probability of buffer overflow: = P(more than 13 packets in router) = ρ 13 = = 1.49x10 -8 = 15 packets per billion packets To limit the probability of loss to less than : = 9.96