Fence Scoping

Changhui Lin, Vijay Nagarajan, Rajiv Gupta

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

We observe that fence instructions used by programmers are usually only intended to order memory accesses within a limited scope. Based on this observation, we propose the concept fence scope which defines the scope within which a fence enforces the order of memory accesses, called scoped
fence (S-Fence). S-Fence is a customizable fence, which enables programmers to express ordering demands by specifying the scope of fences when they only want to order part of memory accesses. At runtime, hardware uses the scope information conveyed by programmers to execute fence instructions in a
manner that imposes fewer memory ordering constraints than a traditional fence, and hence improves program performance. Our experimental results show that the benefit of S-Fence hinges on the characteristics of applications and hardware parameters. A group of lock-free algorithms achieve peak speedups ranging from 1.13x to 1.34x; while full applications achieve speedups ranging from 1.04x to 1.23x.
Original languageEnglish
Title of host publicationProceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis
Subtitle of host publicationNew Orleans, Louisana
PublisherInstitute of Electrical and Electronics Engineers
Pages105-116
Number of pages12
ISBN (Print)978-1-4799-5500-8
DOIs
Publication statusPublished - 16 Nov 2014

Publication series

NameSC '14

Fingerprint

Dive into the research topics of 'Fence Scoping'. Together they form a unique fingerprint.

Cite this