Cache Victim Selection Based on Completer Determined Cost in a Data Processing System
AssigneeArm Limited
InventorAlexander Klimov
Life of this patent
Estimating the term…
Abstract
A data processing apparatus includes a requester, a completer and a cache. Data is transferred between the requester and the cache and between the cache and the completer. The cache implements a cache eviction policy. The completer determines an eviction cost associated with evicting the data from the cache and notifies the cache of the eviction cost. The cache eviction policy implemented by the cache is based, at least in part, on the cost of evicting the data from the cache. The eviction cost may be determined, for example, based on properties or usage of a memory system of the completer.
Claims20
A data processing apparatus comprising:
- a cache configured to implement a cache eviction policy for data stored in the cache;
- a requester configured to request data from the cache;
- and
- a completer configured to;
- transfer data to the cache in response to a request from the cache;
- determine a cost of evicting the data from the cache;
- and
- notify the cache of the cost of evicting the data from the cache,
- where the cache eviction policy for data in the cache is based, at least in part, on the cost of evicting the data from the cache.
A method comprising:
- requesting, by a requester of a data processing apparatus from a cache of the data processing apparatus, first data;
- requesting, by the cache from a completer of a data processing apparatus, the first data;
- transferring, by the completer, the first data from a memory system to the cache in response to the request from the cache;
- determining, by the completer, a cost of evicting the first data from the cache;
- notifying, by the completer, the cache of the cost of evicting the first data from the cache;
- selecting, by the cache, second data to be evicted from the cache based, at least in part, on a cost of evicting the second data from the cache;
- and
- evicting, by the cache, the second data from the cache.
Dependencies are inferred from the claim text.