Generalized processor sharing
Generalized processor sharing (GPS) is an ideal scheduling algorithm for process schedulers and network schedulers. It is related to the fair-queuing principle which groups packets into classes and shares the service capacity between them. GPS shares this capacity according to some fixed weights. In process scheduling, GPS is "an idealized scheduling algorithm that achieves perfect fairness. All practical schedulers approximate GPS and use it as a reference to measure fairness." Generalized processor sharing assumes that traffic is fluid (infinitesimal packet sizes), and can be arbitrarily split. There are several service disciplines which track the performance of GPS quite closely such as weighted fair queuing (WFQ), also known as packet-by-packet generalized processor sharing (PGPS).
Generalized processor sharing (GPS) is an ideal scheduling algorithm for process schedulers and network schedulers. It is related to the fair-queuing principle which groups packets into classes and shares the service capacity between them. GPS shares this capacity according to some fixed weights. In process scheduling, GPS is "an idealized scheduling algorithm that achieves perfect fairness. All practical schedulers approximate GPS and use it as a reference to measure fairness." Generalized processor sharing assumes that traffic is fluid (infinitesimal packet sizes), and can be arbitrarily split. There are several service disciplines which track the performance of GPS quite closely such as weighted fair queuing (WFQ), also known as packet-by-packet generalized processor sharing (PGPS). R_i = \frac{w_i}{\sum_{j=1}^N w_j} R where R is the rate of the server. This is a minimal rate. If some flow does not use its bandwidth during some period, this remaining capacity is shared by the active flows with regard to their respective weights. For example, consider a GPS server with w_1=2,w_2=w_3=1 . The first flow will receive at least half of the capacity, whereas the other two only get . Nevertheless, if on some time interval (s,t] , only the second and third flows are active, they will receive each one half of the capacity.
References
- ^ Bennett, J. C. R.; Hui Zhang (1996). "WF/sup 2/Q: Worst-case fair weighted fair queueing". Proceedings of IEEE INFOCOM '96. Conference on Computer Communications . Vol. 1. p. 120. doi : 10.1109/INFCOM.1996.497885 . ISBN 978-0-8186-7293-4 . S2CID 17558577 . Wikipedia revision 1369580538, retrieved 2026-11-19 · 1795042800.0
- ^ Demers, A.; Keshav, S.; Shenker, S. (1989). "Analysis and simulation of a fair queueing algorithm" . ACM SIGCOMM Computer Communication Review . 19 (4): 1. doi : 10.1145/75247.75248 . Wikipedia revision 1369580538, retrieved 2026-11-19 · 1795042800.0
- ^ a b Li, T.; Baumberger, D.; Hahn, S. (2009). "Efficient and scalable multiprocessor fair scheduling using distributed weighted round-robin" (PDF) . ACM SIGPLAN Notices . 44 (4): 65. doi : 10.1145/1594835.1504188 . Wikipedia revision 1369580538, retrieved 2026-11-19 · 1795042800.0
- ^ a b Parekh, A. K.; Gallager, R. G. (1993). "A generalized processor sharing approach to flow control in integrated services networks: The single-node case" (PDF) . IEEE/ACM Transactions on Networking . 1 (3): 344. doi : 10.1109/90.234856 . Wikipedia revision 1369580538, retrieved 2026-11-19 · 1795042800.0
Cite this
"Generalized processor sharing". 1786822233. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1369580538