Skip to main content
QUICK REVIEW

[Paper Review] AutoPerf: A Generalized Zero-Positive Learning System to Detect Software Performance Anomalies

Mohammad Mejbah ul Alam, Justin Gottschlich|arXiv (Cornell University)|Sep 21, 2017
Software System Performance and ReliabilityComputer Science43 references7 citations
TL;DR

AutoPerf is a zero-positive learning system that uses autoencoders and hardware performance counters to detect software performance regressions without requiring labeled anomalous data. It achieves 3.7% average profiling overhead and outperforms prior methods in detecting three types of performance issues across 15 real regressions and 7 open-source programs.

ABSTRACT

We present AutoPerf, a generalized software performance regression diagnosis system. AutoPerf uses autoencoders, an unsupervised learning technique, and hardware performance counters to learn the performance signatures of a program. It then uses this knowledge to identify when newer versions of the program suffer from performance regressions, while simultaneously providing root cause analysis to help programmers debug the program's performance. AutoPerf is the first zero-positive learning performance regression diagnosis system. It trains entirely in the negative (non-anomalous) space to learn positive (anomalous) behaviors. We demonstrate AutoPerf's generality against three different types of performance regressions: (i) true sharing cache contention, (ii) false sharing cache contention, and (iii) NUMA latencies across 15 real world performance regressions and 7 open source programs. On average, AutoPerf exhibits only 3.7% profiling overhead and diagnoses more regressions than prior state-of-the-art approaches.

Motivation & Objective

  • To address the challenge of detecting software performance regressions without relying on labeled anomalous training data.
  • To develop a generalized system capable of diagnosing diverse performance issues such as cache contention and NUMA latency.
  • To minimize profiling overhead while maintaining high detection accuracy in real-world software systems.
  • To provide root cause analysis for performance regressions to aid developer debugging.

Proposed method

  • AutoPerf employs autoencoders to learn normal performance behavior from hardware performance counters in the absence of anomalous data.
  • It trains exclusively on non-anomalous (negative) performance traces to implicitly model what constitutes a performance anomaly.
  • The system extracts performance signatures from program executions using low-level hardware counters to capture low-level system behavior.
  • Anomalies are detected by measuring reconstruction error in the autoencoder; high error indicates potential performance regression.
  • Root cause analysis is performed by analyzing feature importance and changes in performance counter values across regression points.
  • The framework is evaluated across 15 real-world regressions and 7 open-source programs to validate generalization.

Experimental results

Research questions

  • RQ1Can a zero-positive learning system detect performance regressions without requiring labeled anomalous training data?
  • RQ2How effective is AutoPerf in detecting diverse performance issues such as true sharing, false sharing, and NUMA latency?
  • RQ3What is the profiling overhead of AutoPerf compared to existing approaches in real-world workloads?
  • RQ4To what extent can AutoPerf provide actionable root cause insights for performance debugging?

Key findings

  • AutoPerf achieves an average profiling overhead of only 3.7% across all evaluated workloads.
  • It detects more performance regressions than prior state-of-the-art approaches on the same benchmark set.
  • The system successfully identifies three distinct types of performance issues: true sharing, false sharing, and NUMA latency.
  • AutoPerf demonstrates generalization across 15 real-world regressions and 7 diverse open-source programs.
  • The use of autoencoders enables effective anomaly detection without explicit labeling of anomalous behavior.
  • Root cause analysis is provided by analyzing performance counter deviations, enhancing developer debugging efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.