BayesPerf: minimizing performance monitoring errors using Bayesian statistics
Subho S. Banerjee, Saurabh Jha, Zbigniew Kalbarczyk, Ravishankar K. Iyer
摘要
Hardware performance counters (HPCs) that measure low-level architectural and microarchitectural events provide dynamic contextual information about the state of the system. However, HPC measurements are error-prone due to non determinism (e.g., undercounting due to event multiplexing, or OS interrupt-handling behaviors). In this paper, we present BayesPerf, a system for quantifying uncertainty in HPC measurements by using a domain-driven Bayesian model that captures microarchitectural relationships between HPCs to jointly infer their values as probability distributions. We provide the design and implementation of an accelerator that allows for low-latency and low-power inference of the BayesPerf model for x86 and ppc64 CPUs. BayesPerf reduces the average error in HPC measurements from 40.1% to 7.6% when events are being multiplexed. The value of BayesPerf in real-time decision-making is illustrated with a simple example of scheduling of PCIe transfers.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper6
- TIP: Time-Proportional Instruction ProfilingBjörn Gottschall, Lieven Eeckhout, Magnus JahreMICRO 2021 · 被引用 16 次
- TEA: Time-Proportional Event AnalysisBjörn Gottschall, Lieven Eeckhout, Magnus JahreISCA 2023 · 被引用 11 次
- Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage UncertaintyAo Li, Marion Sudvarg, Zihan Li, Sanjoy K. Baruah 等OSDI 2025 · 被引用 2 次
- Chips Need DIP: Time-Proportional Per-Instruction Cycle Stacks at DispatchSilvio Heverton Campelo de Santana, Joseph Rogers, Lieven Eeckhout, Magnus JahreASPLOS 2026 · 被引用 1 次
- CounterPoint: Using Hardware Event Counters to Refute and Refine Microarchitectural AssumptionsNick Lindsay, Caroline Trippel, Anurag Khandelwal, Abhishek BhattacharjeeASPLOS 2026
它引用的顶会 Paper3
- FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented MicroservicesHaoran Qiu, Subho S. Banerjee, Saurabh Jha, Zbigniew T. Kalbarczyk 等OSDI 2020 · 被引用 350 次
- SoK: The Challenges, Pitfalls, and Perils of Using Hardware Performance Counters for SecuritySanjeev Das, Jan Werner, Manos Antonakakis, Michalis Polychronakis 等S&P 2019 · 被引用 163 次
- Inductive-bias-driven Reinforcement Learning For Efficient Schedules in Heterogeneous ClustersSubho S. Banerjee, Saurabh Jha, Zbigniew Kalbarczyk, Ravishankar K. IyerICML 2020 · 被引用 15 次
相关 Paper
- On the Feasibility of Malware Unpacking via Hardware-assisted Loop ProfilingBinlin Cheng, Erika A. Leal, Haotian Zhang, Jiang MingUSENIX Security 2023
- The Laplace Microarchitecture for Tracking Data Uncertainty and Its Implementation in a RISC-V ProcessorVasileios Tsoutsouras, Orestis Kaparounakis, Bilgesu Arif Bilgin, Chatura Samarakoon 等MICRO 2021 · 被引用 5 次
- Data-Driven Structured Thermal Modeling for COTS Multi-core ProcessorsSeyedmehdi Hosseinimotlagh, Daniel Enright, Christian R. Shelton, Hyoseung KimRTSS 2021 · 被引用 4 次
- Fast-BCNN: Massive Neuron Skipping in Bayesian Convolutional Neural NetworksQiyu Wan, Xin FuMICRO 2020 · 被引用 26 次
- Enabling fast uncertainty estimation: accelerating bayesian transformers via algorithmic and hardware optimizationsHongxiang Fan, Martin Ferianc, Wayne LukDAC 2022 · 被引用 7 次
