DocumentCode :
1550404
Title :
Improving performance of large physically indexed caches by decoupling memory addresses from cache addresses
Author :
Min, Rui ; Hu, Yiming
Author_Institution :
Dept. of Electr. & Comput. Eng., Cincinnati Univ., OH, USA
Volume :
50
Issue :
11
fYear :
2001
fDate :
11/1/2001 12:00:00 AM
Firstpage :
1191
Lastpage :
1201
Abstract :
Modern CPUs often use large physically indexed caches that are direct-mapped or have low associativities. Such caches do not interact well with virtual memory systems. An improperly placed physical page will end up in a wrong place in the cache, causing excessive conflicts with other cached pages. Page coloring has been proposed to reduce the conflict misses by carefully placing pages in the physical memory. While page coloring works well for some applications, many factors limit its performance. Page coloring limits the freedom of the page placement system and may increase swapping traffic. In this paper, we propose a novel and simple architecture, called color-indexed, physically tagged caches, which can significantly reduce the conflict misses. With some simple modifications to the TLB (translation look-aside buffer), the new architecture decouples the addresses of the cache from the addresses of the main memory. Since the cache addresses do not depend on the the physical memory addresses anymore, the system can freely place data in any cache page to minimize the conflict misses, without affecting the paging system. Extensive trace-driven simulation results show that our design performs much better than traditional page coloring techniques. The new scheme enables a direct-mapped cache to achieve hit ratios very close to or better than those of a two-way set associative cache. Moreover, the architecture does not increase cache access latency, which is a drawback of set associative caches. The hardware overhead is minimal. We show that our scheme can reduce the cache size by 50 percent without sacrificing performance. A two-way set associative cache that uses this strategy can perform very close to a fully associative cache
Keywords :
cache storage; discrete event simulation; memory architecture; storage allocation; cache access latency; cache addresses; conflict misses; direct-mapped cache; large physically indexed caches; memory addresses decoupling; memory architectures; page coloring; performance evaluation; physically tagged caches; set associative caches; trace-driven simulation; translation look-aside buffer; two-way set-associative cache; virtual memory systems; Delay; Hardware; Information filtering; Information filters; Memory architecture; Memory management; Multiprocessing systems; Operating systems; Pipelines; Runtime;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/12.966494
Filename :
966494
Link To Document :
بازگشت