基于页面分类与放置策略的混合缓存管理机制研究
发布时间:2018-05-14 10:25
本文选题:混合缓存 + 页面着色 ; 参考:《华中科技大学》2012年硕士论文
【摘要】:随着片上多核CMP(Chip Multi Processor)成为主流微处理器技术,微处理器已经进入多核时代。通过多核技术提高处理能力、降低消耗已成为微处理器的必然选择。该技术面临的另一挑战是共享缓存的管理。共享缓存被多核竞争使用,不仅降低共享缓存的性能,而且日益增大的容量加重了CMP上缓存的能耗问题。 由多种内存技术组成的混合缓存,兼具各缓存技术优点,为上述问题提供了一种解决方案。混合缓存旨在利用程序访问共享缓存的行为差异性来共享缓存的各个区域,以提供更好的访问性能。基于页面分类和放置策略的混合缓存管理机制以页着色算法为基础,由页面分类单元和页面放置单元两部分组成。页面放置单元用于动态统计页级共享缓存的访问频率等信息,并对页面实施分类。页面放置单元通过页着色算法,根据页面分类单元所提供的共享缓存的页面访问信息来迁移页面,达到管理共享缓存的目的。这两个功能结构分别在系统的硬件层和操作系统层实现。 与现有的共享缓存管理机制相比,该机制能够充分利用缓存密度高、漏电能耗较低的特点提升共享缓存性能。该机制具有以下优点:在操作系统级管理混合缓存,降低混合缓存的设计复杂度,提高了管理机制的灵活性和可扩展性,整体系统开销小。实验结果表明,在使用基于页面分类和放置策略的混合缓存管理机制之后,程序性能得到提高,,与未采用该机制的系统相比,平均IPC提高3.74%,最高提升可达22.76%。
[Abstract]:With the multi-core CMP(Chip Multi processor becoming the mainstream microprocessor technology, the microprocessor has entered the multi-core era. It has become an inevitable choice for microprocessors to improve processing capacity and reduce consumption through multi-nuclear techniques. Another challenge facing this technology is the management of shared caching. Shared cache is used by multi-core competition, which not only reduces the performance of shared cache, but also increases the energy consumption of cache on CMP. The mixed cache, which is composed of many memory technologies, has the advantages of each cache technology, which provides a solution to the above problems. Hybrid caching is designed to share each region of the cache by exploiting the behavioral differences of program access to the shared cache to provide better access performance. The mixed cache management mechanism based on page classification and placement strategy is based on page coloring algorithm and consists of two parts: page classification unit and page placement unit. The page placement unit is used to dynamically calculate the access frequency of the page level shared cache and to classify the page. The page placement unit migrates the page according to the page access information of the shared cache provided by the page classification unit through the page coloring algorithm to achieve the purpose of managing the shared cache. These two functional structures are implemented in the hardware layer and operating system layer of the system. Compared with the existing shared cache management mechanism, this mechanism can make full use of the characteristics of high cache density and low leakage energy consumption to improve the performance of shared cache. The mechanism has the following advantages: the hybrid cache is managed at the operating system level, the design complexity of the hybrid cache is reduced, the flexibility and expansibility of the management mechanism are improved, and the overall system overhead is small. The experimental results show that the performance of the program is improved after using the mixed cache management mechanism based on page classification and placement strategy. Compared with the system without this mechanism, the average IPC is increased by 3.74%, and the maximum improvement is up to 22.76%.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP333
【参考文献】
相关期刊论文 前4条
1 陈剑龙,傅忠传,崔刚;SimpleScalar模拟器内核分析及应用[J];哈尔滨工业大学学报;2004年05期
2 熊伟;殷建平;所光;赵志恒;;多核处理器面向低功耗的共享Cache划分方案[J];计算机工程与科学;2010年10期
3 彭蔓蔓;李仁发;彭方;王宇明;;基于程序段的可重构cache与处理器低能耗算法[J];计算机应用研究;2008年09期
4 靳辛欣;陈昊罡;汪小林;王振林;温翔;罗英伟;李晓明;;虚拟机缓存划分的设计与实现[J];计算机科学与探索;2010年01期
本文编号:1887491
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1887491.html