学位论文详细信息
ReserveTM: Optimizing for Eager Software Transactional Memory
Software Transactional Memory;Memory reservations;memory releases;privatization;eager versioning;TM API design;Electrical and Computer Engineering
Jain, Gaurav
University of Waterloo
关键词: Software Transactional Memory;    Memory reservations;    memory releases;    privatization;    eager versioning;    TM API design;    Electrical and Computer Engineering;   
Others  :  https://uwspace.uwaterloo.ca/bitstream/10012/7921/1/Jain_Gaurav.pdf
瑞士|英语
来源: UWSPACE Waterloo Institutional Repository
PDF
【 摘 要 】

Software Transactional Memory (STM) helps programmers write correct concurrent code by allowing them to identify atomic sections rather than focusing on the mechanics of concurrency control. Given code with atomic sections, the compiler and STM runtime can work together to ensure proper controlled access to shared memory. STM runtimes use either lazy or eager version management. Lazy versioning buffers transaction updates, whereas eager versioning applies updates in-place. The current set of primitives suit lazy versioning since memory needs to be accessed through the runtime. We present a new set of runtime primitives that better suit eager versioned STM.We propose a novel extension to the compiler/runtime interface, consisting of memory reservations and memory releases. These extensions enable optimizations specific to eager versioned runtimes. A memory reservation allows a transaction to perform instrumentation-free access on a memory address. A release allows a read-only address to be modified by another transaction. Together, these reduce the instrumentation overhead required to support STM and improve concurrency between readers and writers. We have implemented these primitives and evaluated its performance on the STAMP benchmarks. Our results show strong performance and scalability improvements to eager versioned algorithms.

【 预 览 】
附件列表
Files Size Format View
ReserveTM: Optimizing for Eager Software Transactional Memory 326KB PDF download
  文献评价指标  
  下载次数:9次 浏览次数:26次