Published January 1, 2022 | Version v1
Conference paper Open

Low-Overhead Reuse Distance Profiling Tool for Multicore

  • 1. Koc Univ, Istanbul, Turkey
  • 2. Scalable Machines Res, San Jose, CA USA

Description

With the increase in core count in multicore systems, data movement is one of the main sources of performance slowdown in parallel applications and data locality has become a critical factor in application optimization. One of the important locality metrics is reuse distance, which shows the likelihood of a memory access to be a cache hit. In this work, we propose a low-overhead reuse distance profiling tool for multi-threaded applications. Our method relies on available hardware features in commodity CPUs, namely, Performance Monitoring Units (PMUs) and debug registers, to detect data reuse in private and shared caches by considering inter-thread cache line invalidations. Unlike prior approaches, our tool is fast, accurate, does not change the program behavior and can also handle shared cache accesses. Though it has low runtime (2.9x) and memory overheads (2.8x), our tool achieves 92% accuracy.

Files

bib-5353f8ae-b756-4acf-8e22-e6688146a37c.txt

Files (146 Bytes)

Name Size Download all
md5:90b0600a81e58fb8bcfd2132c9748d27
146 Bytes Preview Download