DocumentCode
228641
Title
Fence Scoping
Author
Changhui Lin ; Nagarajan, Vijay ; Gupta, Rajesh
Author_Institution
CSE Dept., Univ. of California, Riverside, Riverside, CA, USA
fYear
2014
fDate
16-21 Nov. 2014
Firstpage
105
Lastpage
116
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.
Keywords
program control structures; program diagnostics; software performance evaluation; S-Fence; customizable fence; fence instructions; fence scoping; lock-free algorithms; memory accesses; program performance; scope information; Buffer storage; Frequency selective surfaces; Hardware; Memory management; Program processors; Programming; Semantics; Fence instructions; Memory models; Scope;
fLanguage
English
Publisher
ieee
Conference_Titel
High Performance Computing, Networking, Storage and Analysis, SC14: International Conference for
Conference_Location
New Orleans, LA
Print_ISBN
978-1-4799-5499-5
Type
conf
DOI
10.1109/SC.2014.14
Filename
7012996
Link To Document