###
计算机系统应用英文版:2017,26(10):36-43
本文二维码信息
码上扫一扫!
CMFSim:高可配可扩展的缓存微架构功能模拟器
(1.中国科学院 软件研究所, 北京 100190;2.中国科学院大学, 北京 100049)
CMFSim: A Highly Configurable and Extensible Cache Microarchitecture Functional Simulator
(1.Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;2.University of Chinese Academy of Sciences, Beijing 100049, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1253次   下载 2137
Received:January 19, 2017    
中文摘要: 作为提高CPU读取和存储数据的效率,弥补与主存之间存取速度差距的有效策略,CPU的缓存(Cache)充分利用其对数据使用的局部性原理,对最近或最常使用的数据进行暂存,对CPU的性能起着决定性作用.缓存的微架构正是决定缓存性能的关键性因素.然而,现代先进的CPU缓存都具备极为复杂的结构,存在多种策略、多种硬件算法和多个层级等不同维度的设计,从硬件上直接设计和论证不仅耗时而且成本很高,Cache微架构模拟器正是用软件方法对硬件微架构进行模拟和仿真.设计一款结构优良的缓存,对不同微架构进行评估,是一件具有深远意义的工作.本文从硬件结构出发,设计实现了一款多级、高可配、高可扩展的缓存微架构功能模拟器CMFSim(Cache microarchitecture functional simulator),实现了常见的缓存策略和硬件算法,可以进行给定配置下的缓存功能的模拟,从而分析配置参数与缓存性能间的关系.
中文关键词: 多级Cache  Cache微架构  Cache模拟器
Abstract:As an effective strategy to improve the efficiency for CPU reading and writing, and to fill the speed gap between CPU and the main memory, the cache in CPU makes the best of the locality theory by storing the latest or the most frequently used data. It dominates the performance of a CPU, and the microarchitecture of the cache, however, dominates the cache performance. The modern advanced cache commonly constructed with very complicated structures, contain multiple cache strategies, hardware algorithm and multi-level design, making it expensive to design and verify directly with hardware for time as well as money. Thus, it is far-reaching to simulate the hardware microarchitecture by software modeling. Cache microarchitecture simulator exactly assists the design or the evaluation of an excellent cache. In this article, a highly configurable and extensible cache microarchitecture functional simulator CMFSim is developed on the basis of hardware structure. It implements the common cache strategies and hardware algorithm, which can conveniently simulate the cache microarchitecture for the given configuration and analyze the performance with the specified parameters.
文章编号:     中图分类号:    文献标志码:
基金项目:国家“核高基”科技重大专项(2014ZX01029101-002)
引用文本:
宋双洋,赵姗,杨秋松.CMFSim:高可配可扩展的缓存微架构功能模拟器.计算机系统应用,2017,26(10):36-43
SONG Shuang-Yang,ZHAO Shan,YANG Qiu-Song.CMFSim: A Highly Configurable and Extensible Cache Microarchitecture Functional Simulator.COMPUTER SYSTEMS APPLICATIONS,2017,26(10):36-43