Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Lightweight Detection of Cache Conflicts

Conference ·
DOI:https://doi.org/10.1145/3168819· OSTI ID:1617870
 [1];  [2];  [2];  [3]
  1. College of William and Mary in Virginia
  2. BATTELLE (PACIFIC NW LAB)
  3. College of William and Mary
In memory hierarchies, caches perform an important role in reducing average memory access latency. Minimizing cache misses can yield significant performance gains. As set-associative caches are widely used in modern architectures, capacity and conflict cache misses co-exist. These two types of cache misses require different optimization strategies. While cache misses are commonly studied using cache simulators, state-of-the-art simulators usually incur hundreds to thousands of times a program’s execution runtime. Moreover, a simulator has difficulty in simulating complex real hardware. To overcome these limitations, measurement methods are proposed to directly monitor program execution on real hardware via performance monitoring units. However, existing measurement-based tools either focus on capacity cache misses or do not distinguish capacity and conflict cache misses. In this paper, we design and implement CCProf, a lightweight measurement-based profiler that identifies conflict cache misses and associates them with program source code and data structures. CCProf incurs moderate runtime overhead that is at least an order of magnitude lower than simulators. With the evaluation on a number of representative programs, CCProf is able to guide optimizations on cache conflict misses and obtain nontrivial speedups.
Research Organization:
Pacific Northwest National Laboratory (PNNL), Richland, WA (United States)
Sponsoring Organization:
USDOE
DOE Contract Number:
AC05-76RL01830
OSTI ID:
1617870
Report Number(s):
PNNL-SA-132742
Country of Publication:
United States
Language:
English

Similar Records

A one`s complement cache memory
Conference · Fri Dec 30 23:00:00 EST 1994 · OSTI ID:98913

The effect of sharing on the cache and bus performance of parallel programs
Book · Thu Dec 31 23:00:00 EST 1987 · OSTI ID:5005342

Effective Padding of Multi-Dimensional Arrays to Avoid Cache Conflict Misses
Conference · Thu Jun 02 00:00:00 EDT 2016 · OSTI ID:1339895

Related Subjects