Title :
Queue locks on cache coherent multiprocessors
Author :
Magnusson, Peter ; Landin, Anders ; Hagersten, Erik
Author_Institution :
Swedish Inst. of Comput. Sci., Sweden
Abstract :
Large-scale shared-memory multiprocessors typically have long latencies for remote data accesses. A key issue for execution performance of many common applications is the synchronization cost. The communication scalability of synchronization has been improved by the introduction of queue-based spin-locks instead of Test&(Test&Set). For architectures with long access latencies for global data, attention should also be paid to the number of global accesses that are involved in synchronization. We present a method to characterize the performance of proposed queue lock algorithms, and apply it to previously published algorithms. We also present two new queue locks, the LH lock and the M lock. We compare the locks in terms of performance, memory requirements, code size and required hardware support. The LH lock is the simplest of all the locks, yet requires only an atomic swap operation. The M lock is superior in terms of global accesses needed to perform synchronization and still competitive in all other criteria. We conclude that the M lock is the best overall queue lock for the class of architectures studied
Keywords :
buffer storage; concurrency control; performance evaluation; queueing theory; shared memory systems; synchronisation; access latencies; cache coherent multiprocessors; code size; communication scalability; execution performance; global access; global data; hardware support; large-scale shared-memory multiprocessor; memory requirements; performance; queue lock algorithm; queue-based spin-locks; remote data access; synchronization cost; Algorithm design and analysis; Computer science; Costs; Delay; Hardware; Performance analysis; Queueing analysis; Scalability; Silicon carbide; Testing;
Conference_Titel :
Parallel Processing Symposium, 1994. Proceedings., Eighth International
Conference_Location :
Cancun
Print_ISBN :
0-8186-5602-6
DOI :
10.1109/IPPS.1994.288305