首页> 外国专利> Multi-tier cache system for mass storage device and method for implementing such a system

Multi-tier cache system for mass storage device and method for implementing such a system

机译:用于大容量存储设备的多层高速缓存系统及其实现方法

摘要

A multi-tier cache system and a method for implementing the multi-tier cache system is disclosed. The multi-tier cache system has a small cache in random access memory (RAM) that is managed in a Least Recent Used (LRU) fashion. The RAM cache is a subset of a much larger non-volatile cache on rotating magnetic media e.g., a hard disk drive (9). The non-volatile cache is, in turn a subset of a local CD-ROM or of a CD-ROM (7) or mass storage device controlled by a server system. In a preferred embodiment of the invention, a heuristic technique is employed to establish a RAM cache of optimum size within the system memory. Also in a preferred embodiment, the RAM cache is made up of multiple identically-sized sub-blocks. A small amount of RAM is utilized to maintain a table which implements a Least-Recently-Used (LRU) RAM cache purging scheme. A hashing mechanism is employed to search (207) for the "bucket" within the RAM cache in which the requested data may be located. If the requested data is in the RAM cache, the request is satisfied (214) with that data. If the requested data is not in the RAM cache, the least-recently-used sub-block is purged (210) from the cache if the cache is full, and the RAM cache is updated from the non-volatile cache whenever possible, and from (212, 213) the cached storage device when the non-volatile cache does not contain the requested data.
机译:公开了多层高速缓存系统和用于实现多层高速缓存系统的方法。多层缓存系统在随机存取存储器(RAM)中具有较小的缓存,该缓存以最近最少使用(LRU)的方式进行管理。 RAM高速缓存是旋转磁性介质(例如,硬盘驱动器(9))上更大的非易失性高速缓存的子集。非易失性高速缓存又是由服务器系统控制的本地CD-ROM或CD-ROM(7)或海量存储设备的子集。在本发明的优选实施例中,采用启发式技术来在系统存储器内建立最佳大小的RAM高速缓存。同样在优选实施例中,RAM高速缓存由多个大小相同的子块组成。利用少量的RAM来维护一个表,该表实现了最近最少使用(LRU)RAM缓存清除方案。采用散列机制以在RAM高速缓存中搜索(207)“桶”,其中所请求的数据可以位于其中。如果所请求的数据在RAM高速缓存中,则该数据满足该请求(214)。如果所请求的数据不在RAM高速缓存中,则如果高速缓存已满,则从高速缓存中清除最近最少使用的子块(210),并尽可能从非易失性高速缓存中更新RAM高速缓存,以及当非易失性高速缓存不包含所请求的数据时,来自(212、213)高速缓存的存储设备。

著录项

  • 公开/公告号EP0805396B1

    专利类型

  • 公开/公告日2000-07-19

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC;

    申请/专利号EP19970201080

  • 发明设计人 BERLINER BRIAN;

    申请日1997-04-11

  • 分类号G06F12/08;

  • 国家 EP

  • 入库时间 2022-08-22 01:48:38

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号