Title :
Experimental comparison of emulated lock-free vs. fine-grain locked data structures on the Cray XMT
Author :
Farber, Rob ; Mizell, David
Author_Institution :
Pacific Northwest Nat. Lab., Richland, WA, USA
Abstract :
Three implementations of a concurrently-updateable linked list were compared, one that emulates a lock-free approach based on a compare-and-swap instruction, one that makes direct use of the Cray XMT´s full-empty synchronization bits on every word of memory, and a third that uses the XMT´s atomic int_fetch_add instruction. The relative performance of the three implementations was experimentally compared on a 512-processor XMT. The direct implementation approach performed up to twice as fast as the other two approaches under conditions of low contention, but the three implementations performed about the same when the amount of contention was high.
Keywords :
data structures; instruction sets; multi-threading; synchronisation; 512-processor XMT; Cray XMT; compare-and-swap instruction; concurrently-updateable linked list; emulated lock-free data structure; fine-grain locked data structures; instruction set; synchronization bits; Cray XMT; lock-free; parallel algorithm;
Conference_Titel :
Parallel & Distributed Processing, Workshops and Phd Forum (IPDPSW), 2010 IEEE International Symposium on
Conference_Location :
Atlanta, GA
Print_ISBN :
978-1-4244-6533-0
DOI :
10.1109/IPDPSW.2010.5470685