Memory access popularity statistics method and related apparatus and device
AssigneeHuawei Technologies Co., Ltd.
InventorXingyu LUO
Life of this patent
Estimating the term…
Abstract
Example memory access popularity statistics methods and apparatus are described. One example method includes determining a first address based on an access request. The access request indicates an operation performed on a memory of a computer device by an application program run by at least one processor in the computer device. Statistics about access frequency of accessing a data block stored at the first address is collected. An access popularity of the data block is determined based on the access frequency.
Claims20
A method, wherein the method is performed by a controller, and the method comprises:
- determining a first address based on an access request, wherein the access request indicates an operation performed on a memory of a computer device by an application program run by at least one processor in the computer device in which the controller is located, and the first address is a physical address in the memory;
- collecting statistics about access frequency of accessing a data block stored at the first address, wherein a size of the data block is a multiple of unit storage space in the memory that is accessible to the at least one processor;
- and
- determining an access popularity of the data block based on the access frequency.
A controller, wherein the controller comprises a storage circuit and a processing circuit, wherein the storage circuit store computer instructions for execution by the processing circuit to:
- determine a first address based on an access request, wherein the access request indicates an operation performed on a memory of a computer device by an application program run by at least one processor in the computer device in which the controller is located, and the first address is a physical address in the memory;
- collect statistics about access frequency of accessing a data block stored at the first address, wherein a size of the data block is a multiple of unit storage space in the memory that is accessible to the at least one processor;
- and
- determine an access popularity of the data block based on the access frequency.
A computer device, wherein the computer device comprises at least one processor and a memory, and the memory comprises a storage device and a controller, and the controller comprises a storage circuit and a processing circuit, and the storage circuit stores computer instructions for execution by the processing circuit to:
- determine a first address based on an access request, wherein the access request indicates an operation performed on a memory of a computer device by an application program run by the at least one processor in the computer device in which the controller is located, and the first address is a physical address in the memory;
- collect statistics about access frequency of accessing a data block stored at the first address, wherein a size of the data block is a multiple of unit storage space in the memory that is accessible to the at least one processor;
- and
- determine an access popularity of the data block based on the access frequency.
Dependencies are inferred from the claim text.