Systems and methods for destaging storage tracks from cache
AssigneeInternational Business Machines Corporation
InventorsBrent C. Beardsley, Michael T. Benhase, Lokesh M. Gupta, Sonny E. Williams
Life of this patent
Estimating the term…
Abstract
A system includes a cache and a processor coupled to the cache. The cache stores data in multiple storage tracks and each storage track includes an associated multi-bit counter. The processor is configured to perform the following method. One method includes incrementing the multi-bit counter on each respective storage track a predetermined amount each time the processor writes to a respective storage track. The method further includes decrementing each multi-bit counter each scan cycle, and destaging each storage track including a zero count.
Claims20
A method for destaging storage tracks from a cache configured to store data in a plurality of storage tracks and each storage track including a multi-bit counter, the method comprising:
- incrementing the multi-bit counter on each respective storage track a predetermined amount each time the processor writes to a respective storage track;
- decrementing each multi-bit counter each scan cycle;
- and
- destaging each storage track that includes a zero count.
A system for destaging storage tracks from cache, comprising:
- a cache configured to store data in a plurality of storage tracks, each storage track including a multi-bit counter;
- and
- a processor coupled to the cache, wherein the processor is configured to execute a first thread and a second thread, wherein the first thread is configured to:
- increment the multi-bit counter on each respective storage track a predetermined amount each time the processor writes to a respective storage track, and
- wherein the second thread is configured to:
- decrement each multi-bit counter each scan cycle, and
- destage each storage track in the stride during a scan cycle if each multi-bit counter includes a zero count and each storage track has been modified.
A physical computer storage memory comprising a computer program product method for destaging storage tracks from a cache configured to store data in a plurality of storage tracks and each storage track including a multi-bit counter, the physical computer storage medium comprising:
- computer code for incrementing the multi-bit counter on each respective storage track a predetermined amount each time the processor writes to a respective storage track;
- computer code for decrementing each multi-bit counter each scan cycle, and
- computer code for destaging each storage track in the stride during a scan cycle if each multi-bit counter includes a zero count and each storage track has been modified.
Dependencies are inferred from the claim text.