×

Disk cache management techniques using non-volatile storage

  • US 5,636,355 A
  • Filed: 06/30/1993
  • Issued: 06/03/1997
  • Est. Priority Date: 06/30/1993
  • Status: Expired due to Term
First Claim
Patent Images

1. For use in a computer system having a hard disk and non-volatile write cache memory to reduce hard disk access operations, a method for using the non-volatile write cache memory more effectively, comprising the steps of:

  • processing each of a plurality of requests to write a block of data to the hard disk by storing the block in the non-volatile write cache memory;

    repeatedly checking to determine a percentage of a plurality of blocks in the non-volatile write cache memory that have not been written to the hard disk, and deciding to purge data to the hard disk when the percentage of such blocks exceeds a preselected upper threshold limit;

    setting a purge request flag when the percentage of blocks that have not been written to the hard disk first exceeds the upper threshold limit;

    leaving the puree request flag set when the percentage of blocks that have not been written to the hard disk falls below the upper threshold limit; and

    clearing the purge request flag when the percentage of blocks that have not been written to the hard disk falls below a preselected lower threshold limit; and

    if the step of deciding whether to purge to the hard disk results in a decision to initiate purging, selecting at least one block from the non-volatile write cache memory, waiting until the hard disk is not busy with a plurality of read operations, and writing said selected block to the hard disk;

    whereby the number of actual hard disk write accesses needed is reduced by the use of multiple decision threshold limits and Wherein the steps of selecting at least one block, waiting until the hard disk is not busy, and writing to the hard disk, are initiated only when the purge request flag is set.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×