摘要
由于Cache污染问题,传统的仅由硬件控制的Cache替换策略不能得到令人满意的Cache利用率。为解决该问题,EPIC引入了Cache提示以辅助控制Cache替换。文章提出了一个由编译器辅助控制的Cache替换策略:最优Cache划分(OCP)。OCP Cache替换策略简化了Cache行为和Cache失效分析方法。实验结果表明,OCP Cache替换策略能有效地降低Cache失效率。
Recent research results show that conventional hardware-only cache replacement policies result in unsatisfactory cache utilization because of cache pollution. To overcome this problem, cache hints are introduced to assist cache replacement. Cache hints are used to specify the cache level at which the data is stored after accessing it. This paper presents a compiler-assisted cache replacement policy, optimum cache partition (OCP), which can be carried out through cache hints and LRU replacement policy. The OCP replacement policy results in plain cache behaviors, and makes cache misses analyzing and optimizing easily and efficiently. OCP replacement policy has been implemented in the compiler test-bed and evaluated on a set of scientific computing benchmarks. Initial results show that the approach is effective on reducing the cache miss rate.
出处
《计算机工程》
EI
CAS
CSCD
北大核心
2006年第8期102-104,共3页
Computer Engineering
基金
国家"863"计划基金资助项目"高性能微处理器优化编译器研究"(2002AA1Z2105)