Energy-Aware M^X/G/1 Queue

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
In queueing theory, an /
/1 queue (in Kendall notation) is a model in which arrivals satisfy a Markovian distribution
, service times have an unknown distribution, called a general distribution
, and there is a single server. Additional notation: PS indicates that there is processor sharing on the server, while
indicates that the arrival distribution is batch Markovian with a random number
of simultaneous arrivals.
Contributed by: Misikir Eyob Gebrehiwot (October 2015)
Open content licensed under CC BY-NC-SA
Snapshots
Details
Snapshot 1: no setup delay (cost) incurred to turn system on from sleep, and system is allowed to remain idle
Snapshot 2: no setup delay (cost), and system is put to sleep immediately when it becomes idle (idle time is 0)
Snapshot 3: setup delay is 5 time units, and system is put to sleep whenever it is idle for 10 time units (idle time is 10)
In Snapshot 1, the setup delay from sleep to busy state is zero (server can be set up immediately). But the system does not benefit from this situation because it does not go to sleep when it is idle, thus resulting in a wasted opportunity to save energy.
In Snapshot 2, the setup delay is zero, and the system is switched to sleep state immediately when it becomes idle, giving a much lower mean power consumption compared to the scenario in Snapshot 1. Note that mean response time roughly remains the same as in Snapshot 1, any variation coming only from the stochastic nature of the simulation.
In Snapshot 3, it takes 5 time units to start the server from sleep, and the system has an idling timer that puts the server to sleep when it expires. This gives longer response times and slightly lower power consumption.
More on /
/1 queues can be found in [1], and more on energy-performance tradeoff in
/
/1 systems in [2].
References
[1] L. Kleinrock, Queueing Systems, Volume I: Theory, New York: Wiley, 1975.
[2] M. Gebrehiwot, S. Aalto, and P. Lassila, "Optimal Sleep-State Control of Energy-Aware M/G/1 Queues," in Proceedings of the 8th International Conference on Performance Evaluation Methodologies and Tools, Brussels: ICST, 2014 pp. 82–89. eudl.eu/doi/10.4108/icst.valuetools.2014.258149.
Permanent Citation