The Community for Technology Leaders
Green Image
<p><b>Abstract</b>—Memory hierarchies have long been studied by many means: system building, trace-driven simulation, and mathematical analysis. Yet little help is available for the system designer wishing to quickly size the different levels in a memory hierarchy to a first-order approximation. In this paper, we present a simple analysis for providing this practical help and some unexpected results and intuition that come out of the analysis. By applying a specific, parameterized model of workload locality, we are able to derive a closed-form solution for the optimal size of each hierarchy level. We verify the accuracy of this solution against exhaustive simulation with two case studies: a three-level I/O storage hierarchy and a three-level processor-cache hierarchy. In all but one case, the configuration recommended by the model performs within 5% of optimal. One result of our analysis is that the first place to spend money is the cheapest (rather than the fastest) cache level, particularly with small system budgets. Another is that money spent on an n-level hierarchy is spent in a fixed proportion until another level is added.</p>
Cache, memory, and storage hierarchies; trace-driven simulations; optimization of cache configurations.

P. M. Chen, T. N. Mudge, S. R. Silverman and B. L. Jacob, "An Analytical Model for Designing Memory Hierarchies," in IEEE Transactions on Computers, vol. 45, no. , pp. 1180-1194, 1996.
96 ms
(Ver 3.3 (11022016))