DocumentCode
2541026
Title
MP-LOCKs: replacing H/W synchronization primitives with message passing
Author
Kuo, Chen-Chi ; Carter, John ; Kuramkote, Ravindra
Author_Institution
Dept. of Comput. Sci., Utah Univ., Salt Lake City, UT, USA
fYear
1999
fDate
9-13 Jan 1999
Firstpage
284
Lastpage
288
Abstract
Shared memory programs guarantee the correctness of concurrent accesses to shared data using interprocessor synchronization operations. The most common synchronization operators are locks, which are traditionally implemented via a mix of shared memory accesses and hardware synchronization primitives like test-and-set. In this paper, we argue that synchronization operations implemented using fast message passing and kernel-embedded lock managers are an attractive alternative to dedicated synchronization hardware. We propose three message passing lock (MP-LOCK) algorithms (centralized, distributed, and reactive) and provide implementation guidelines. MP-LOCKs reduce the design complexity and runtime occupancy of DSM controllers and can exploit software´s inherent flexibility to adapt to differing applications lock access patterns. We compared the performance of MP-LOCKs with two common shared memory lock algorithms: test-and-test-and-set and MCS locks and found that MP-LOCKs scale better. For machines with 16 to 32 nodes, applications using MP-LOCKs ran up to 186% faster than the same applications with shared memory locks. For small systems (up to 8 nodes), three applications with MP-LOCKs slow down by no more than 18%, while the other two slowed by no more than 180% due to higher software overhead. We conclude that locks based on message passing should be considered as a replacement for hardware locks in future scalable multiprocessors that support efficient message passing mechanisms
Keywords
computational complexity; message passing; shared memory systems; synchronisation; MP-LOCKs; design complexity; hardware synchronization primitives; interprocessor synchronization operations; message passing; message passing lock algorithms; runtime occupancy; scalable multiprocessors; shared memory accesses; shared memory programs; Birth disorders; Cities and towns; Computer science; Contracts; Guidelines; Hardware; Message passing; Radio access networks; Testing; US Government;
fLanguage
English
Publisher
ieee
Conference_Titel
High-Performance Computer Architecture, 1999. Proceedings. Fifth International Symposium On
Conference_Location
Orlando, FL
Print_ISBN
0-7695-0004-8
Type
conf
DOI
10.1109/HPCA.1999.744381
Filename
744381
Link To Document