UWSpace is currently experiencing technical difficulties resulting from its recent migration to a new version of its software. These technical issues are not affecting the submission and browse features of the site. UWaterloo community members may continue submitting items to UWSpace. We apologize for the inconvenience, and are actively working to resolve these technical issues.
 

ReserveTM: Optimizing for Eager Software Transactional Memory

dc.contributor.authorJain, Gaurav
dc.date.accessioned2013-09-26T16:36:17Z
dc.date.available2013-09-26T16:36:17Z
dc.date.issued2013-09-26T16:36:17Z
dc.date.submitted2013
dc.description.abstractSoftware 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.en
dc.identifier.urihttp://hdl.handle.net/10012/7921
dc.language.isoenen
dc.pendingfalseen
dc.publisherUniversity of Waterlooen
dc.subjectSoftware Transactional Memoryen
dc.subjectMemory reservationsen
dc.subjectmemory releasesen
dc.subjectprivatizationen
dc.subjecteager versioningen
dc.subjectTM API designen
dc.subject.programElectrical and Computer Engineeringen
dc.titleReserveTM: Optimizing for Eager Software Transactional Memoryen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Applied Scienceen
uws-etd.degree.departmentElectrical and Computer Engineeringen
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Jain_Gaurav.pdf
Size:
326.93 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
245 B
Format:
Item-specific license agreed upon to submission
Description: