Multilevel cache eviction management

US10915461B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10915461-B2
Application numberUS-201916292762-A
CountryUS
Kind codeB2
Filing dateMar 5, 2019
Priority dateMar 5, 2019
Publication dateFeb 9, 2021
Grant dateFeb 9, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present invention are directed to a computer-implemented method for cache eviction. The method includes detecting a first data in a shared cache and a first cache in response to a request by a first processor. The first data is determined to have a mid-level cache eviction priority. A request is detected from a second processor for a same first data as requested by the first processor. However, in this instance, the second processor has indicated that the same first data has a low-level cache eviction priority. The first data is duplicated and loaded to a second cache, however, the data has a low-level cache eviction priority at the second cache.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for cache eviction, the method comprising: detecting first data in a shared cache and the same first data in a first cache in response to a request by a first processor, determining that the first data and the same first data have a mid-level cache eviction priority at the first cache and the shared cache, wherein determining that the first data has a mid-level cache eviction priority is based on the presence of an early eviction bit, and wherein the presence of the early eviction bit is based in part on an estimated time the first processor operates on the first data; detecting a request from a second processor for the same first data as requested by the first processor; determining that the second processor requires the first data for a longer period of time than the estimated time the first processor operates on the first data; loading duplicated first data to a second cache, wherein the duplicated data has a low-level cache eviction priority at the second cache; and removing the early eviction bit of the first data at the shared cache. 2. The computer-implemented method of claim 1 , wherein the shared cache is level 4 (L4) cache. 3. The computer-implemented method of claim 1 , wherein first cache and the second cache are each a respective level 3 (L3) cache. 4. The computer-implemented method of claim 1 , wherein determining that the second processor requires the first data for a longer period of time than the estimated time the first processor operates on the first data is based in part on the absence of an early eviction bit in the request for data from the second processor. 5. The computer-implemented method of claim 1 , wherein the first cache and the shared cache are managed under a least recently used (LRU) algorithm. 6. A system for cache eviction, the system comprising: a processor communicatively coupled to a memory, the processor configured to: detect a first data in a shared cache and a same first data in a first cache in response to a request by a first processor, determine that the first data and the same first data have a mid-level cache eviction priority at the first cache and the shared cache, wherein determining that the first data has a mid-level cache eviction priority is based on the presence of an early eviction bit, and wherein the presence of the early eviction bit is based in part on an estimated time the first processor operates on the first data; detect a request from a second processor for a same first data as requested by the first processor; determine that the second processor requires the first data for a longer period of time than the estimated time the first processor operates on the first data; load duplicated first data to a second cache, wherein the duplicated data has a low-level cache eviction priority at the second cache; and remove the early eviction bit of the first data at the shared cache. 7. The system of claim 6 , wherein the shared cache is a level 4 (L4) cache. 8. The system of claim 6 , wherein first cache and the second cache are each a respective level 3 (L3) cache. 9. The system of claim 6 , wherein determining that the second processor has requires the first data for a longer period of time than the estimated time the first processor operates on the first data is based in part on the absence of an early eviction bit in the request for data from the second processor. 10. The system of claim 6 , wherein the first cache and the shared cache are managed under a least recently used (LRU) algorithm. 11. A computer program product for cache eviction, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the instructions executable by a processor to cause the processor to: detect first data in a shared cache and the same first data in a first cache in response to a request by a first processor, determine that the first data and the same first data have a mid-level cache eviction priority at the first cache and the shared cache, wherein determining that the first data has a mid-level cache eviction priority is based on the presence of an early eviction bit, and wherein the presence of the early eviction bit is based in part on an estimated time the first processor operates on data; detect a request from a second processor for the same first data requested by the first processor; determine that the second processor requires the first data for a longer period of time than the estimated time the first processor operates on the first data; load duplicated first data to a second cache, wherein the duplicated first data has a low-level cache eviction priority at the second cache; and remove the early eviction bit of the first data at the shared cache. 12. The computer program product of claim 11 , wherein the shared cache is a level 4 (L4) cache. 13. The computer program product of claim 11 , wherein first cache and the second cache are each a respective level 3 (L3) cache. 14. The computer program product of claim 11 , wherein determining that the second processor requires the first data for a longer period of time than the estimated time the first processor operates on the first data is based in part of the absence on an early eviction bit in the request for data from the second processor.

Assignees

Inventors

Classifications

  • G06F12/126Primary

    with special data handling, e.g. priority of data or instructions, handling errors or pinning · CPC title

  • with multilevel cache hierarchies · CPC title

  • G06F12/128Primary

    adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel · CPC title

  • with a shared cache · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10915461B2 cover?
Embodiments of the present invention are directed to a computer-implemented method for cache eviction. The method includes detecting a first data in a shared cache and a first cache in response to a request by a first processor. The first data is determined to have a mid-level cache eviction priority. A request is detected from a second processor for a same first data as requested by the first …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F12/126. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 09 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).