The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Oct. 05, 2021

Filed:

Apr. 19, 2019
Applicant:

Oracle International Corporation, Redwood Shores, CA (US);

Inventors:

Justin Matthew Lewis, San Carlos, CA (US);

Zuoyu Tao, Belmont, CA (US);

Jia Shi, Burlingame, CA (US);

Kothanda Umamageswaran, Sunnyvale, CA (US);

Assignee:

Oracle International Corporation, Redwood Shores, CA (US);

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 12/00 (2006.01); G06F 12/121 (2016.01); G06F 12/0891 (2016.01);
U.S. Cl.
CPC ...
G06F 12/121 (2013.01); G06F 12/0891 (2013.01); G06F 2212/1021 (2013.01); G06F 2212/466 (2013.01);
Abstract

Techniques are provided to adjust the behavior of a cache based on a count of cache misses for items recently evicted. In an embodiment, a computer responds to evicting a particular item (PI) from a cache by storing a metadata entry for the PI into memory. In response to a cache miss for the PI, the computer detects whether or not the metadata entry for the PI resides in memory. When the metadata entry for the PI is detected in memory, the computer increments a victim hit counter (VHC) that may be used to calculate how much avoidable thrashing is the cache experiencing, which is how much thrashing would be reduced if the cache were expanded. Either immediately or arbitrarily later, the computer adjusts a policy of the cache based on the VHC's value. For example, the computer may adjust the capacity of the cache based on the VHC.


Find Patent Forward Citations

Loading…