Title :
A prioritized multiprocessor spin lock
Author :
Johnson, Theodore ; Harathi, Krishna
Author_Institution :
AT&T Bell Labs., Florham Park, NJ, USA
fDate :
9/1/1997 12:00:00 AM
Abstract :
In this paper, we present the PR lock, a prioritized spin lock mutual exclusion algorithm. The PR lock is a contention-free spin lock, in which blocked processes spin on locally stored or cached variables. In contrast to previous work on prioritized spin locks, our algorithm maintains a pointer to the lock holder. As a result, our spin lock can support operations on the lock holder (e.g., for abort ceiling protocols). Unlike previous algorithms, all work to maintain a priority queue is done while a process acquires a lock when it is blocked anyway. Releasing a lock is a constant time operation. We present simulation results that demonstrate the prioritized acquisition of locks, and compare the performance of the PR lock against that of the best alternative prioritized spin lock
Keywords :
performance evaluation; processor scheduling; protocols; real-time systems; PR lock; abort ceiling protocols; performance; prioritized multiprocessor spin lock; prioritized spin lock mutual exclusion algorithm; simulation results; Access protocols; Content addressable storage; Dynamic scheduling; Helium; Kernel; Parallel processing; Real time systems; Scheduling algorithm; Tail; Testing;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on