Method and system for using upper cache history information to improve lower cache data replacement
AssigneeInternational Business Machines Corporation
InventorsDiane Garza Flemming, Octavian Florin Herescu, William A. Maron, Mysore Sathyanarayana Srinivas
Life of this patent
Estimating the term…
Abstract
A system for managing data in a plurality of storage locations. In response to a least recently used algorithm wanting to move data from a cache to a storage location, an aging table is searched for an associated entry for the data. In response to finding the associated entry for the data in the aging table, an indicator is enabled on the data. In response to determining that the indicator is enabled on the data, the data is kept in the cache despite the least recently used algorithm wanting to move the data to the storage location.
Claims20
A computer implemented method for managing data in a plurality of storage locations, the computer implemented method comprising:
- responsive to a least recently used algorithm wanting to move data from a cache to a storage location, searching an aging table for an associated entry for the data;
- responsive to finding the associated entry for the data in the aging table, enabling an indicator on the data;
- and
- responsive to determining that the indicator is enabled on the data, keeping the data in the cache despite the least recently used algorithm wanting to move the data to the storage location.
A data processing system for managing data in a plurality of storage locations, comprising:
- a bus system;
- a storage device connected to the bus system, wherein the storage device includes a set of instructions;
- and
- a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to search an aging table for an associated entry for data in response to a least recently used algorithm wanting to move the data from a cache to a storage location, enable an indicator on the data in response to finding the associated entry for the data in the aging table, and keep the data in the cache despite the least recently used algorithm wanting to move the data to the storage location in response to determining that the indicator is enabled on the data.
A computer program product for managing data in a plurality of storage locations, the computer program product comprising:
- a computer usable medium having computer usable program code embodied therein, the computer usable medium comprising:
- computer usable program code configured to search an aging table for an associated entry for data in response to a least recently used algorithm wanting to move the data from a cache to a storage location;
- computer usable program code configured to enable an indicator on the data in response to finding the associated entry for the data in the aging table;
- and
- computer usable program code configured to keep the data in the cache despite the least recently used algorithm wanting to move the data to the storage location in response to determining that the indicator is enabled on the data.
Dependencies are inferred from the claim text.