Docsity

Queueing Theory: Simulation, MG1, and Open Queueing Networks, Cheat Sheet of Performance Evaluation

Toggle sidebar
bg1
Simulation Lecture 4: Rezfan Pawirotaroeno
Batch means method: N-batches, n-in each batch , sample mean: , final estimator: ^
Sample variance: , , CI , z for 95%= 1.96
M|G|1 queueing lecture 5: | MG1 FCFS:
Erlang’s loss formula after MMmm: | Littles Law to simplify:
First moment: E[S] , 2nd moment E[S2] → remaining time: mean response MG1: --------------→
Note that: , e.g. for exp. Dist. , then with higher variability comes higher response time!
MG1 priority service: Waiting time Wr given by: i.e. = remaining time of job in service+time needed 2 serve
all jobs priority k already in system+ time needed to serve higher priority jobs.
Substitution: E[Wr] = →
MM1 PS model: same as MM1 FCFS, also has: , ,
Open queueing Networks lecture 7:
FFQN vs JQN: if q nonempty, next customer exponentially distributed rate after own service time: , if q empty after departure → next
customer arrive after exp dist. Lambda & own service time miu (hopo-exponential: lambda & miu:
FFQN: Steady state prob: e.g. 3 nodes in series
Prob calculation x,x,x: | Combination poisson process:
Traffic equations: lambda 1,2,3,4, get lambda E[N]
JQN: Steady state prob: with: stable when rho < 1.
Expected number of jobs in system:
Tandem queue, average # customer 2nd queue: | M/D/1 (bakery): mean length: | M/Ek/1 (patient), mean L:
M/G/1 (mechanic random arrive): # of mechanic: | M/G/1 (machine shop repair motor): , (see next line2)
expected w8 time: , ultimately need: | ultimately calculate:
M/G/1 PS MODEL with limitation on service rate? -> M/M/m FCFC, steady-state M/M/m can be reduced.
M/G/1 PS MODEL with no limitation on service rate? -> M/M/1 FCFS .
PS HW3: E[D] = mean download time, f i.e. mean job size (mean # of downloads), throughput:
Bottleneck: highest rho = bottleneck, for weakest link.
HW3 ANS: , E[D] = E[N]/lambda
Steady state:
m jobs:

Partial preview of the text

Download Queueing Theory: Simulation, MG1, and Open Queueing Networks and more Cheat Sheet Performance Evaluation in PDF only on Docsity!

Simulation Lecture 4: Rezfan Pawirotaroeno Batch means method: N-batches, n-in each batch , sample mean: , final estimator: ^ Sample variance: , , CI , z for 95%= 1. M|G|1 queueing lecture 5: | MG1 FCFS: Erlang’s loss formula after MMmm: | Littles Law to simplify: First moment: E[S] , 2nd^ moment E[S^2 ] → remaining time: mean response MG1: --------------→ Note that: , e.g. for exp. Dist. , then with higher variability comes higher response time! MG1 priority service: Waiting time Wr given by: i.e. = remaining time of job in service+time needed 2 serve all jobs priority k already in system+ time needed to serve higher priority jobs. Substitution: E[Wr] = → MM1 PS model: same as MM1 FCFS, also has: , , Open queueing Networks lecture 7: FFQN vs JQN: if q nonempty, next customer exponentially distributed rate after own service time: , if q empty after departure → next customer arrive after exp dist. Lambda & own service time miu (hopo-exponential: lambda & miu: FFQN : Steady state prob: e.g. 3 nodes in series Prob calculation x,x,x: | Combination poisson process: Traffic equations: lambda 1,2,3,4, get lambda E[N] JQN : Steady state prob: with: stable when rho < 1. Expected number of jobs in system: Tandem queue, average # customer 2nd^ queue: | M/D/1 (bakery): mean length: | M/Ek/ 1 (patient), mean L: M/G/1 (mechanic random arrive): # of mechanic: | M/G/1 (machine shop repair motor): , (see next line2) expected w8 time: , ultimately need: | ultimately calculate: M/G/1 PS MODEL with limitation on service rate? - > M/M/m FCFC, steady-state M/M/m can be reduced. M/G/1 PS MODEL with no limitation on service rate? - > M/M/1 FCFS. PS HW3: E[D] = mean download time, f i.e. mean job size (mean # of downloads), throughput: Bottleneck: highest rho = bottleneck, for weakest link. HW3 ANS: , E[D] = E[N]/lambda Steady state: m jobs: