Data cache scrub mechanism for large L2/L3 data cache structures
Abstract
A method of reducing errors in a cache memory of a computer system (e.g., an L2 cache) by periodically issuing a series of purge commands to the L2 cache, sequentially flushing cache lines from the L2 cache to an L3 cache in response to the purge commands, and correcting errors (single-bit) in the cache lines as they are flushed to the L3 cache. Purge commands are issued only when the processor cores associated with the L2 cache have an idle cycle available in a store pipe to the cache. The flush rate of the purge commands can be programmably set, and the purge mechanism can be implemented either in software running on the computer system, or in hardware integrated with the L2 cache. In the case of the software, the purge mechanism can be incorporated into the operating system. In the case of hardware, a purge engine can be provided which advantageously utilizes the store pipe that is provided between the L1 and L2 caches. The L2 cache can be forced to victimize cache lines, by setting tag bits for the cache lines to a value that misses in the L2 cache (e.g., cache-inhibited space). With the eviction mechanism of the cache placed in a direct-mapped mode, the address misses will res
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 23.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of reducing double-bit errors in a cache memory of a computer system, comprising the steps of: periodically issuing a series of purge commands to the cache memory; sequentially flushing cache lines from the cache memory to a lower level memory device of the computer system in response to said issuing step to eventually flush all cache lines from the cache memory; and correcting errors in the cache lines as they are flushed to the lower level memory device.
- Claim 2Depends on #1
The method of claim 1 wherein said issuing step is performed in response to the further step of determining that one or more processor cores associated with the cache memory have an idle cycle available in a store pipe to the cache memory.
- Claim 3Depends on #1
The method of claim 1 wherein said correcting step corrects only single-bit errors in the cache lines.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗