Cache partitioning with a partition table to effect allocation of ways and rows of the cache to virtual machine in virtualized environments
Abstract
A mechanism is provided in a virtual machine monitor for providing cache partitioning in virtualized environments. The mechanism assigns a virtual identification (ID) to each virtual machine in the virtualized environment. The processing core stores the virtual ID of the virtual machine in a special register. The mechanism also creates an entry for the virtual machine in a partition table. The mechanism may partition a shared cache using a vertical (way) partition and/or a horizontal partition. The entry in the partition table includes a vertical partition control and a horizontal partition control. For each cache access, the virtual machine passes the virtual ID along with the address to the shared cache. If the cache access results in a miss, the shared cache uses the partition table to select a victim cache line for replacement.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 45 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus, in a data processing system, for partitioning a shared cache in virtualized environments, the apparatus comprising: a shared cache array; a hardware shared cache controller, wherein the hardware shared cache controller is configured to receive a cache access request from a virtual machine and responsive to the cache access request resulting in a cache miss, overwrite one or more victim cache lines in the shared cache array based on a vertical partition control and a horizontal partition control in an entry in a partition table corresponding to the virtual machine, wherein the ver
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (45)
Non-Patent Literature (5)
- Final Office Action dated Jan. 4, 2013, U.S. Appl. No. 13/444,439; 16 pages.
- Final Office Action mailed Apr. 30, 2012 for U.S. Appl. No. 12/509,752; 18 pages.
- International Search Report and Written Opinion dated Dec. 7, 2010 for International Application No. PCT/EP2010/062077, 9 pages.
- Kessler, R. E. et al., "Page Placement Algorithms for Large Real-Indexed Caches", ACM Transactions on Computer Systems, vol. 10, No. 4, Nov. 1992, pp. 338-359.
- Lin, Jiang et al., "Gaining Insights into Multicore Cache Partitioning: Bridging the Gap between Simulation and Real Systems", 14th International Symposium on High-Performance Computer Architecture (HPCA), 2008, pp. 367-378.