Adaptive data prefetching
Abstract
A system and method for adaptive data prefetching in a processor enables adaptive modification of parameters associated with a prefetch operation. A stride pattern in successive addresses of a memory operation may be detected, including determining a stride length (L). Prefetching of memory operations may be based on a prefetch address determined from a base memory address, the stride length L, and a prefetch distance (D). A number of prefetch misses may be counted at a miss prefetch count (C). Based on the value of the miss prefetch count C, the prefetch distance D may be modified. As a result of adaptive modification of the prefetch distance D, an improved rate of cache hits may be realized.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: determining a value for a stride length (L) in response to detecting a stride pattern in memory operations; prefetching data for expected memory operations based on a prefetch address determined based on a base memory address, the stride length L, and a prefetch distance (D), wherein the prefetch address is given by a sum of the base memory address and a product (L×D); maintaining a miss prefetch count (C) indicative of a number of prefetch misses for prefetched memory operations; and adaptively modifying the prefetch distance D when the miss prefetch count C reaches a co
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (3)
- International Search Report and Written Opinion, International Patent Application No. PCT/US2013/020050, Jul. 30, 2013, 10 pages.
- Steven P. Vanderwiel and David J. Lilja, "Data prefetch mechanisms," ACM Computing Surveys, vol. 32, No. 2, Jun. 2000; see abstract, p. 8, line 14-p. 15, line 15 and figures 7-10.
- Steven P. Vanderwiel and David J. Lilja. 2000. Data prefetch mechanisms. ACM Comput. Surv. 32, 2.