120 likes | 227 Vues
This document explores essential topics in queueing theory, focusing on performance measures such as waiting time, number of customers, and system utilization. It covers various queue models including M/M/1 and incorporates concepts like arrival rates and service rates. Key performance metrics like Lq (average number in queue) and Wq (average waiting time) are derived from Little’s Law, highlighting the effects of server utilization. Additionally, it discusses factors often ignored in basic models, such as rush-hour effects, batching, and queue pooling.
E N D
Previously • Optimization • Probability Review • Inventory Models • Markov Decision Processes
Agenda • Queues
T time in system Tq waiting time (time in queue) N #customers in system Nq #customers in queue W = E[T] Wq= E[Tq] L = E[N] Lq= E[Nq] fraction of time servers are busy (utilization) departures arrivals queue servers system Performance Measures
Plain-Vanilla Queue • 1 queue, • 1 class of customers • identical servers • time between customer arrivals is independent • mean rate of arrivals, rate of serviceconstant
What Are We Ignoring? • Rush-hour effects • Priority classes • Balking, Reneging, Jockeying • Batching • Multi-step processes • Queue capacity
Parameters • mean arrival rate of customers (per unit time) • c servers • µ mean service rate (per unit time)
Some Relations • = /(cµ) utilization • c = /µ average # of busy servers • W = Wq + 1/µ • L = Lq + c • Little’s Law:Lq = Wq and L = W
Lq So What is Lq? • Depends on details. M/M/1 queue (exponential arrival times, exponential processing times, 1 server)
Qualitatively • Dependence on 1 means Lq • Increased variability (arrival / service times) • Lq increases • Pooling queues • Lq decreases
number of servers: 1, 2, … distribution of the time between arrivals distribution of the processing time Queue Notation M/M/1 D/M/1 M/G/3 … M / M / 1 M = ‘Markov’ exponential distribution D = ‘Deterministic’ constant G = ‘General’ other
Back to Lq… • Lq=E[Nq] • M/G/1 • 2 = variance of the service time • M/D/1 • M/M/1
M/M/1 • N+1 has distribution Geometric(1-) • Var[Nq] = (1+-2) 2/(1-)2 • StDev[Nq] > E[Nq] / • Pooling queues decreases Lq Ex. (p501) 3 clinics with 1 nurse each (M/M/1) =4/hr, µ=1/13min =87%, Lq=5.6, Wq=1.4hr Consolidated (M/M/3) =12/hr, µ=60/13hr, =87% Lq=4.9, Wq=0.4