- Patent Title: Detection of avoidable cache thrashing for OLTP and DW workloads
-
Application No.: US15687296Application Date: 2017-08-25
-
Publication No.: US10331573B2Publication Date: 2019-06-25
- Inventor: Justin Matthew Lewis , Zuoyu Tao , Jia Shi , Kothanda Umamageswaran
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Becker Bingham LLP
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F12/121 ; G06F12/0891

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.
Public/Granted literature
- US20180129612A1 DETECTION OF AVOIDABLE CACHE THRASHING FOR OLTP AND DW WORKLOADS Public/Granted day:2018-05-10
Information query