×

Cache system adopting an LRU system, and magnetic disk controller incorporating it

  • US 4,835,686 A
  • Filed: 05/28/1986
  • Issued: 05/30/1989
  • Est. Priority Date: 05/29/1985
  • Status: Expired due to Fees
First Claim
Patent Images

1. A cache system employing an LRU (Least Recently Used) scheme in a replacement algorithm of cache blocks, comprising:

  • a cache memory for storing a plurality of cache blocks;

    a directory memory having fields storing, in respective entries corresponding to respective cache blocks of said cache memory, block designation information for blocks stored in said cache memory and having LRU counter fields indicating resident status in said cache memory of these blocks;

    command issuing means for issuing a read/write command to which an arbitrary LRU setting value and designation information for a read/write target block are appended;

    directory search means for searching whether the read/write target block is stored in said cache memory by comparing the stored block designation information of respective entries with the read/write designation information and for indicating a hit when the read/write target block is found to be stored in the cache memory and a cache miss hit when the read/write target block is not found to be stored in the cache memory; and

    storing means for storing the arbitrary LRV setting value in the arbitrary LRU counter field of said directory memory corresponding to the cache block which has been hit when a hit occurs, and for storing the arbitrary LRU setting value in the LRU counter field in the directory memory corresponding to the cache block in which the read/write target block is stored by the storing means when a miss hit occurs.

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