首页 | 本学科首页   官方微博 | 高级检索  
     

一种新颖的软件可控Cache优化方法
引用本文:杜红燕,田兴彦,田新华.一种新颖的软件可控Cache优化方法[J].计算机工程与应用,2005,41(21):52-57.
作者姓名:杜红燕  田兴彦  田新华
作者单位:长沙大学计算机科学与工程系,长沙,410003;国防科学技术大学计算机学院,长沙,410073
基金项目:国家863高技术研究发展计划软件重大专项(编号:2002AA1Z2105)
摘    要:由于Cache污染问题,传统的仅由硬件控制的Cache替换策略不能得到令人满意的Cache利用率。随着软件可控Cache机制的出现,编译器开始可以直接控制Cache替换,改善Cache行为。本文证明了一个Cache提示优化定理,并依该定理提出了一个由编译器辅助控制的Cache替换策略:最优Cache划分(OCP)。OCPCache替换策略简化了Cache行为和Cache失效分析方法。实验结果表明OCPCache替换策略能有效地降低Cache失效率。

关 键 词:软件可控  Cache  Cache  行为优化
文章编号:1002-8331-(2005)21-0052-06

A Novel Method on Software-Controlled Cache Optimization
Du Hongyan,Tian Xingyan,Tian Xinhua.A Novel Method on Software-Controlled Cache Optimization[J].Computer Engineering and Applications,2005,41(21):52-57.
Authors:Du Hongyan  Tian Xingyan  Tian Xinhua
Affiliation:Du Hongyan1 Tian Xingyan2 Tian Xinhua2 1
Abstract:Caches have an increasing impact on overall performance because of the growing gap between CPU cycle times and memory access times.Therefore,improving the cache behavior is essential to obtain good execution speeds.With the advent of software-controlled cache,such as cache hints in EPIC architectures,the compiler has the means to steer the cache replacement directly and to improve the cache behavior.Cache hints are used to specify the cache level at which the data is stored after accessing it.This paper presents and proves a Cache Hints Optimization theorem that results in many interesting conclusions about cache hints optimization,Based on this theorem,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.OCP replacement policy has been implemented in our compiler test-bed and evaluated on a set of scientific computing benchmarks.Initial results show that our approach is effective on reducing the cache miss rate.
Keywords:software-controlled cache  cache behavior optimization
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号