BayesPerf: Minimizing Performance Monitoring Errors Using Bayesian Statistics
Banerjee, Subho S., Jha, Saurabh, Kalbarczyk, Zbigniew T., Iyer, Ravishankar K.
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Feb-22-2021
- Country:
- North America
- Puerto Rico (0.04)
- United States
- Montana (0.04)
- Washington > King County
- Seattle (0.14)
- Texas > Harris County
- Houston (0.04)
- Rhode Island > Providence County
- Providence (0.04)
- New York > New York County
- New York City (0.05)
- Illinois > Champaign County
- Urbana (0.04)
- California
- San Francisco County > San Francisco (0.14)
- Monterey County > Monterey (0.04)
- Arizona > Maricopa County
- Phoenix (0.04)
- Europe > United Kingdom
- England (0.04)
- Asia
- North America
- Genre:
- Research Report (0.81)
- Industry:
- Information Technology > Security & Privacy (0.67)