引用本文:丁永华,原庆能,臧斌宇,朱传琪.多处理机系统循环间数据重用的cache优化*.软件学报,1998,9(8):580-585
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3769次   下载 5316 本文二维码信息
码上扫一扫!
分享到: 微信 更多
多处理机系统循环间数据重用的cache优化*
丁永华1, 原庆能1, 臧斌宇1, 朱传琪1
复旦大学并行处理研究所,上海,200433
摘要:
cache的使用缓解了CPU和主存储器之间速度差距太大的矛盾,同时,也使cache的命中率成为影响多处理机系统性能发挥的重要因素.人们对如何加强数据的局部性,提高cache命中率,使多处理机系统的性能得到更好的发挥进行了积极的探索.但过去的工作主要集中于如何加强并行循环内的数据局部性,减少甚至消除并行循环内真假共享cache行所引起的cache抖动,对多处理机系统中循环间数据重用的开发和利用却少有论述.该文对如何开发和利用这些循环间数据重用进行了分析和讨论,并提出了一些切实可行、易于实现的方法.这些方法的
关键词:  数据局部性,cache抖动,cache命中率,循环间数据重用,循环变换,同步.
DOI:
分类号:
基金项目:本文研究得到国家自然科学基金、国家863高科技项目基金、国家攀登计划基金和上海市重点学科基金资助.
Cross-loop Reuse Techniques for Cache Optimizations on Multiprocessors
DING Yong-hua,YUAN Qing-neng,ZANG Bin-yu,ZHU Chuan-qi
Abstract:
The use of the cache reduces the gap between the CPU speed and the memory latency, so the cache hit ratio becomes an important factor which affects the performance of multiprocessor system. Researchers have developed a number of optimizations to enhance data locality, increase the cache hit ratio and bring the multiprocessor system performance into better play. These techniques focus on how to enhance data locality within a parallel loop, reduce and even eliminate the cache line thrashing due to true or false sharing of the cache line. Exploitation and utilization of cross-loop reuse on multiprocessors are seldom discussed. How to exploit and utilize these cross-loop reuse, and put forward some feasible and easy ways for implementation are discussed in this paper. Application of these methods can effectively increase the cache hit ratio, thus improve the performance of multiprocessor system.
Key words:  Data locality, cache thrashing, cache hit ratio, cross-loop reuse, loop transformation, synchronism.

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: