Reducing Conflict Misses in Caches
نویسندگان
چکیده
Nearly all modern computing systems employ caches to hide the memory latency. Modern processors often employ multiple levels of cache, with one or more levels on the same die as the processor core. As performance demands increase, it becomes increasingly important for an on-die cache structure to perform well. Inefficient use of the available cache space can become increasingly costly in terms of both speed [1] and power usage [4]. Speed and size constraints often make the case for small on-die caches, with little or no associativity. However, small direct-mapped caches may result in a large number of conflict misses. In order to reduce the number of conflicts, we propose a small structure called the Conflict Detection Table (CDT), which stores the instruction and data addresses of load/store instructions. By using this table, it can be found if a memory access is expected to produce a cache hit. From this information, it can be determined if a cache miss is caused by a conflict with another instruction, and appropriate action can be taken. We propose two caches that employ this conflict detection technique. The first cache, called the Bypass in Case of Conflict (BCC) cache, is a direct-mapped cache that bypasses the cache when a conflict is detected. The second cache, called the Sub-block in Case of Conflict (SCC) cache, is a directmapped cache that fetches only part of the referenced cache line, when a conflict is detected. Experiments have shown that, for a number of applications, the BCC and the SCC can produce less traffic than direct-mapped caches. This leads to decreased power consumption without increasing the average memory access time. Keywords— cache; conflict misses; power reduction; embedded systems
منابع مشابه
Victim Caching with Better Block Replacement
Cache memories help bridge the cycle-time gap between fast microprocessors and relatively slow main memories. By holding recently referenced regions of memory, caches can reduce the number of cycles the processor must stall while waiting for data. As the disparity between processor and main memory cycle times increases by 40 percent or more per year cache performance becomes ever more critical....
متن کاملOptimal Cache Organization using an Allocation Tree
The increasing use of microprocessor cores in embedded systems, as well as mobile and portable devices, creates an opportunity for customizing the cache subsystem for improved performance. In this work, we outline a technique based on a binary tree data structure to efficiently compute a set of cache size and associativity pairs that result in ideal cache behavior for a given application memory...
متن کاملEvaluating a Model for Cache Conflict Miss Prediction
Cache conflict misses can cause severe degradation in application performance. Previous research has shown that for many scientific applications majority of cache misses are due to conflicts in cache. Although, conflicts in cache are a major concern for application performance it is often difficult to eliminate them completely. Eliminating conflict misses requires detailed knowledge of the cach...
متن کاملECE1718 Project Final Report Improving Data Locality During Thread-Level Speculation
Locality conflict is a major problem during thread-level speculation (TLS). This paper addresses three potential techniques for reducing data cache misses, namely universal prefetching, ORB prefetching and prefetching on speculative violation. Universal prefetching works by prefetching clean cache lines from the unified cache to all data caches when one of the data caches suffer a speculative r...
متن کاملInstruction Cache Conflict
How caches (LLC and L2) are portioned between CODE and DATA. evicted from the L1 instruction cache due to an L1 capacity or conflict overflow, it will likely. Cache principles, The 3 C's: Compulsory, Capacity and Conflict misses, Data is temporal and spatial locality for instruction accesses and for data accesses. Time of a full cache miss in instructions executed: (Misses in Fully Associative ...
متن کامل