NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Developing an Efficient Pattern Discovery Method for CPU Utilizations of Computers

Zhuoer Gu, Ligang He, Cheng Chang, Jianhua Sun, Hao Chen, Chenlin Huang

Introduction

In the management of large-scale computer clusters, such as those operated by Google or Amazon, understanding CPU "host load" is essential for optimizing performance and energy efficiency. Identifying "motifs"—repeated patterns within time-series data—allows administrators to predict resource demands and schedule tasks more effectively. However, motif discovery in this domain faces significant hurdles: extreme computational complexity (often $O(n^6)$ for exact matches), "length bias" where standard distance metrics fail to compare sequences of different lengths fairly, and the noisy, non-Gaussian nature of real-world CPU data.

Methodology

Noise Reduction and Preprocessing

CPU utilization data is characterized by high-frequency "jitter" or spikes that can obscure underlying patterns. To mitigate this, the proposed framework employs a 1D Gaussian Filter. This smoothing technique effectively removes noise while preserving the essential trends of the CPU load, facilitating more accurate pattern matching.

The noise reduction process: (a) original signals, (b) noisy signals, and (c) the result after applying a Gaussian Smoother.

Addressing the Length Bias

A core challenge in time-series analysis is that standard metrics like Euclidean distance and Dynamic Time Warping (DTW) are sensitive to sequence length. Longer sequences naturally accumulate higher distance values, making it difficult to identify similar patterns that occur over different durations. The researchers introduced normalized, length-invariant versions of these metrics to ensure fair comparisons across the dataset.

Comparison of time-series segments (TS128, TS64, TS32) and their corresponding distance metrics, highlighting how raw distance values scale with length.

Refined Indexing and the Cascade Model

Standard indexing methods like Symbolic Aggregate Approximation (SAX) often assume a Gaussian distribution. Since CPU data is typically skewed, a "Refined SAX" approach was developed to account for the actual data distribution.

To optimize search speed, a "Cascade Discovery Model" was implemented. This hierarchical approach prunes the search space in stages:

  1. SAX Level: Rapidly filters candidates using symbolic strings.
  2. PAA Level: Refines the selection using Piecewise Aggregate Approximation.
  3. Raw Data Level: Performs the final, computationally expensive distance calculation only on a highly reduced subset of candidates.

Experimental Results

The framework was evaluated using the Google Cluster Trace, which includes logs from over 12,000 machines. The "Cascade" approach using PAA indexing proved to be approximately 10 times faster than searching raw data directly. Furthermore, the inclusion of a "Trivial Match Skipping" algorithm prevented the redundant identification of nearly identical, slightly shifted patterns, ensuring the system remained efficient even as the dataset size increased.

Conclusion

By tailoring time-series mining tools to the specific statistical properties of computer resource data, this research provides a robust solution for motif discovery in data centers. Future work will focus on adapting these techniques for real-time streaming data and expanding the model to include multidimensional metrics such as memory and network I/O.

Summary updated

BibTeX
@article{gu2017developing,
  author = {Zhuoer Gu and Ligang He and Cheng Chang and Jianhua Sun and Hao Chen and Chenlin Huang},
  title = {{Developing an Efficient Pattern Discovery Method for CPU Utilizations of Computers}},
  journal = {Int. J. Parallel Program.},
  year = {2017},
  doi = {10.1007/s10766-016-0439-0},
}
Figure