WOLFRAM|DEMONSTRATIONS PROJECT

Scalings of a GI/G/1 Queue Realization

​
seed
1
2
3
4
distributions
interarrival
deterministic
uniform
exponential
Pareto
service
deterministic
uniform
exponential
Pareto
ρ
0.8
initialqueue
A GI/G/1 queue is a queuing system with a single server and infinite capacity. Jobs arrive according to a renewal process with a given interarrival distribution having mean
-1
λ
and service times are i.i.d. with mean
-1
μ
. The traffic intensity is defined as
ρ=λ/μ
, which is a natural measure of the load on the system. It is well known that the queue length process is ergodic only if
ρ<1
. It is also known that when
ρ<1
, the queue length is typically larger when there is more variability in the interarrival and/or the service time distributions.
In this Demonstration we simulate the queue using interarrival and processing time sequences that are either deterministic or taken from a uniform (1/2, 3/2) distribution (which is not so variable), the more variable exponential distribution, or a very variable, heavy-tailed Pareto (1/3, 3/2) distribution that does not have a finite second moment. We then scale the processing times such that the offered load is the desired value of
ρ
.
For a given sequence, you may change the initial queue conditions and the offered load and see how the queue length realization continuously changes as the time sequences are scaled. Use this to examine the behavior of the queue in the stable (
ρ<1
), critically loaded (
ρ≈1
), and unstable (
ρ>1
) regimes.