US 11,940,915 B2
Cache allocation method and device, storage medium, and electronic device
Xinwei Niu, Guangdong (CN)
Assigned to SANECHIPS TECHNOLOGY CO., LTD., Shenzhen (CN)
Appl. No. 17/606,449
Filed by ZTE CORPORATION, Guangdong (CN)
PCT Filed Apr. 30, 2020, PCT No. PCT/CN2020/088364
§ 371(c)(1), (2) Date Oct. 25, 2021,
PCT Pub. No. WO2020/259082, PCT Pub. Date Dec. 30, 2020.
Claims priority of application No. 201910580430.8 (CN), filed on Jun. 28, 2019.
Prior Publication US 2022/0206944 A1, Jun. 30, 2022
Int. Cl. G06F 12/0806 (2016.01)
CPC G06F 12/0806 (2013.01) [G06F 2212/62 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A cache allocation method, comprising:
accessing, by a core, a level 3 cache in response to detecting a miss response from each of a level 1 cache and a level 2 cache, wherein the level 1 cache and the level 2 cache are accessed by the core through sending instruction fetching instructions; wherein the instruction fetching instructions are configured to request the level 1 cache and the level 2 cache that are accessed to return an instruction and data, the level 1 cache is a private cache of the core, the level 2 cache is a common cache corresponding to a core set including the core, the level 3 cache is a common cache shared by a plurality of core sets, and the miss response from the level 2 cache carries network slice information;
allocating, by a planning unit disposed in the level 3 cache, the plurality of core sets to a plurality of network slices and configuring, by the planning unit, corresponding caches for the plurality of network slices according to the network slice information; and
sending, by the planning unit, a hit response to the core, wherein the hit response is configured to return data in a cache of a network slice corresponding to the core set including the core.