Polling system explained
In queueing theory, a discipline within the mathematical theory of probability, a polling system or polling model is a system where a single server visits a set of queues in some order.[1] The model has applications in computer networks and telecommunications,[2] manufacturing[3] [4] and road traffic management. The term polling system was coined at least as early as 1968[5] [6] and the earliest study of such a system in 1957 where a single repairman servicing machines in the British cotton industry was modelled.[7]
Typically it is assumed that the server visits the different queues in a cyclic manner. Exact results exist for waiting times, marginal queue lengths and joint queue lengths[8] at polling epochs in certain models.[9] Mean value analysis techniques can be applied to compute average quantities.[10]
In a fluid limit, where a very large number of small jobs arrive the individual nodes can be viewed to behave similarly to fluid queues (with a two state process).[11]
Model definition
A group of n queues are served by a single server, typically in a cyclic order 1, 2, …, n, 1, …. New jobs arrive at queue i according to a Poisson process of rate λi and are served on a first-come, first-served basis with each job having a service time denoted by an independent and identically distributed random variables Si.
The server chooses when to progress to the next node according to one of the following criteria:[12]
- exhaustive service, where a node continues to receive service until the buffer is empty.
- gated service, where the node serves all traffic that was present at the instant that the server arrived and started serving, but subsequent arrivals during this service time must wait until the next server visit.
- limited service, where a maximum fixed number of jobs can be served in each visit by the server.[13]
If a queueing node is empty the server immediately moves to serve the next queueing node.
The time taken to switch from serving node i − 1 and node i is denoted by the random variable di.
Utilization
Define ρi = λi E(Si) and write ρ = ρ1 + ρ2 + … + ρn. Then ρ is the long-run fraction of time the server spends attending to customers.[14]
Waiting time
Expected waiting time
For gated service, the expected waiting time at node i is
and for exhaustive service
where
Ci is a random variable denoting the time between entries to node
i and
[15]
The variance of
Ci is more complicated and a straightforward calculation requires solving
n2 linear equations and
n2 unknowns,
[16] however it is possible to compute from
n equations.
[17] Heavy traffic
See main article: Heavy traffic approximation. The workload process can be approximated by a reflected Brownian motion in a heavily loaded and suitably scaled system if switching servers is immediate[18] and a Bessel process when switching servers takes time.[19]
Applications
Polling systems have been used to model Token Ring networks.[20]
External links
Notes and References
- Book: Boxma . O. J. . Onno Boxma. Weststrate . J. A. . Waiting Times in Polling Systems with Markovian Server Routing . 10.1007/978-3-642-75079-3_8 . Messung, Modellierung und Bewertung von Rechensystemen und Netzen . Informatik-Fachberichte . 218 . 89 . 1989 . 978-3-540-51713-9 . https://ir.cwi.nl/pub/5899 .
- Carsten . R. . Newhall . E. . Posner . M. . 10.1109/TCOM.1977.1093936 . A Simplified Analysis of Scan Times in an Asymmetrical Newhall Loop with Exhaustive Service . . 25 . 9 . 951 . 1977 .
- Karmarkar . U. S. . Lot Sizes, Lead Times and In-Process Inventories . 10.1287/mnsc.33.3.409 . Management Science. 33 . 3 . 409–418 . 1987 . 2631860.
- Zipkin . P. H. . 10.1287/opre.34.1.91 . Models for Design and Control of Stochastic, Multi-Item Batch Production Systems . Operations Research. 34 . 1 . 91–104 . 170674. 1986 .
- Leibowitz . M. A. . Queues . 10.1038/scientificamerican0868-96 . Scientific American. 219 . 2 . 96–103 . 1968 .
- Book: Takagi . H. . Analysis and Application of Polling Models . 10.1007/3-540-46506-5_18 . Performance Evaluation: Origins and Directions . LNCS. 1769 . 423–442 . 2000 . 978-3-540-67193-0 . 2241/530 .
- Mack . C. . Murphy . T. . N. L. . Webb . 1957 . The Efficiency of N Machines Uni-Directionally Patrolled by One Operative when Walking Time and Repair Times are Constants . . 19 . 1 . 166–172 . 2984003. 10.1111/j.2517-6161.1957.tb00253.x .
- Resing . J. A. C. . Polling systems and multitype branching processes . 10.1007/BF01149263 . Queueing Systems. 13 . 4 . 409–426 . 1993 .
- Borst . S. C. . Polling systems with multiple coupled servers . 10.1007/BF01245325 . Queueing Systems. 20 . 3–4 . 369–393 . 1995 .
- Wierman . A. . Adam Wierman. Winands . E. M. M. . Boxma . O. J. . Onno Boxma. 10.1016/j.peva.2007.06.015 . Scheduling in polling systems . Performance Evaluation. 64 . 9–12 . 1009 . 2007 . 10.1.1.486.2326 .
- Czerniak . O. . Yechiali . U. . 10.1007/s11134-009-9129-6 . Fluid polling systems . Queueing Systems. 63 . 1–4 . 401–435 . 2009 .
- Everitt . D. . Simple Approximations for Token Rings . 10.1109/TCOM.1986.1096599 . IEEE Transactions on Communications. 34 . 7 . 719–721 . 1986 .
- Takagi . H. . 10.1145/62058.62059 . Queuing analysis of polling models . ACM Computing Surveys. 20 . 5–28 . 1988 .
- Book: Gautam, Natarajan . Analysis of Queues: Methods and Applications . 2012 . CRC Press . 9781439806586.
- Eisenberg . M. . Queues with Periodic Service and Changeover Time . 10.1287/opre.20.2.440 . Operations Research. 20 . 2 . 440–451 . 169005. 1972 .
- Ferguson . M. . Computation of the Variance of the Waiting Time for Token Rings . 10.1109/JSAC.1986.1146407 . IEEE Journal on Selected Areas in Communications. 4 . 6 . 775–782 . 1986 .
- Sarkar . D. . Zangwill . W. I. . 10.1287/mnsc.35.12.1463 . Expected Waiting Time for Nonsymmetric Cyclic Queueing Systems—Exact Results and Applications . Management Science. 35 . 12 . 1463 . 1989 . 2632232.
- Coffman . E. G. . Edward G. Coffman, Jr.. Puhalskii . A. A. . Reiman . M. I. . 10.1214/aoap/1177004701 . Polling Systems with Zero Switchover Times: A Heavy-Traffic Averaging Principle . The Annals of Applied Probability . 5 . 3 . 681 . 1995 . 2245120. free .
- Coffman . E. G. . Edward G. Coffman, Jr. . Puhalskii . A. A. . Reiman . M. I. . 10.1287/moor.23.2.257 . Polling Systems in Heavy Traffic: A Bessel Process Limit . . 23 . 2 . 257–304 . 1998 . 3690512 . 10.1.1.27.6730 .
- Bux . W. . Token-ring local-area networks and their performance . 10.1109/5.18625 . Proceedings of the IEEE. 77 . 2 . 238–256 . 1989 .