Title :
Reducing cache conflicts by multi-level cache partitioning and array elements mapping
Author :
Chang, Chih-Yung ; Sheu, Jang-Ping ; Chen, Hsi-Chiuen
Author_Institution :
Dept. of Comput. & Inf. Sci., Aletheia Univ., Tapiei, Taiwan
Abstract :
The paper presents an algorithm to reduce cache conflicts and improve cache localities. The proposed algorithm analyzes unique locality reference space for each reference pattern, partitions the multi-level cache into several parts with different size, and then maps array data onto the scheduled cache positions such that cache conflicts can be eliminated. To reduce the memory overhead for mapping array variables onto partitioned cache, a greedy method for rearranging array variables in declared statement is also developed. In addition, we combine loop tiling and the proposed schemes for exploiting both temporal and spatial reuse opportunities. To demonstrate that our approach is effective at reducing the number of cache conflicts and exploiting cache localities, we use Atom as a tool to develop a simulator for simulation of the behavior of direct-mapping cache. Experimental results show that applying our cache partitioning scheme can largely reduce the cache conflicts and thus save program execution time in both one-level cache and multi-level cache hierarchies
Keywords :
cache storage; distributed algorithms; program control structures; scheduling; search problems; Atom; array data; array element mapping; array variables; cache conflict reduction; cache conflicts; cache localities; cache partitioning scheme; declared statement; direct-mapping cache simulation; greedy method; loop tiling; memory overhead; multi-level cache partitioning; one-level cache; partitioned cache; program execution time; reference pattern; scheduled cache positions; simulator; spatial reuse opportunities; unique locality reference space; Algorithm design and analysis; Cache memory; Computer science; Costs; Degradation; Information science; Partitioning algorithms; Pattern analysis; Round robin; Scheduling algorithm;
Conference_Titel :
Parallel and Distributed Systems, 2000. Proceedings. Seventh International Conference on
Conference_Location :
Iwate
Print_ISBN :
0-7695-0568-6
DOI :
10.1109/ICPADS.2000.857699