首页> 外国专利> System and method for hierarchical approximation of least recently used replacement algorithms

System and method for hierarchical approximation of least recently used replacement algorithms

机译:用于最近最少使用的替换算法的层次近似的系统和方法

摘要

A system for approximating a least recently used (LRU) algorithm for memory replacement in a cache memory. In one system example, the cache memory comprises memory blocks allocated into sets of N memory blocks. The N memory blocks are allocated as M super-ways of N/M memory blocks where N is greater than M. An index identifies the set of N memory blocks. A super-way hit/replacement tracking state machine tracks hits and replacements to each super-way and maintains state corresponding to an order of hits and replacements for each super-way where the super-ways are ordered from the MRU to the LRU. Storage for the state bits is associated with each index entry where the state bits include code bits associated with a memory block to be replaced within a LRU super-way. LRU logic is coupled to the super-way hit/replacement tracking state machine to select an LRU super-way as a function of the super-way hit and replacement history. Block selection logic then selects a memory block to be replaced within the LRU super-way as a function of predefined selection criteria.
机译:一种用于估计最近最少使用(LRU)算法以替换高速缓存存储器中的存储器的系统。在一个系统示例中,高速缓冲存储器包括分配为N个存储块的集合的存储块。将N个存储块分配为N / M个存储块的M个超级路径,其中N大于M。索引标识N个存储块的集合。超级路命中/替换跟踪状态机跟踪每个超级路的命中和替换,并维持与从MRU到LRU排序超级路的每个超级路的命中和替换顺序相对应的状态。状态位的存储与每个索引条目相关联,其中状态位包括与在LRU超级路内要替换的存储块相关的代码位。 LRU逻辑耦合到超级路命中/替换跟踪状态机,以根据超级路命中和替换历史来选择LRU超级路。然后,块选择逻辑根据预定选择标准在LRU超级路中选择要替换的存储块。

著录项

  • 公开/公告号US2004078526A1

    专利类型

  • 公开/公告日2004-04-22

    原文格式PDF

  • 申请/专利权人 SILICON GRAPHICS INC.;

    申请/专利号US20020274766

  • 发明设计人 DAVID X. ZHANG;

    申请日2002-10-21

  • 分类号G06F12/12;G06F12/00;

  • 国家 US

  • 入库时间 2022-08-21 23:17:36

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号