Inexpensive implementations of set-associativity
- 1 April 1989
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 17 (3) , 131-139
- https://doi.org/10.1145/74926.74941
Abstract
The traditional approach to implementing wide set-associativity is expensive, requiring a wide tag memory (directory) and many comparators. Here we examine alternative implementations of associativity that use hardware similar to that used to implement a direct-mapped cache. One approach scans tags serially from most-recently used to least-recently used. Another uses a partial compare of a few bits from each tag to reduce the number of tags that must be examined serially. The drawback of both approaches is that they increase cache access time by a factor of two or more over the traditional implementation of set-associativity, making them inappropriate for cache designs in which a fast access time is crucial (e.g. level one caches, caches directly servicing processor requests). These schemes are useful, however, if (1) the low miss ratio of wide set-associative caches is desired, (2) the low cost of a direct-mapped implementation is preferred, and (3) the slower access time of these approaches can be tolerated. We expect these conditions to be true for caches in multiprocessors designed to reduce memory interconnection traffic, caches implemented with large, narrow memory chips, and level two (or higher) caches in a cache hierarchy.Keywords
This publication has 12 references indexed in Scilit:
- A case for direct-mapped cachesComputer, 1988
- Cache performance of operating system and multiprogramming workloadsACM Transactions on Computer Systems, 1988
- Cache operations by MRU changeIEEE Transactions on Computers, 1988
- Cache design of a sub-micron CMOS system/370Published by Association for Computing Machinery (ACM) ,1987
- Bibliography and reading on CPU cache memories and related topicsACM SIGARCH Computer Architecture News, 1986
- Cache Performance in the VAX-11/780ACM Transactions on Computer Systems, 1983
- Cache MemoriesACM Computing Surveys, 1982
- A Comparative Study of Set Associative Memory Mapping Algorithms and Their Use for Cache and Main MemoryIEEE Transactions on Software Engineering, 1978
- Evaluation techniques for storage hierarchiesIBM Systems Journal, 1970
- Structural aspects of the System/360 Model 85, II: The cacheIBM Systems Journal, 1968