Title :
An efficient solution to the cache thrashing problem caused by true data sharing
Author :
Jin, Guohua ; Li, Zhiyuan ; Chen, Fujie
Author_Institution :
Dept. of Comput. Sci., Rice Univ., Houston, TX, USA
fDate :
5/1/1998 12:00:00 AM
Abstract :
When parallel programs are executed on multiprocessors with private caches, a set of data may be repeatedly used and modified by different threads. Such data sharing can often result in cache thrashing, which degrades memory performance. This paper presents and evaluates a loop restructuring method to reduce or even eliminate cache thrashing caused by true data sharing in nested parallel loops. This method uses a compiler analysis which applies linear algebra and the theory of numbers to the subscript expressions of array references. Due to this method´s simplicity, it can be efficiently implemented in any parallel compiler. Experimental results show quite significant performance improvements over existing static and dynamic scheduling methods
Keywords :
cache storage; multiprocessing systems; parallelising compilers; storage management; cache thrashing problem; compiler analysis; data sharing; linear algebra; loop restructuring method; memory performance; multiprocessors; parallel compiler; parallel programs; performance improvements; Bridges; Computer Society; Degradation; Dynamic scheduling; Linear algebra; Multiprocessing systems; Protocols; Signal processing algorithms; Supercomputers; Yarn;
Journal_Title :
Computers, IEEE Transactions on