Line (Block) Size Choice for CPU Cache Memories
- 1 September 1987
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. C-36 (9), 1063-1075
- https://doi.org/10.1109/tc.1987.5009537
Abstract
The line (block) size of a cache memory is one of the parameters that most strongly affects cache performance. In this paper, we study the factors that relate to the selection of a cache line size. Our primary focus is on the cache miss ratio, but we also consider influences such as logic complexity, address tags, line crossers, I/O overruns, etc. The behavior of the cache miss ratio as a function of line size is examined carefully through the use of trace driven simulation, using 27 traces from five different machine architectures. The change in cache miss ratio as the line size varies is found to be relatively stable across workloads, and tables of this function are presented for instruction caches, data caches, and unified caches. An empirical mathematical fit is obtained. This function is used to extend previously published design target miss ratios to cover line sizes from 4 to 128 bytes and cache sizes from 32 bytes to 32K bytes; design target miss ratios are to be used to guide new machine designs. Mean delays per memory reference and memory (bus) traffic rates are computed as a function of line and cache size, and memory access time parameters. We find that for high performance microprocessor designs, line sizes in the range 16-64 bytes seem best; shorter line sizes yield high delays due to memory latency, although they reduce memory traffic somewhat. Longer line sizes are suitable for mainframes because of the higher bandwidth to main memory.Keywords
This publication has 17 references indexed in Scilit:
- Cache evaluation and the impact of workload choiceACM SIGARCH Computer Architecture News, 1985
- An Advanced Communication Protocol for the Proposed IEEE 896 FuturebusIEEE Micro, 1984
- The Proposed IEEE 896 Futurebus - A Solution to the Bus Driving ProblemIEEE Micro, 1984
- Experimental evaluation of on-chip microprocessor cache memoriesPublished by Association for Computing Machinery (ACM) ,1984
- Cache Performance in the VAX-11/780ACM Transactions on Computer Systems, 1983
- Cache MemoriesACM Computing Surveys, 1982
- Sequentiality and prefetching in database systemsACM Transactions on Database Systems, 1978
- An instruction timing model of CPU performanceACM SIGARCH Computer Architecture News, 1977
- Interference in multiprocessor computer systems with interleaved memoryCommunications of the ACM, 1976
- Cache memories for PDP-11 family computersPublished by Association for Computing Machinery (ACM) ,1976