发明名称 PARTITIONING SHARED CACHES
摘要 Technology is provided for partitioning a shared unified cache in a multi-processor computer system. The technology can receive a request to allocate a portion of a shared unified cache memory for storing only executable instructions, partition the cache memory into multiple partitions, and allocate one of the partitions for storing only executable instructions. The technology can further determine the size of the portion of the cache memory to be allocated for storing only executable instructions as a function of the size of the multi-processor's L1 instruction cache and the number of cores in the multi-processor.
申请公布号 US2017109279(A1) 申请公布日期 2017.04.20
申请号 US201615390403 申请日期 2016.12.23
申请人 Facebook, Inc. 发明人 Vijayrao Narsing;Adams Keith
分类号 G06F12/0811;G06F12/121;G06F12/0846;G06F12/084;G06F12/0842 主分类号 G06F12/0811
代理机构 代理人
主权项 1. A computer-implemented method, comprising: storing, by a processor of multiple processors in a computing system, multiple executable instructions and data in a shared cache memory, the shared cache memory shared between the multiple processors, wherein the storing includes: storing the multiple executable instructions in a first partition of the shared cache memory that is restricted to storing the executable instructions, andstoring the data in a second partition that is outside of the first partition; receiving, by the processor, a request to store a first data in the shared cache memory; determining, by the processor, whether a first cache line to be evicted from the shared cache memory, for storing the first data, is an executable instruction that is stored in the first partition; and responsive to a determination that the first cache line is the executable instruction that is stored in the first partition, selecting, by the processor and based on a cache management policy, a second cache line located in the second partition to store the first data in.
地址 Menlo Park CA US