Lindsay Mullen Seminar Presentation #2 November 4, 2013

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)
© 2006, Monash University, Australia CSE4884 Network Design and Management Lecturer: Dr Carlo Kopp, MIEEE, MAIAA, PEng Lecture 5 Queueing Theory Concepts.
Queueing Theory: Recap
System Performance & Scalability i206 Fall 2010 John Chuang.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Chapter 13 Queuing Theory
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Waiting Lines Queues.
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
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.
Queueing Theory.
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.
Group members  Hamid Ullah Mian  Mirajuddin  Safi Ullah.

Location Models For Airline Hubs Behaving as M/D/C Queues By: Shuxing Cheng Yi-Chieh Han Emile White.
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
Spreadsheet Modeling & Decision Analysis
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
Probability Review Thinh Nguyen. Probability Theory Review Sample space Bayes’ Rule Independence Expectation Distributions.
Introduction to Operations Research
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.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Introduction to Queueing Theory
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
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.
Modeling and Simulation Queuing theory
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
CS352 - Introduction to Queuing Theory Rutgers University.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
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.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
Waiting Line Theory Akhid Yulianto, SE, MSc (log).
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
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.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
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.
1 BIS 3106: Business Process Management (BPM) Lecture Nine: Quantitative Process Analysis (2) Makerere University School of Computing and Informatics Technology.
Software Architecture in Practice Theoretical Models for Performance.
Lecture 14 – Queuing Networks
Load Balancing and Data centers
Al-Imam Mohammad Ibn Saud University
Lecture on Markov Chain
Finite M/M/1 queue Consider an M/M/1 queue with finite waiting room.
CSCI1600: Embedded and Real Time Software
CPSC 531: System Modeling and Simulation
Queueing Theory Carey Williamson Department of Computer Science
Waiting Lines Queues.
System Performance: Queuing
Queuing Theory By: Brian Murphy.
Introduction to Queueing Theory
Queueing networks.
Lecture 14 – Queuing Networks
Queueing Theory 2008.
Carey Williamson Department of Computer Science University of Calgary
Course Description Queuing Analysis This queuing course
Presentation transcript:

Lindsay Mullen Seminar Presentation #2 November 4, 2013 Queueing Theory Lindsay Mullen Seminar Presentation #2 November 4, 2013 Computer Science Applied Mathematics Discrete Mathematics Operation Research Queueing Theory

Operation Research Science of decision-making Combines mathematics, statistics, computer science, physics, engineering, economics, and social sciences to solve real-world business problems Established discipline during World War II when the British government recruited scientists to solve problems in critical military operations There are now many Operation Research departments in industry, government, and academia throughout the world.

Successful Areas of Operation Research Airline Industry Telecommunications Manufacturing Industry Healthcare Transportation

What is Queueing Theory? A queue is a waiting line (like customers waiting at a supermarket checkout counter) Queueing theory is the mathematical theory of waiting lines Concerned with the mathematical modeling and analysis of systems that provide service to random demands (i.e. business decisions providing a service)

History of Queueing Theory Queueing theory was born in the early 1900s with the work of Agner K. Erlang of the Copenhagen Telephone Company Erlang derived several important formulas for teletraffic engineering Erlang published the first paper on what would now be called queueing theory in 1909

History continued… He modeled the number of telephone calls arriving at an exchange by a Poisson process and solved the M/D/1 queue in 1917 and M/D/k queueing model in 1920 M (Markov chain or memoryless) - arrivals occur according to a Poisson process D (deterministic) - jobs arriving at the queue require a fixed amount of service k - number of servers at the queueing node (k = 1, 2,...)

History continued… The M/G/1 model was solved by Felix Pollaczek in 1930, a solution later recast in probabilistic terms by Aleksandr Khinchin and now known as the Pollaczek–Khinchin formula. After World War II queueing theory became an area of research interest to mathematicians. In 1953, David George Kendall created the Kendall’s notation which is the standard system used to describe and classify a queueing node. (A/S/C) Work on queueing theory used in modern packet switching networks was performed in the early 1960s by Leonard Kleinrock. It was in this period that John Little gave a proof of the formula which now bears his name: Little's law Inventory =Throughput (number of customers served per unit time)× Flow Time In 1961 John Kingman gave a formula for the mean waiting time in a G/G/1 queue: Kingman's formula.

Queueing Model Queueing model represents (1) the system's physical configuration, by specifying the number and arrangement of the servers, which provide service to the customers AND (2) the stochastic (that is, probabilistic or statistical) nature of the demands, by specifying the variability in the arrival process and in the service process

Queue Nodes and Networks Single queueing nodes are usually described using Kendall's notation in the form A/S/C where A describes the time between arrivals to the queue, S the size of jobs and C the number of servers at the node. Many theorems in queue theory can be proven by reducing queues to mathematical systems known as Markov chains (It is a random process usually characterized as memoryless) Networks of queues are systems in which a number of queues are connected by customer routing

A/S/C

A/S/C

Service Disciplines First in first out This principle states that customers are served one at a time and that the customer that has been waiting the longest is served first. Last in first out This principle also serves customers one at a time, however the customer with the shortest waiting time will be served first. Also known as a stack. Processor sharing  Service capacity is shared equally between customers. Priority  Customers with high priority are served first. Shortest job first The next job to be served is the one with the smallest size Preemptive shortest job first The next job to be served is the one with the original smallest size Shortest remaining processing time The next job to serve is the one with the smallest remaining processing requirement

Models of Queueing Nodes

Models continued…

Examples of How This Theory is Used Now •Queues are visibly found in everyday life! – Supermarket checkout – Traffic lights – Waiting for the elevator – Waiting at a gas station – Waiting at passport control – Waiting at a doctor’s office – Paperwork waiting at somebody’s office to be processed

Measures of Interest Mean waiting time Percentile of the waiting time, i.e. what percent of the waiting customers wait more than x amount of time. Utilization of the server Throughput, i.e. number of customers served per unit time. Average number of customers waiting Distribution of the number of waiting customers, i.e. Probability [n customers wait], n=01,1,2,…

Disney Build the story Split lines Turns Holding areas Virtual spots

Queues that Cannot Be Seen There are also queues that we cannot see (unless we use a software/hardware system), such as: – Streaming a video – Web services – On hold at a call center

Current Research Problems such as performance metrics for the M/G/k queue remain an open problem M/G/k queue is a queue model where arrivals are Markovian (modulated by a Poisson process), service times have a General distribution and there are k servers An extension of the M/M/c queue, where service times must be exponentially distributed and of the M/G/1 queue with a single server

References http://www.maa.org/mathematics-and-operations-research-in-industry http://www.cse.fau.edu/~bob/publications/encyclopedia.pdf http://en.wikipedia.org/wiki/Queue_theory http://www4.ncsu.edu/~hp/SSME_QueueingTheory.pdf http://www.factoryphysics.com/principle/littleslaw.htm http://weakonomics.com/2012/10/24/queuing-theory-for-amusement-parks/