Method and apparatus for adaptive cache frame locking and unlocking
Abstract
Most recently accessed frames are locked in a cache memory. The most recently accessed frames are likely to be accessed by a task again in the near future and may be locked at the beginning of a task switch or interrupt to improve cache performance. The list of most recently used frames is updated as a task executes and may be embodied as a list of frame addresses or a flag associated with each frame. The list of most recently used frames may be separately maintained for each task if multiple tasks may interrupt each other. An adaptive frame unlocking mechanism is also disclosed that automatically unlocks frames that may cause a significant performance degradation for a task. The adaptive frame unlocking mechanism monitors a number of times a task experiences a frame miss and unlocks a given frame if the number of frame misses exceeds a predefined threshold.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for locking frames in a cache memory, said method comprising the steps of: storing information from main memory in frames of said cache memory; monitoring a number of most recently used frames; locking said number of said most recently used frames if a task is interrupted by another task; and unlocking frames that cause a performance degradation for a task if a number of frame misses exceeds a predefined threshold.
- Claim 2Depends on #1
The method of claim 1 , wherein said monitoring step maintains a frame address of said most recently used frames.
- Claim 3Depends on #1
The method of claim 1 , wherein said monitoring step maintains a flag associated with said most recently used frames.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (6)
Non-Patent Literature (3)
- Kaxiras et al, "Cache Decay: Exploiting Generational Behavior to Reduce Cache Leakage Power," IEEE, (2001).
- Lai et al., "Dead-Block Prediction & Dead-Block Correlating Prefetchers," IEEE, (2001).
- Mendelson et al, "Modeling Live and Dead Lines in Cache Memory System," IEEE, Trans. on Computers, v. 42, No. 1, (Jan. 1993).