Paper record

W2069278684

The performance of spin lock alternatives for shared-memory multiprocessors

Thomas E. Anderson

Year
1990
Venue
IEEE Transactions on Parallel and Distributed Systems
References
22
Cited by
694

Details and counts from OpenAlex.

Abstract

The author examines the questions of whether there are efficient algorithms for software spin-waiting given hardware support for atomic instructions, or whether more complex kinds of hardware support are needed for performance. He considers the performance of a number of software spin-waiting algorithms. Arbitration for control of a lock is in many ways similar to arbitration for control of a network connecting a distributed system. He applies several of the static and dynamic arbitration methods originally developed for networks to spin locks. A novel method is proposed for explicitly queueing spinning processors in software by assigning each a unique number when it arrives at the lock. Control of the lock can then be passed to the next processor in line with minimal effect on other processors.>