Invoking input/output (I/O) threads and demote threads on processors to demote tracks from a cache
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:
- processing, by an Input/Output (I/O) thread, executed by a processor, I/O requests directed to tracks from the storage stored in the cache;
processing, by a demote thread, executed by the processor, a demote ready list, indicating tracks eligible to demote from cache, to select tracks to demote from the cache to free cache segments in the cache; and
after processing a number of I/O requests, processing by the I/O thread, the demote ready list to demote tracks from the cache in response to determining that a number of free cache segments in the cache is below a free cache segment threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a computer program product, system, and method for invoking Input/Output (I/O) threads and demote threads on processors to demote tracks from a cache. An Input/Output (I/O) thread, executed by a processor, processes I/O requests directed to tracks from the storage stored in the cache. A demote thread, executed by the processor, processes a demote ready list, indicating tracks eligible to demote from cache, to select tracks to demote from the cache to free cache segments in the cache. After processing a number of I/O requests, the I/O thread processes the demote ready list to demote tracks from the cache in response to determining that a number of free cache segments in the cache is below a free cache segment threshold.
26 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:
-
processing, by an Input/Output (I/O) thread, executed by a processor, I/O requests directed to tracks from the storage stored in the cache; processing, by a demote thread, executed by the processor, a demote ready list, indicating tracks eligible to demote from cache, to select tracks to demote from the cache to free cache segments in the cache; and after processing a number of I/O requests, processing by the I/O thread, the demote ready list to demote tracks from the cache in response to determining that a number of free cache segments in the cache is below a free cache segment threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for managing tracks in a storage, comprising:
-
a plurality of processors; and a memory including a cache for storing tracks in the storage, wherein at least one of the processors performs; executing an Input/Output (I/O) thread to process I/O requests directed to tracks from the storage stored in the cache; executing a demote thread to process a demote ready list, indicating tracks eligible to demote from cache, to select tracks to demote from the cache to free cache segments in the cache; and after processing a number of I/O requests, executing the I/O thread to process the demote ready list to demote tracks from the cache in response to determining that a number of free cache segments in the cache is below a free cache segment threshold. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for managing tracks in a storage in a cache, comprising:
-
processing, by an Input/Output (I/O) thread, executed by a processor, I/O requests directed to tracks from the storage stored in the cache; processing, by a demote thread, executed by the processor, a demote ready list, indicating tracks eligible to demote from cache, to select tracks to demote from the cache to free cache segments in the cache; and after processing a number of I/O requests, processing by the I/O thread, the demote ready list to demote tracks from the cache in response to determining that a number of free cache segments in the cache is below a free cache segment threshold. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification