US 11,928,061 B2
Cache management method and apparatus
Chang Song, Hangzhou (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Mar. 7, 2022, as Appl. No. 17/687,996.
Application 17/687,996 is a continuation of application No. PCT/CN2020/113309, filed on Sep. 3, 2020.
Claims priority of application No. 202010047039.4 (CN), filed on Jan. 16, 2020; and application No. 202010291665.8 (CN), filed on Apr. 14, 2020.
Prior Publication US 2022/0188230 A1, Jun. 16, 2022
Int. Cl. G06F 12/08 (2016.01); G06F 12/02 (2006.01); G06F 12/084 (2016.01); G06F 12/0871 (2016.01); G06F 12/128 (2016.01)
CPC G06F 12/084 (2013.01) [G06F 12/0246 (2013.01); G06F 12/0871 (2013.01); G06F 12/128 (2013.01); G06F 2212/2542 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A data management method implemented by a first processor in a first non-uniform memory access (NUMA) node of a plurality of NUMA nodes in a computing system, the data management method comprising:
receiving an operation request for a first data block associated with an access attribute, wherein the access attribute comprises a distance between a home NUMA node of the first data block and the first NUMA node, a quantity of times that the first processor has accessed a memory in the home NUMA node within a first preset time, and a corresponding cache loss rate for accessing a data block in the memory within a second preset time, and wherein the first data block comprises a home memory address pointing to the home NUMA node;
processing the first data block; and
allocating, based on the access attribute, a first replacement priority of the first data block in a first cache space of the first NUMA node.