×

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

  • US 5,717,893 A
  • Filed: 05/20/1991
  • Issued: 02/10/1998
  • Est. Priority Date: 03/22/1989
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for managing a cache hierarchy having a fixed total storage capacity, said cache hierarchy being sited in a data path coupling a processor to an external storage subsystem, comprising the steps of:

  • (a) logically partitioning said cache hierarchy to form a least recently used (LRU) global cache and a plurality of LRU destaging local caches, each local cache i being bound to objects having a unique data type T(i), i being an identifier designating one of the plurality of local caches and T(i) being an identifier designating the unique data type resident in cache i;

    (b) responsive to access commands from said processor, storing objects of all types in said global cache and maintaining them in said global cache in LRU order, objects being staged to the global cache either from one of the local caches or from the external storage subsystem if not present in said local caches;

    (c) upon the global cache attaining a cache full condition, destaging an LRU object of type T(i) from the global cache to the local cache storing type T(i) data, a cache full condition under an LRU global or local cache being one where the storage of an additional object in a cache results in the destaging of at least one object in LRU order; and

    (d) upon any one or more of the local caches attaining a cache full condition, destaging an LRU object from said one or more local caches to the external storage subsystem.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×