Logo image
Improving GPU memory performancewith artificial barrier synchronization
Journal article   Peer reviewed

Improving GPU memory performancewith artificial barrier synchronization

Shih-Hsiang Lo, Che-Rung Lee, Quey-Liang Kao, I-Hsin Chung and Yeh-Ching Chung
IEEE Transactions on Parallel and Distributed Systems, Vol.25(9), pp.2342-2352
2014

Abstract

Graphics processors parallel languages resource contention synchronization
Barrier synchronization, an essential mechanism for a block of threads to guard data consistency, is regarded as a threat to performance. This study, however, provides a different viewpoint for barrier synchronization on GPUs: adding barrier synchronization, even when functionally unnecessary, can improve the performance of some memory-intensive applications. We explain this phenomenon using a memory contention model in which artificial barrier synchronization helps reduce memory contention and preserve data access locality. To yield practical applications, we identify a program pattern: artificial barrier synchronization can be used to synchronize the memory accesses when the data locality among threads is violated. Empirical results from three real-world applications demonstrate that artificial barrier synchronization can increase performance by 10 to 20 percent. © 2014 IEEE.

Metrics

1 Record Views

Details

Logo image