The Community for Technology Leaders
Green Image
<p><b>Abstract</b>—It is well known that compression and prediction are interrelated in that high compression implies good predictability, and vice versa. We use this correlation to find predictable properties of program behavior and apply them to appropriate cache management tasks. In particular, we look at two properties of program references: 1) <it>Inter Reference Gaps</it>: defined as the time interval between successive references to the same address by the processor, and 2) <it>Cache Misses</it>: references which access the next level of the memory hierarchy. Using compression, we show that these two properties are highly predictable and exploit them to improve <it>Cache Replacement</it> and <it>Cache Prefetching</it>, respectively.</p><p>Using trace-driven simulations on SPEC and Dinero benchmarks, we demonstrate the performance of our predictive schemes, and compare them with other methods for doing the same. We show that, using our predictive replacement scheme, miss ratio in cache memories can be improved up to 43 percent over the well-known <it>Least Recently Used</it> (LRU) algorithm, which covers the gap between the LRU and the <it>off-line optimal</it> (MIN) miss ratios, by more than 84 percent. For cache prefetching, we show that our scheme eliminates up to 62 percent of the total misses in D-caches. An equivalent sequential prefetch scheme only removes up to 42 percent of the misses. For I-caches, our scheme performs almost the same as the sequential scheme and removes up to 78 percent of the misses.</p>
Data compression, prediction, cache replacement, cache prefetching, trace-driven simulation.

V. Phalke and B. Gopinath, "Compression-Based Program Characterization for Improving Cache Memory Performance," in IEEE Transactions on Computers, vol. 46, no. , pp. 1174-1186, 1997.
88 ms
(Ver 3.3 (11022016))