Software controlled cache configuration based on average miss rate
Abstract
A digital system is provided with a several processors ( 1302 ), a shared level two (L2) cache ( 1300 ) having several segments per entry with associated tags, and a level three (L3) physical memory. Each tag entry includes a task-ID qualifier field and a resource ID qualifier field. Data is loaded into various lines in the cache in response to cache access requests when a given cache access request misses. After loading data into the cache in response to a miss, a tag associated with the data line is set to a valid state. In addition to setting a tag to a valid state, qualifier values are stored in qualifier fields in the tag. Each qualifier value specifies a usage characteristic of data stored in an associated data line of the cache, such as a task ID. A miss counter ( 532 ) counts each miss and a monitoring task ( 1311 ) determines a miss rate for memory requests. If a selected miss rate threshold value is exceeded, the digital system is reconfigured in order to reduce the miss rate. The cache is reconfigured in response to an operation command ( 1314 ), such that each tag in the array of tags that contains a specified qualifier value is modified in accordance with the operation
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 55.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of operating a digital system having a cache, the cache having a plurality of lines with an associated plurality of tags, the method comprising the steps of; processing a plurality of memory requests in response to program execution by the digital system; loading a plurality of data entries into a first plurality of lines in the cache in response to the plurality of memory requests and setting each tag associated with the plurality of data entries to a valid state; selecting a monitored-qualifier value; determining a miss rate for a qualified set of memory requests in response to the
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 55 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (3)
- IBM Technical Disclosure Bulletin, IBM Corp., NY, US; Scheme for Producing Miss-Rate as a Function of Cache Size by Means of Traces Produced by Observing Misses From a Cache of Fixed Size, vol. 33, No. 11, Apr. 1, 1991, pp. 36-39.
- Texas Instruments Incorporated, S/N: 09/187,118, filed Nov. 5, 1998, Computer Circuits, Systems, and Methods Using Partial Cache Cleaning.
- Texas Instruments Incorporated, S/N: 09/447,194, filed Nov. 22, 1999, Optimized Hardware Cleaning Function for VIVT Data Cache.