DocumentCode :
2235854
Title :
Structure Layout Optimization for Multithreaded Programs
Author :
Raman, Easwaran ; Hundt, Robert ; Mannarswamy, Sandya
Author_Institution :
Dept. of Comput. Sci., Princeton Univ., NJ
fYear :
2007
fDate :
11-14 March 2007
Firstpage :
271
Lastpage :
282
Abstract :
Structure layout optimizations seek to improve runtime performance by improving data locality and reuse. The structure layout heuristics for single-threaded benchmarks differ from those for multi-threaded applications running on multiprocessor machines, where the effects of false sharing need to be taken into account. In this paper we propose a technique for structure layout transformations for multithreaded applications that optimizes both for improved spatial locality and reduced false sharing, simultaneously. We develop a semi-automatic tool that produces actual structure layouts for multi-threaded programs and outputs the key factors contributing to the layout decisions. We apply this tool on the HP-UX kernel and demonstrate the effects of these transformations for a variety of already highly hand-tuned key structures with different set of properties. We show that naive heuristics can result in massive performance degradations on such a highly tuned application, while our technique generally avoids those pitfalls. The improved structures produced by our tool improve performance by up to 3.2% over a highly tuned baseline
Keywords :
multi-threading; optimising compilers; HP-UX kernel; data locality; data reuse; layout decisions; multiprocessor machines; multithreaded programs; semiautomatic tool; single-threaded benchmarks; structure layout optimization; Application software; Computer science; Degradation; Java; Kernel; Laboratories; Optimizing compilers; Program processors; Protocols; Runtime;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Code Generation and Optimization, 2007. CGO '07. International Symposium on
Conference_Location :
San Jose, CA
Print_ISBN :
0-7695-2764-7
Type :
conf
DOI :
10.1109/CGO.2007.36
Filename :
4145121
Link To Document :
بازگشت