Processing data based on cache residency
AssigneeInternational Business Machines Corporation
InventorsMichael K. Gschwind, Timothy J. Slegel
Life of this patent
Estimating the term…
Abstract
Processing of prefetched data based on cache residency. Data to be used in future processing is prefetched. A block of data being prefetched is selected for processing, and a check is made as to whether the block of data is resident in a selected cache (e.g., L1 cache). If the block of data is resident in the selected cache, it is processed; otherwise, processing is bypassed until a later time when it is resident in the selected cache.
Claims20
A computer program product for facilitating processing within a computing environment, said computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
- initiating prefetching of a plurality of blocks of data;
- determining cache residency for a selected block of data of the plurality of blocks of data, the determining cache residency using a query cache instruction to determine the cache residency of the selected block of data;
- and
- selectively processing the selected block of data based on the cache residency of the selected block of data, wherein the selectively processing processes the selected block of data based on the determining indicating the selected block of data is in a particular level of cache.
A computer system for facilitating processing within a computing environment, said computer system comprising:
- a memory;
- and
- a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:
- initiating prefetching of a plurality of blocks of data;
- determining cache residency for a selected block of data of the plurality of blocks of data, the determining cache residency using a query cache instruction to determine the cache residency of the selected block of data;
- and
- selectively processing the selected block of data based on the cache residency of the selected block of data, wherein the selectively processing processes the selected block of data based on the determining indicating the selected block of data is in a particular level of cache.
A computer-implemented method of facilitating processing within a computing environment, said computer-implemented method comprising:
- initiating, by a processor, prefetching of a plurality of blocks of data;
- determining cache residency for a selected block of data of the plurality of blocks of data, the determining cache residency using a query cache instruction to determine the cache residency of the selected block of data;
- and
- selectively processing the selected block of data based on the cache residency of the selected block of data, wherein the selectively processing processes the selected block of data based on the determining indicating the selected block of data is in a particular level of cache.
Dependencies are inferred from the claim text.