CNIPA.AI
返回搜索
档案

METHODS, APPARATUSES, AND ELECTRONIC DEVICES FOR EVICTING MEMORY BLOCK IN CACHE

发明专利审中
9浏览
21权利要求 · 4 独立
§ Ⅰ

卷宗概要

发明人

Yuzhong Zhao; Runchen Hu

IPC 分类

G6F 12/126

CPC 分类

G6F12/126

Implementations of the present specification describe evicting a memory block in a cache, including determining a temperature index value of a memory block in a cache, where the memory block is a storage unit of the cache. Based on the temperature index value of the memory block in the cache, determining a to-be-evicted memory block that needs to be cleared in the cache. A target element in the to-be-evicted memory block is migrated to a target memory block in the cache, where the target memory block is a memory block that is retained in the cache and whose available storage space is greater than storage space required by the target element. The to-be-evicted memory block is deleted from the cache.

原文(中文)

Implementations of the present specification describe evicting a memory block in a cache, including determining a temperature index value of a memory block in a cache, where the memory block is a storage unit of the cache. Based on the temperature index value of the memory block in the cache, determining a to-be-evicted memory block that needs to be cleared in the cache. A target element in the to-be-evicted memory block is migrated to a target memory block in the cache, where the target memory block is a memory block that is retained in the cache and whose available storage space is greater than storage space required by the target element. The to-be-evicted memory block is deleted from the cache.