Programming means for dynamic specifications of cache management preferences
Abstract
A method and apparatus for managing cache lines in a data processing system. A special purpose register is employed in which this register may be manipulated by user code and operating system code to set preferences, such as a level 2 cache management policy preference for an application thread. These preferences may be dynamically set and an arbitration mechanism is employed to best satisfy preferences of multiple threads with a single aggregate preference. Members are represented using a least recently used tree. The least recent used tree has a set of nodes forming a path to member cache lines in a hierarchical structure. A state of a selected node is selectively biased within the set of nodes in the least recently used tree. At least one node on a level below the selected node is eliminated from being selected in managing the cache lines. In this manner, members can be biased against or for selection as victims when replacing cache lines in a cache memory.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 18.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method in a data processing system for managing cache lines, the method comprising: representing members using a least recently used tree, wherein the least recently used tree has a set of nodes forming a paths to member cache lines in a hierarchical structure; and selectively biasing a state of a selected node within the set of nodes in the least recently used tree, wherein at least one node on a level below the selected nods is eliminated from being selected in managing the cache lines, wherein the state is selectively biased using at least one preference that is dynamically set.
- Claim 2Depends on #1
The method of claim 1 , wherein a particular node in the least recently used tree is defined using a single bit chronology vector.
- Claim 3Depends on #1
The method of claim 1 , wherein a particular node in the least recent used tree is defined using a four bit chronology vector.
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 18 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (3)
- Cargnoni et al., Cache Allocation Mechanism for Biasing Subsequent Allocations Based Upon Cache Directory State.
- Cargnoni et al., Cache Allocation Mechanism for Saving Multiple Elected Unworthy Members via Substitute Victimization and Imputed Worthiness of Multiple Substitute Victim Members.
- Starke, Cache Allocation Mechanism for Saving Elected Unworthy Member via Substitute Victimization and Imputed Worthiness of Substitute Victim Member.