Skip to main content
QUICK REVIEW

[Paper Review] Predicting Performance of Software Configurations: There is no Silver Bullet

Alexander Grebhahn, Norbert Siegmund|arXiv (Cornell University)|Nov 28, 2019
Software System Performance and ReliabilityComputer Science7 citations
TL;DR

This study evaluates the impact of machine learning techniques and sampling strategies on predicting software configuration performance across six real-world systems. It finds that both learning algorithms and sampling methods significantly affect prediction accuracy, with random forests and structured sampling outperforming others, but no single combination is universally optimal—validating the 'no free lunch' theorem in performance prediction.

ABSTRACT

Many software systems offer configuration options to tailor their functionality and non-functional properties (e.g., performance). Often, users are interested in the (performance-)optimal configuration, but struggle to find it, due to missing information on influences of individual configuration options and their interactions. In the past, various supervised machine-learning techniques have been used to predict the performance of all configurations and to identify the optimal one. In the literature, there is a large number of machine-learning techniques and sampling strategies to select from. It is unclear, though, to what extent they affect prediction accuracy. We have conducted a comparative study regarding the mean prediction accuracy when predicting the performance of all configurations considering 6 machine-learning techniques, 18 sampling strategies, and 6 subject software systems. We found that both the learning technique and the sampling strategy have a strong influence on prediction accuracy. We further observed that some learning techniques (e.g., random forests) outperform other learning techniques (e.g., k-nearest neighbor) in most cases. Moreover, as the prediction accuracy strongly depends on the subject system, there is no combination of a learning technique and sampling strategy that is optimal in all cases, considering the tradeoff between accuracy and measurement overhead, which is in line with the famous no-free-lunch theorem.

Motivation & Objective

  • To investigate how different machine learning techniques and sampling strategies affect prediction accuracy in performance modeling of configurable software systems.
  • To determine whether certain learning algorithms or sampling strategies consistently outperform others across diverse software systems.
  • To assess the trade-off between prediction accuracy and measurement overhead in empirical performance modeling.
  • To evaluate the influence of configuration space structure (binary vs. numeric options) on prediction accuracy.

Proposed method

  • The study employs a comparative empirical evaluation using six real-world configurable software systems from diverse domains.
  • Six machine learning techniques are evaluated: k-nearest neighbors (kNN), kernel ridge regression (KRR), support vector regression (SVR), classification and regression trees (CART), multiple regression (MR), and random forests (RF).
  • Eighteen sampling strategies are applied, including random sampling and structured strategies like Plackett-Burmann design and T-wise testing, for both binary and numeric configuration options.
  • For each system, performance predictions are generated for all configurations using a subset of measured configurations, and mean absolute error (MAE) is used as the accuracy metric.
  • The evaluation measures mean prediction error across all configurations, comparing the impact of learning technique and sampling strategy on accuracy.
  • Experiments are conducted with varying numbers of measured configurations to assess scalability and sensitivity to sample size.

Experimental results

Research questions

  • RQ1Which machine learning technique yields the most accurate performance predictions across different configurable software systems?
  • RQ2How do different sampling strategies (e.g., random vs. structured) affect the accuracy of performance predictions?
  • RQ3Does the performance of a learning technique depend on the characteristics of the subject software system?
  • RQ4To what extent does the number of measured configurations influence prediction accuracy, and how does this vary by sampling strategy?
  • RQ5Is there a combination of learning technique and sampling strategy that consistently outperforms others across all systems and configuration types?

Key findings

  • Random forests (RF) and classification and regression trees (CART) consistently outperformed other learning techniques, achieving significantly lower mean absolute error in most systems.
  • Structured sampling strategies, such as Plackett-Burmann and T-wise sampling, yielded more accurate predictions than random sampling, especially with small sample sizes.
  • The performance of learning techniques varied significantly across systems, with no single algorithm being optimal for all configurations or systems.
  • For binary configuration options, structured sampling improved accuracy more substantially than for numeric options, where accuracy was more dependent on sample size than sampling method.
  • The difference in prediction accuracy between sampling strategies diminished as the number of measured configurations increased, indicating diminishing returns with larger samples.
  • No single combination of learning technique and sampling strategy was optimal across all systems, confirming the 'no free lunch' theorem in performance prediction.

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.