MAPredict: Static Analysis Driven Memory Access Prediction Framework for Modern CPUs

MAPredict: Static Analysis Driven Memory Access Prediction Framework for Modern CPUs

Tuesday, May 31, 2022 1:40 PM to 2:00 PM · 20 min. (Europe/Berlin)
Hall G1 - 2nd Floor

Information

Application memory access patterns are crucial in deciding how much traffic is served by the cache and forwarded to the dynamic random-access memory (DRAM). However, predicting such memory traffic is difficult because of the interplay of prefetchers, compilers, parallel execution, and innovations in manufacturer-specific micro-architectures. This research introduced MAPredict, a static analysis-driven framework that addresses these challenges to predict last-level cache (LLC)-DRAM traffic. By exploring and analyzing the behavior of modern Intel processors, MAPredict formulates cache-aware analytical models. MAPredict invokes these models to predict LLC-DRAM traffic by combining the application model, machine model, and user-provided hints to capture dynamic information. MAPredict successfully predicts LLC-DRAM traffic for different regular access patterns and provides the means to combine static and empirical observations for irregular access patterns. Evaluating 130 workloads from six applications on recent Intel micro-architectures, MAPredict yielded an average accuracy of 99% for streaming, 91% for strided, and 92% for stencil patterns. By coupling static and empirical methods, up to 97% average accuracy was obtained for random access patterns on different micro-architectures.
Contributors:

  • Seyong Lee (Oak Ridge National Laboratory)
  • Allen D. Malony (University of Oregon)
  • Dr. Mohammad Alaul Haque Monil (Oak Ridge National Laboratory)
  • Jeff Vetter (Oak Ridge National Laboratory)
Format
On-siteLive-Online