DMon: Efficient Detection and Correction of Data Locality Problems Using Selective Profiling
Tanvir Ahmed Khan, Ian Neal, Gilles Pokam, Barzan Mozafari, Baris Kasikci
Abstract
Poor data locality hurts an application's performance. While compiler-based techniques have been proposed to improve data locality, they depend on heuristics, which can sometimes hurt performance. Therefore, developers typically find data locality issues via dynamic profiling and repair them manually. Alas, existing profiling techniques incur high overhead when used to identify data locality problems and cannot be deployed in production, where programs may exhibit previously-unseen performance problems.
We present selective profiling, a technique that locates data locality problems with low-enough overhead that is suitable for production use. To achieve low overhead, selective profiling gathers runtime execution information selectively and incrementally. Using selective profiling, we build DMon, a system that can automatically locate data locality problems in production, identify access patterns that hurt locality, and repair such patterns using targeted optimizations.
Thanks to selective profiling, DMon's profiling overhead is 1.36% on average, making it feasible for production use. DMon's targeted optimizations provide 16.83% speedup on average (up to 53.14%), compared to a baseline that uses the highest level of compiler optimization. DMon speeds up PostgreSQL, one of the most popular database systems, by 6.64% on average (up to 17.48%).
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Thermometer: profile-guided btb replacement for data center applications cites Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
- Thermometer: profile-guided btb replacement for data center applications cites Classifying Memory Access Patterns for Prefetching
- Thermometer: profile-guided btb replacement for data center applications cites APT-GET: profile-guided timely software prefetching
- APT-GET: profile-guided timely software prefetching cites Thermometer: profile-guided btb replacement for data center applications
- Thermometer: profile-guided btb replacement for data center applications cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
- Mira: A Program-Behavior-Guided Far Memory System cites Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
- Mira: A Program-Behavior-Guided Far Memory System cites Thermometer: profile-guided btb replacement for data center applications
- Mira: A Program-Behavior-Guided Far Memory System cites APT-GET: profile-guided timely software prefetching
- Mira: A Program-Behavior-Guided Far Memory System cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications cites Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications cites Thermometer: profile-guided btb replacement for data center applications
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications cites APT-GET: profile-guided timely software prefetching
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
- APT-GET: profile-guided timely software prefetching cites Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
- APT-GET: profile-guided timely software prefetching cites Classifying Memory Access Patterns for Prefetching
- APT-GET: profile-guided timely software prefetching cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
- I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing cites Classifying Memory Access Patterns for Prefetching
Cited by top-tier papers16
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center ApplicationsTanvir Ahmed Khan, Muhammed Ugur, Krishnendra Nathella, Dam Sunwoo et al.MICRO 2022 · 25 citations
- APT-GET: profile-guided timely software prefetchingSaba Jamilan, Tanvir Ahmed Khan, Grant Ayers, Baris Kasikci et al.EuroSys 2022 · 25 citations
- Thermometer: profile-guided btb replacement for data center applicationsShixin Song, Tanvir Ahmed Khan, Sara Mahdizadeh-Shahri, Akshitha Sriraman et al.ISCA 2022 · 23 citations
- Mira: A Program-Behavior-Guided Far Memory SystemZhiyuan Guo, Zijian He, Yiying ZhangSOSP 2023 · 22 citations
- Domain specific run time optimization for software data planesSebastiano Miano, Alireza Sanaee, Fulvio Risso, Gábor Rétvári et al.ASPLOS 2022 · 20 citations
Builds on3
- Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 citations
- I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam et al.MICRO 2020 · 37 citations
- Ripple: Profile-Guided Instruction Cache Replacement for Data Center ApplicationsTanvir Ahmed Khan, Dexin Zhang, Akshitha Sriraman, Joseph Devietti et al.ISCA 2021 · 33 citations
Related papers
- Adaptive Code Generation for Data-Intensive AnalyticsWangda Zhang, Junyoung Kim, Kenneth A. Ross, Eric Sedlar et al.VLDB 2021 · 12 citations
- RPG2: Robust Profile-Guided Runtime Prefetch GenerationYuxuan Zhang, Nathan Sobotka, Soyoon Park, Saba Jamilan et al.ASPLOS 2024 · 11 citations
- An Anomaly Detection System for the Protection of Relational Database Systems against Data Leakage by Application ProgramsDaren Fadolalkarim, Elisa Bertino, Asmaa SallamICDE 2020 · 17 citations
- LOCAT: Low-Overhead Online Configuration Auto-Tuning of Spark SQL ApplicationsJinhan Xin, Kai Hwang, Zhibin YuSIGMOD 2022 · 34 citations
- OCOLOS: Online COde Layout OptimizationSYuxuan Zhang, Tanvir Ahmed Khan, Gilles Pokam, Baris Kasikci et al.MICRO 2022 · 14 citations
