Abstract
A special occurrence of a phenomenon calledprocessor thrashing caused by processor lockouts within the dispatcher of a symmetric multiprocessor system is studied. Results derived from simulation experiments involving up to 16 processors show that the potential danger of processor thrashing can be reduced noticably by locking only parts of the dispatcher's data during a specific dispatcher operation. The algorithms and data structure of a highly efficient implementation are outlined based on this principle and its performance is compared with a simple monitor realization of a dispatcher.
Zusammenfassung
Gegenstand der experimentellen Studie ist ein unter dem BegriffProzessorflattern bekanntes Phänomen, das durch Prozessor-Aussperrungen bei der Prozessorvergabe eines symmetrischen Mehrprozessorsystems verursacht wird. Durch die Ergebnisse von Simulationsversuchen mit bis zu 16 Prozessoren wird nachgewiesen, daß die Gefahr von Prozessorflattern wesentlich dadurch reduziert werden kann, daß nur Teile der Daten zur Prozessorvergabe im Verlaufe einer Vergabe-Operation verriegelt werden. Algorithmen und Datenstruktur einer effizienten, auf diesem Prinzip beruhenden Implementierung werden mit einer einfachen Monitor-Realisierung für die Prozessorvergabe verglichen.
Similar content being viewed by others
References
Brinch-Hansen, P.: Operating System Principles, 2nd ed. (Prentice-Hall Series in Automatic Computation). 1973.
Denning, P. J.: Thrashing: Its Causes and Prevention. FJCC1968, 915–922.
Denning, P. J.: Virtual Memory. Computing Surveys2, 153–189 (1970).
Hoare, C. A. R.: Monitors: An Operating System Structuring Concept. Comm. ACM11, 549–557 (1974).
Knuth, D. E.: The Art of Computer Programming, Vol. 3, 2nd ed. Addison-Wesley Publishing Company 1973.
Nehmer, J., Fleck, G.: Simulation von Betriebssoftware auf einer virtuellen PL/I-Maschine. Lecture Notes in Economics and Mathematical Systems78, 253–262 (1972).
Nehmer, J.: Dispatcher-Elementarfunktionen für symmetrische Mehrprozessor-DV-Systeme. dissertation at the University of Karlsruhe (Fakultät für Informatik), 1973.
Nehmer, J.: Dispatcher Primitives for the Construction of Operating System Kernels. Acta Informatica5, 237–255 (1975).
Saltzer, J. H.: Traffic Control in a Multiplexed Computer System. Dissertation at MIT, 1966.
Wettstein, H.: Prozeßumschaltungen in Betriebssystemen. Computing12, 363–382 (1974).
Zelkowitz, M. V.: Structured Operating System Organization. IPL3, 39–42 (1974).
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Nehmer, J. An experimental study of processor thrashing in multiprocessor systems. Computing 18, 185–197 (1977). https://doi.org/10.1007/BF02253206
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02253206