DocumentCode :
3349988
Title :
Reducing cache conflicts by partitioning and privatizing shared arrays
Author :
Li, Zhiyuan
Author_Institution :
Dept. of Comput. Sci., Purdue Univ., West Lafayette, IN, USA
fYear :
1999
fDate :
1999
Firstpage :
183
Lastpage :
190
Abstract :
Parallelizing compilers for shared-memory multiprocessors typically generate fork-join programs in which multiple threads may access different sections of shared arrays. Each thread tends to access discontiguous addresses due to the gap between sections which belong to different arrays. Such interarray discontiguity often causes cache-set conflicts even when the private cache is large enough to hold the working set. A compiler technique, called array partition and privatization (or APP), is proposed to correct this problem. The APP technique partitions a shared array into sections, one for each computing thread, and then maps each section to the private stack of the corresponding thread. Interarray discontiguity is thus removed and the cache performance improved. This paper presents a compiler algorithm for APP and preliminary experimental results based on four benchmark programs running on an SGI Origin 2000 multiprocessor
Keywords :
cache storage; multi-threading; parallelising compilers; shared memory systems; SGI Origin 2000 multiprocessor; benchmark program; cache conflict reduction; cache performance; cache-set conflicts; compiler algorithm; computing thread; discontiguous address access; fork-join programs; interarray discontiguity; multiple threads; parallelizing compilers; private cache; private stack; shared array partitioning; shared array privatisation; shared-memory multiprocessors; Delay; Electronic mail; Electronic switching systems; Hardware; Interference; Message passing; Multiprocessing systems; Privatization; Program processors; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures and Compilation Techniques, 1999. Proceedings. 1999 International Conference on
Conference_Location :
Newport Beach, CA
ISSN :
1089-795X
Print_ISBN :
0-7695-0425-6
Type :
conf
DOI :
10.1109/PACT.1999.807525
Filename :
807525
Link To Document :
بازگشت