CPU-efficient cache replacment with two-phase eviction
AssigneeVMware, Inc.
InventorsWenguang Wang, Christoph Klee, Adrian Drzewiecki, Christos Karamanolis, Richard P. Spillane, Maxime Austruy
Life of this patent
Estimating the term…
Loading patent…
AssigneeVMware, Inc.
InventorsWenguang Wang, Christoph Klee, Adrian Drzewiecki, Christos Karamanolis, Richard P. Spillane, Maxime Austruy
Estimating the term…
The present disclosure provides techniques for managing a cache of a computer system using a cache management data structure. The cache management data structure includes a cold queue, a ghost queue, and a hot queue. The techniques herein improve the functioning of the computer because management of the cache management data structure can be performed in parallel with multiple cores or multiple processors, because a sequential scan will only pollute (i.e., add unimportant memory pages) cold queue, and to an extent, ghost queue, but not hot queue, and also because the cache management data structure has lower memory requirements and lower CPU overhead on cache hit than some prior art algorithms.
A method of managing a cache of a computer system using a cache data structure that includes a cold queue, a ghost queue, and a hot queue, the hot queue configured as a ring buffer that includes a plurality of storage locations, wherein each of the storage locations has at least two bits associated with the storage location, the at least two bits indicating a status of contents within the storage location of the hot queue, the method comprising:
A non-transitory computer readable medium comprising instructions to be executed in a processor of a computer system, the instructions when executed in the processor cause the computer system to carry out a method of managing a cache of a computer system using a cache data structure that includes a cold queue, a ghost queue, and a hot queue, the hot queue configured as a ring buffer that includes a plurality of storage locations, wherein each of the storage locations has at least two bits associated with the storage location, the at least two bits indicating a status of contents within the storage location of the hot queue, the method comprising:
A computer system comprising:
Dependencies are inferred from the claim text.