Hardware predictor using a cache line demotion instruction to reduce performance inversion in core-to-core data transfers
Abstract
Apparatus and methods implementing a hardware predictor for reducing performance inversions caused by intra-core data transfer during inter-core data transfer optimization for network function virtualizations (NFVs) and other producer-consumer workloads. An apparatus embodiment includes a plurality of hardware processor cores each including a first cache, a second cache shared by the plurality of hardware processor cores, and a predictor circuit to track the number of inter-core versus intra-core accesses to a plurality of monitored cache lines in the first cache and control enablement of a cache line demotion instruction, such as a cache line LLC allocation (CLLA) instruction, based upon the tracked accesses. An execution of the cache line demotion instruction by one of the plurality of hardware processor cores causes a plurality of unmonitored cache lines in the first cache to be moved to the second cache, such as from L1 or L2 caches to a shared L3 or last level cache (LLC).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a plurality of hardware processor cores, wherein each of the hardware processor cores includes a first cache; a second cache, communicatively coupled to and shared by the plurality of hardware processor cores; and a predictor circuit for tracking accesses to a plurality of monitored cache lines in the first cache and controlling enablement of a cache line demotion instruction based upon the tracked accesses, wherein the predictor circuit is operable to: store addresses of a plurality of cache lines in the first cache; maintain a counter for tracking a number of intra-c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗