Queueing Theory Recap H Starting point MM1 Poisson

  • Slides: 12
Download presentation
Queueing Theory: Recap H Starting point: M/M/1 – Poisson arrivals – Exponential service times

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

Variations on the M/M/1 Queue H H H H M/G/1 - generalized service time

Variations on the M/M/1 Queue H H H H 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 2

Even More Variations (1 of 2) H Balking (discouraged arrivals) – As the queue

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

Even More Variations (2 of 2) H Server failures (e. g. , power outage)

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

Queueing Network Models H H H So far we have been talking about a

Queueing Network Models H H H 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 5

Open Queueing Network Models H H Assumes that arrivals occur externally from outside the

Open Queueing Network Models H H 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) 6

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

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

Closed Queueing Network Models H H Assumes that there is a finite number of

Closed Queueing Network Models H H 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 8

Closed Queueing Network Example Disk A CPU Disk B 9

Closed Queueing Network Example Disk A CPU Disk B 9

Open Queueing Network Analysis H H Analysis makes use of response time relationship, Little’s

Open Queueing Network Analysis H H 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 10

Closed Queueing Network Analysis H H H Self-contained system: finite customer population, no external

Closed Queueing Network Analysis H H H 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) 11

Mean Value Analysis (MVA) H H H A clever analysis technique for closed queueing

Mean Value Analysis (MVA) H H H 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 12