Lune

ASPLOS2021顶会

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage Uncertainty 引用了 FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented Microservices
  • Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage Uncertainty 引用了 TEA: Time-Proportional Event Analysis
  • Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage Uncertainty 引用了 TIP: Time-Proportional Instruction Profiling
  • Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage Uncertainty 引用了 SoK: The Challenges, Pitfalls, and Perils of Using Hardware Performance Counters for Security
  • TEA: Time-Proportional Event Analysis 引用了 TIP: Time-Proportional Instruction Profiling
  • Chips Need DIP: Time-Proportional Per-Instruction Cycle Stacks at Dispatch 引用了 Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage Uncertainty
  • Chips Need DIP: Time-Proportional Per-Instruction Cycle Stacks at Dispatch 引用了 TEA: Time-Proportional Event Analysis
  • Chips Need DIP: Time-Proportional Per-Instruction Cycle Stacks at Dispatch 引用了 TIP: Time-Proportional Instruction Profiling
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. TIP: Time-Proportional Instruction ProfilingBjörn Gottschall, Lieven Eeckhout, Magnus JahreMICRO 2021 · 16 次引用
  2. TEA: Time-Proportional Event AnalysisBjörn Gottschall, Lieven Eeckhout, Magnus JahreISCA 2023 · 11 次引用
  3. Tintin: A Unified Hardware Performance Profiling Infrastructure to Uncover and Manage UncertaintyAo Li, Marion Sudvarg, Zihan Li, Sanjoy K. Baruah 等OSDI 2025 · 2 次引用
  4. Chips Need DIP: Time-Proportional Per-Instruction Cycle Stacks at DispatchSilvio Heverton Campelo de Santana, Joseph Rogers, Lieven Eeckhout, Magnus JahreASPLOS 2026 · 1 次引用
  5. CounterPoint: Using Hardware Event Counters to Refute and Refine Microarchitectural AssumptionsNick Lindsay, Caroline Trippel, Anurag Khandelwal, Abhishek BhattacharjeeASPLOS 2026

它引用的 Paper3

  1. FIRM: An Intelligent Fine-grained Resource Management Framework for SLO-Oriented MicroservicesHaoran Qiu, Subho S. Banerjee, Saurabh Jha, Zbigniew T. Kalbarczyk 等OSDI 2020 · 350 次引用
  2. SoK: The Challenges, Pitfalls, and Perils of Using Hardware Performance Counters for SecuritySanjeev Das, Jan Werner, Manos Antonakakis, Michalis Polychronakis 等S&P 2019 · 163 次引用
  3. Inductive-bias-driven Reinforcement Learning For Efficient Schedules in Heterogeneous ClustersSubho S. Banerjee, Saurabh Jha, Zbigniew Kalbarczyk, Ravishankar K. IyerICML 2020 · 15 次引用

相关 Paper

  1. On the Feasibility of Malware Unpacking via Hardware-assisted Loop ProfilingBinlin Cheng, Erika A. Leal, Haotian Zhang, Jiang MingUSENIX Security 2023
  2. 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 次引用
  3. Data-Driven Structured Thermal Modeling for COTS Multi-core ProcessorsSeyedmehdi Hosseinimotlagh, Daniel Enright, Christian R. Shelton, Hyoseung KimRTSS 2021 · 4 次引用
  4. Fast-BCNN: Massive Neuron Skipping in Bayesian Convolutional Neural NetworksQiyu Wan, Xin FuMICRO 2020 · 26 次引用
  5. Enabling fast uncertainty estimation: accelerating bayesian transformers via algorithmic and hardware optimizationsHongxiang Fan, Martin Ferianc, Wayne LukDAC 2022 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖