Consistency management for virtually indexed caches
- 1 September 1992
- proceedings article
- Published by Association for Computing Machinery (ACM)
- Vol. 27 (9), 124-136
- https://doi.org/10.1145/143365.143499
Abstract
A virtually indexed cache can improve performance by allowing cache lookup and address translation to occur in parallel, thus reducing processor cycle time. Unlike physically indexed caches, virtually indexed caches create consistency problems because a physical address may be represented in more than one cache line when it has been accessed through more than one virtual address. Write-back virtually indexed caches create additional inconsistencies because memory may become stale with respect to the cache. In this paper we examine the problem of consistency management for a virtually indexed write-back cache. We assume that the hardware does not support intra-cache consistency. We present a model and software implementation strategy for maintaining consistency with virtually indexed caches. We present measurements from an implementation of this model on the HP in the context of the Mach operating system. Our measurements show that a virtually indexed cache can be managed with nearly the same cost as that required to manage a physically indexed one, even when used by a virtual memory system that encourages and exploits sharing.Keywords
This publication has 8 references indexed in Scilit:
- Eliminating the address translation bottleneck for physical address cachePublished by Association for Computing Machinery (ACM) ,1992
- Virtual memory primitives for user programsPublished by Association for Computing Machinery (ACM) ,1991
- Architectural and organizational tradeoffs in the design of the MultiTitan CPUPublished by Association for Computing Machinery (ACM) ,1989
- Organization and performance of a two-level virtual-real cache hierarchyPublished by Association for Computing Machinery (ACM) ,1989
- Precision architectureComputer, 1989
- Machine-independent virtual memory management for paged uniprocessor and multiprocessor architecturesPublished by Association for Computing Machinery (ACM) ,1987
- The duality of memory and communication in the implementation of a multiprocessor operating systemPublished by Association for Computing Machinery (ACM) ,1987
- The ITC distributed file systemPublished by Association for Computing Machinery (ACM) ,1985