首页> 外国专利> Method for managing a cache hierarchy having a least recently used (LRU) global cache and a plurality of LRU destaging local caches containing counterpart datatype partitions

Method for managing a cache hierarchy having a least recently used (LRU) global cache and a plurality of LRU destaging local caches containing counterpart datatype partitions

机译:用于管理具有至少最近使用的(LRU)全局高速缓存和多个LRU降级本地高速缓存的高速缓存层次结构的方法,该本地高速缓存包含对应的数据类型分区

摘要

A method for managing a cache hierarchy having a fixed total storage capacity is disclosed. The cache hierarchy is logically partitioned to form a least recently used (LRU) global cache and a plurality of LRU destaging local caches. The global cache stores objects of all types and maintains them in LRU order. In contrast, each local cache is bound to objects having a unique data type T(i), where i is indicative of a DataType. Read and write accesses by referencing processors or central processing units (CPU's) are made to the global cache. Data not available in the global cache is staged thereto either from one of the local caches or from external storage. When a cache full condition is reached, placement of the most recently used (MRU) data element to the top of the global cache results in an LRU data element of type T(i) being destaged from the global cache to a corresponding one of the local caches storing type T(i) data. Likewise, when a cache full condition is reached in any one or more of the local caches, the local caches in turn will destage their LRU data elements to external storage. The parameters defining the partitions are externally supplied.
机译:公开了一种用于管理具有固定的总存储容量的缓存层次结构的方法。高速缓存层次结构在逻辑上进行分区,以形成最近最少使用(LRU)全局高速缓存和多个LRU降级本地高速缓存。全局高速缓存存储所有类型的对象,并按LRU顺序维护它们。相反,每个本地缓存都绑定到具有唯一数据类型T(i)的对象,其中i表示DataType。通过引用处理器或中央处理单元(CPU)进行读写访问将访问全局缓存。全局高速缓存中不可用的数据从本地高速缓存之一或从外部存储器暂存到其上。当达到高速缓存已满的条件时,将最近使用的(MRU)数据元素放置到全局高速缓存的顶部会导致类型T(i)的LRU数据元素从全局高速缓存降级到相应的缓存中。存储类型T(i)数据的本地缓存。同样,当在任何一个或多个本地缓存中达到缓存已满状态时,本地缓存又会将其LRU数据元素降级到外部存储。定义分区的参数从外部提供。

著录项

  • 公开/公告号US5717893A

    专利类型

  • 公开/公告日1998-02-10

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US19910703309

  • 发明设计人 RICHARD LEWIS MATTSON;

    申请日1991-05-20

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

  • 国家 US

  • 入库时间 2022-08-22 02:40:10

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号