INVOKING DEMOTE THREADS ON PROCESSORS TO DEMOTE TRACKS INDICATED IN DEMOTE READY LISTS FROM A CACHE WHEN A NUMBER OF FREE CACHE SEGMENTS IN THE CACHE IS BELOW A FREE CACHE SEGMENT THRESHOLD
First Claim
1. A computer program product for managing tracks in a storage in a cache, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that when executed performs operations, the operations comprising:
- providing a plurality of demote ready lists indicating tracks eligible to demote from the cache; and
in response to determining that a number of free cache segments in the cache is below a free cache segment threshold, performing;
determining a number of demote threads to invoke on processors based on the number of free cache segments and the free cache segment threshold; and
invoking the determined number of demote threads to demote tracks in the cache indicated in the demote ready lists, wherein each invoked demote thread processes one of the demote ready lists to select tracks to demote from the cache to free cache segments in the cache.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a computer program product, system, and method for invoking demote threads on processors to demote tracks from a cache. A plurality of demote ready lists indicate tracks eligible to demote from the cache. In response to determining that a number of free cache segments in the cache is below a free cache segment threshold, a determination is made of a number of demote threads to invoke on processors based on the number of free cache segments and the free cache segment threshold. The determined number of demote threads are invoked to demote tracks in the cache indicated in the demote ready lists, wherein each invoked demote thread processes one of the demote ready lists to select tracks to demote from the cache to free cache segments in the cache.
33 Citations
23 Claims
-
1. A computer program product for managing tracks in a storage in a cache, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that when executed performs operations, the operations comprising:
-
providing a plurality of demote ready lists indicating tracks eligible to demote from the cache; and in response to determining that a number of free cache segments in the cache is below a free cache segment threshold, performing; determining a number of demote threads to invoke on processors based on the number of free cache segments and the free cache segment threshold; and invoking the determined number of demote threads to demote tracks in the cache indicated in the demote ready lists, wherein each invoked demote thread processes one of the demote ready lists to select tracks to demote from the cache to free cache segments in the cache. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for managing tracks in a storage, comprising:
-
a memory including a cache storing tracks from the storage; and a plurality of processors, wherein each of the processors maintains a demote ready list indicating tracks eligible to demote from the cache, and wherein one of the processors executes a demote scheduler task to perform operations, the operations comprising; in response to determining that a number of free cache segments in the cache is below a free cache segment threshold, performing; determining a number of demote threads to invoke on at least one of the processors based on the number of free cache segments and the free cache segment threshold; and invoking the determined number of demote threads to demote tracks in the cache indicated in the demote ready lists, wherein each invoked demote thread processes one of the demote ready lists to select tracks to demote from the cache to free cache segments in the cache. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A method for managing tracks in a storage in a cache, comprising:
-
providing a plurality of demote ready lists indicating tracks eligible to demote from the cache; and in response to determining that a number of free cache segments in the cache is below a free cache segment threshold, performing; determining a number of demote threads to invoke on processors based on the number of free cache segments and the free cache segment threshold; and invoking the determined number of demote threads to demote tracks in the cache indicated in the demote ready lists, wherein each invoked demote thread processes one of the demote ready lists to select tracks to demote from the cache to free cache segments in the cache. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification