Title :
Scalable Techniques for Transparent Privatization in Software Transactional Memory
Author :
Marathe, Virendra J. ; Spear, Michael F. ; Scott, Michael L.
Author_Institution :
Dept. of Comput. Sci., Rochester Univ., Rochester, NY
Abstract :
We address the recently recognized privatization problem in software transactional memory (STM) runtimes, and introduce the notion of partially visible reads (PVRs) to heuristically reduce the overhead of transparent privatization. Specifically, PVRs avoid the need for a "privatization fence" in the absence of conflict with concurrent readers. We present several techniques to trade off the cost of enforcing partial visibility with the precision of conflict detection. We also consider certain special-case variants of our approach, e.g., for predominantly read-only workloads. We compare our implementations to prior techniques on a multicore Niagara1 system using a variety of artificial workloads. Our results suggest that while no one technique performs best in all cases, a dynamic hybrid of PVRs and strict in-order commits is stable and reasonably fast across a wide range of load parameters. At the same time, the remaining overheads are high enough to suggest the need for programming model or architectural support.
Keywords :
multiprocessing programs; software engineering; conflict detection; multicore Niagara1 system; partially visible reads; software transactional memory; special-case variants; transparent privatization; Computer science; Concurrency control; Costs; Delay; Multicore processing; Parallel processing; Privatization; Programming profession; Runtime; Yarn; STM; performance; privatization;
Conference_Titel :
Parallel Processing, 2008. ICPP '08. 37th International Conference on
Conference_Location :
Portland, OR
Print_ISBN :
978-0-7695-3374-2
Electronic_ISBN :
0190-3918
DOI :
10.1109/ICPP.2008.69