Skip to main content
QUICK REVIEW

[Paper Review] Determinism, Complexity, and Predictability in Computer Performance

Joshua Garland, Ryan G. James|arXiv (Cornell University)|May 23, 2013
Evolutionary Algorithms and ApplicationsComputer Science14 references4 citations
TL;DR

This paper investigates why deterministic forecast models fail for complex computer performance traces despite systems being inherently deterministic. Using permutation entropy as a measure of temporal complexity, it demonstrates that high entropy correlates strongly with poor prediction accuracy—especially in complex programs like gcc and sphinx3—while low entropy traces (e.g., simple microkernels) remain highly predictable.

ABSTRACT

Computers are deterministic dynamical systems (CHAOS 19:033124, 2009). Among other things, that implies that one should be able to use deterministic forecast rules to predict their behavior. That statement is sometimes-but not always-true. The memory and processor loads of some simple programs are easy to predict, for example, but those of more-complex programs like compilers are not. The goal of this paper is to determine why that is the case. We conjecture that, in practice, complexity can effectively overwhelm the predictive power of deterministic forecast models. To explore that, we build models of a number of performance traces from different programs running on different Intel-based computers. We then calculate the permutation entropy-a temporal entropy metric that uses ordinal analysis-of those traces and correlate those values against the prediction success

Motivation & Objective

  • To understand why deterministic forecast models fail for complex computer performance traces despite the underlying systems being deterministic.
  • To investigate the role of temporal complexity in undermining predictability, even in deterministic systems.
  • To evaluate whether permutation entropy serves as a reliable predictor of forecastability in computer performance metrics.
  • To compare prediction accuracy across diverse programs (microkernels and complex benchmarks) using normalized root mean square prediction error (nRMSPE).
  • To identify thresholds of permutation entropy that distinguish predictable from effectively unpredictable performance dynamics.

Proposed method

  • Employ delay-coordinate embedding to reconstruct the state-space dynamics of performance traces using time-lagged observations of processor load and cache-miss rates.
  • Estimate optimal embedding parameters (time delay τ and dimension m) using average mutual information and the false nearest neighbors method.
  • Calculate permutation entropy (PE) of performance time series using ordinal patterns of order n, normalized by log₂(n!) to yield values between 0 and 1.
  • Use a simple deterministic forecasting model based on the reconstructed dynamics to compute prediction accuracy via normalized root mean square prediction error (nRMSPE).
  • Correlate permutation entropy values (for n = 4, 5, 6) with nRMSPE to assess predictability trends across different programs and system metrics.
  • Analyze convergence of PE with increasing wordlength n to estimate persistent entropy levels, accounting for finite data length effects.

Experimental results

Research questions

  • RQ1To what extent does permutation entropy predict the predictability of computer performance traces in deterministic systems?
  • RQ2Why do deterministic forecast models fail for complex programs like gcc and sphinx3 despite the systems being deterministic?
  • RQ3What is the relationship between permutation entropy levels and prediction accuracy (nRMSPE) across different performance metrics and programs?
  • RQ4How do finite data lengths affect the estimation of persistent permutation entropy and its predictive power?
  • RQ5Are there identifiable entropy thresholds that distinguish predictable from effectively unpredictable performance dynamics?

Key findings

  • Permutation entropy values above 0.97, particularly in traces from 403.gcc and 482.sphinx3, indicate a level of temporal complexity that overwhelms deterministic forecasting, correlating with high nRMSPE (0.1416–0.3670).
  • Traces with low permutation entropy (e.g., col_major cache misses at 0.5029 for n=4) show high predictability, with nRMSPE as low as 0.0080, indicating strong forecastability.
  • The persistent permutation entropy of row_major and col_major cache-miss traces (0.5–0.6) is consistent with chaotic dynamics, corroborating prior findings of chaotic attractors in simple microkernels.
  • Processor-load traces for microkernels exhibit higher temporal complexity (PE ≈ 0.8–0.97) than their cache-miss counterparts, possibly due to lower baseline values and increased variability.
  • Permutation entropy decreases with increasing wordlength n, but the rate of decline varies: slower falloff in some traces suggests they are closer to the theoretical asymptote, indicating more stable entropy estimates.
  • The study identifies a practical threshold: PE ≤ 0.7 corresponds to highly predictable traces (nRMSPE < 0.01), while PE ≥ 0.97 indicates near-white-noise complexity, rendering deterministic models ineffective.

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.