DocumentCode :
3110422
Title :
Optimizing a FIFO, scalable spin lock using consistent memory
Author :
Rhee, Injong
Author_Institution :
Dept. of Math. & Comput. Sci., Emory Univ., Atlanta, GA, USA
fYear :
1996
fDate :
4-6 Dec 1996
Firstpage :
106
Lastpage :
114
Abstract :
The paper presents a FIFO queue based, scalable spin lock (FSSL) that: (1) uses only one atomic swap operation; (2) is scalable as it requires a constant amount of communication; (3) runs without a coherent cache support; and (4) provides a timing guarantee suitable for real time applications. The algorithm is optimal in the number of atomic operations required to solve the scalable mutual exclusion problem in NUMA architectures, improving on T. Craig´s (1993) spin lock that uses four atomic swap operations. The FSSL algorithm minimizes the number of atomic operations by replacing them with non atomic read and write operations, and takes good advantage of recent multiprocessors where non atomic memory operations are much more optimized than atomic operations. The algorithm runs correctly in various weakly consistent memories, providing a potentially significant speedup over algorithms with more atomic operations
Keywords :
optimisation; parallel algorithms; queueing theory; real-time systems; shared memory systems; storage management; synchronisation; FIFO optimization; FIFO queue based scalable spin lock; FSSL algorithm; NUMA architectures; atomic operations; atomic swap operation; consistent memory; multiprocessors; non atomic memory operations; non atomic read; real time applications; scalable mutual exclusion problem; scalable spin lock; timing guarantee; weakly consistent memories; write operations; Computer science; Kernel; Large-scale systems; Microprocessors; Multiprocessing systems; Read-write memory; Real time systems; Timing; Upper bound; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Real-Time Systems Symposium, 1996., 17th IEEE
Conference_Location :
Los Alamitos, CA
ISSN :
1052-8725
Print_ISBN :
0-8186-7689-2
Type :
conf
DOI :
10.1109/REAL.1996.563705
Filename :
563705
Link To Document :
بازگشت