首页> 外国专利> Optimizing a cache eviction mechanism by selectively introducing different levels of randomness into a replacement algorithm

Optimizing a cache eviction mechanism by selectively introducing different levels of randomness into a replacement algorithm

机译:通过选择性地将不同级别的随机性引入替换算法来优化缓存逐出机制

摘要

A method of improving operation of a cache used by a processor of a computer system by introducing a level of randomness into a replacement algorithm used by the cache in order to lessen "strides" within the cache is disclosed. Different levels of randomness may be introduced into the replacement algorithm at different times to optimize the cache for different procedures running on the processor. The level of randomness can be selectively introduced by using a basic replacement algorithm to select a subset of a congruence class, and one or more random bits are then used to select a specific cache block within the subset for eviction. The basic replacement algorithm can be a least recently used algorithm. There may be three levels of randomness for a 4- way set associative cache, and there may be four levels of randomness for an 8-way set associative cache.
机译:公开了一种通过将随机性级别引入由高速缓存使用的替换算法中以减少高速缓存内的“步幅”来改善计算机系统的处理器所使用的高速缓存的操作的方法。可以在不同时间将不同级别的随机性引入替换算法,以针对处理器上运行的不同过程优化缓存。可以通过使用基本替换算法来选择一致性类的子集来选择性地引入随机性级别,然后使用一个或多个随机位来选择子集中的特定缓存块以逐出。基本替换算法可以是最近最少使用的算法。对于4路组关联缓存,可能有三个随机级别,对于8路组关联缓存,可能有四个随机级别。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号