Queueing Theory: Recap

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

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
Continuous Time Markov Chains and Basic Queueing Theory
1 ELEN 602 Lecture 8 Review of Last lecture –HDLC, PPP –TDM, FDM Today’s lecture –Wavelength Division Multiplexing –Statistical Multiplexing –Preliminary.
Queuing Models Basic Concepts
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Queueing Theory Chapter 17.
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Management of Waiting Lines
Queueing Theory Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder, CO
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.
QUEUING MODELS Queuing theory is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open at a store –Determine the.
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  …
M EAN -V ALUE A NALYSIS Manijeh Keshtgary O VERVIEW Analysis of Open Queueing Networks Mean-Value Analysis 2.
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.
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
Lecture 10: Queueing Theory. Queueing Analysis Jobs serviced by the system resources Jobs wait in a queue to use a busy server queueserver.
Manijeh Keshtgary. Queuing Network: model in which jobs departing from one queue arrive at another queue (or possibly the same queue)  Open and Closed.
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.
Waiting Lines and Queuing Models. Queuing Theory  The study of the behavior of waiting lines Importance to business There is a tradeoff between faster.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
Queuing Networks Jean-Yves Le Boudec 1. Contents 1.The Class of Multi-Class Product Form Networks 2.The Elements of a Product-Form Network 3.The Product-Form.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
SIMULATION EXAMPLES QUEUEING SYSTEMS.
CDA6530: Performance Models of Computers and Networks Chapter 7: Basic Queuing Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
Cheng-Fu Chou, CMLab, CSIE, NTU Open Queueing Network and MVA Cheng-Fu Chou.
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
Waiting Line Theory Akhid Yulianto, SE, MSc (log).
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.
© 2015 McGraw-Hill Education. All rights reserved. Chapter 17 Queueing Theory.
Management of Waiting Lines Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
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 Simulation & Modeling.
Queueing Theory II.
Lecture 14 – Queuing Networks
Al-Imam Mohammad Ibn Saud University
Queueing Theory What is a queue? Examples of queues:
Management of Waiting Lines
Queuing Theory Non-Markov Systems
Birth-Death Process Birth – arrival of a customer to the system
Queueing Theory Carey Williamson Department of Computer Science
Queuing models Basic definitions, assumptions, and identities
System Performance: Queuing
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
Queueing Theory II.
COMP60611 Fundamentals of Parallel and Distributed Systems
Queueing networks.
Lecture 14 – Queuing Networks
COMP60621 Designing for Parallelism
Queuing Networks Mean Value Analysis
Carey Williamson Department of Computer Science University of Calgary
Course Description Queuing Analysis This queuing course
SIMULATION EXAMPLES QUEUEING SYSTEMS.
Presentation transcript:

Queueing Theory: Recap Starting point: M/M/1 Poisson arrivals Exponential service times Markov Chain analysis Memoryless property Elegant closed-form results Key insights into system performance

Variations on the M/M/1 Queue M/G/1 - generalized service time M/D/1 - deterministic service time M/M/1/K - finite buffer system M/M/c - up to c servers concurrently M/M/c/c - Erlang loss model M/M/∞ - infinite server system G/G/1 - generalized arrivals + service

Even More Variations (1 of 2) Balking (discouraged arrivals) As the queue becomes longer, new arrivals are less likely to join it (e.g., restaurant) Aborted jobs (e.g., call center tech support) If waiting too long, customers might leave queue Variable rate servers Service rate changes with time, either randomly, or based on load or queue length (e.g., Safeway) Vacationing servers Server disappears for a while, so that no one receives service (e.g., Post Office)

Even More Variations (2 of 2) Server failures (e.g., power outage) Independent failures or catastrophes reduce rate Multiple queues vs single shared queue Multiple servers, with either separate or shared central queue (e.g., bank) Jockeying Customers can change to a different queue at any time (e.g., customs, lane-changing) Multi-class priority queues Different service classes (e.g., airplane)

Queueing Network Models So far we have been talking about a queue in isolation In a queueing network model, there can be multiple queues, connected in series or in parallel (e.g., CPU, disk, teller) Two versions: Open queueing network models Closed queueing network models

Open Queueing Network Models Assumes that arrivals occur externally from outside the system Infinite population, with a fixed arrival rate, regardless of how many in system Unbounded number of customers are permitted within the system Departures leave the system (forever)

Open Queueing Network Example CPU Disk A Disk B Jobs In Jobs Out

Closed Queueing Network Models Assumes that there is a finite number of customers, in a self-contained world Finite population; arrival rate varies depending on how many and where Fixed number of customers (N) that recirculate in the system (forever) Can be analyzed using Mean Value Analysis (MVA) and balance equations

Closed Queueing Network Example CPU Disk A Disk B

Open Queueing Network Analysis Analysis makes use of response time relationship, Little’s Law, visit ratios, Jackson’s Theorem, M/M/1 results, etc. For a fixed-capacity service center i in an open queueing network, the response time Ri is given by Ri = Si (1 + Qi) where Ri is the mean response time, Si is the mean service time, and Qi is the mean number of customers in the queue

Closed Queueing Network Analysis Self-contained system: finite customer population, no external inputs/outputs Finite population implies that arrival rates at different queues depend on the distribution of customers in the network Analysis makes use of iterative and/or recursive solution to compute mean values of performance measures (MVA)

Mean Value Analysis (MVA) A clever analysis technique for closed queueing network models (only) Provides information about the mean values of performance measures (e.g., queue size, response time), but not their variance, etc The crux of the analysis is given by Ri (N) = Si (1 + Qi (N-1) ) where Ri is the mean response time for N customers, Si is the mean service time, and Qi is the mean number of customers in the queue when there are N-1 in the system