Cluster-Wide Task Slowdown Detection in Cloud System
Feiyi Chen, Yingying Zhang, Lunting Fan, Yuxuan Liang, Guansong Pang, Qingsong Wen, Shuiguang Deng
TL;DR
The paper tackles cluster-wide slowdown detection in cloud systems by shifting from per-task monitoring to the distribution of task durations across the cluster, enabling computation that is independent of the number of tasks. It introduces SORN, a three-part framework: Skimming Attention to capture compound periodicity, Neural Optimal Transport to align reconstructed fluctuations with non-slowing behavior, and a Picky Loss to mitigate training-time anomaly contamination, culminating in a specialized anomaly score based on distributional shifts. Empirical results on four real-world industrial datasets show SORN outperforms state-of-the-art baselines in F1, with favorable time and memory overhead and robustness to noise and lax periodicity. The approach promises practical impact for real-time AIOps in cloud centers by reliably detecting cluster-wide slowdowns while staying scalable and robust.
Abstract
Slow task detection is a critical problem in cloud operation and maintenance since it is highly related to user experience and can bring substantial liquidated damages. Most anomaly detection methods detect it from a single-task aspect. However, considering millions of concurrent tasks in large-scale cloud computing clusters, it becomes impractical and inefficient. Moreover, single-task slowdowns are very common and do not necessarily indicate a malfunction of a cluster due to its violent fluctuation nature in a virtual environment. Thus, we shift our attention to cluster-wide task slowdowns by utilizing the duration time distribution of tasks across a cluster, so that the computation complexity is not relevant to the number of tasks. The task duration time distribution often exhibits compound periodicity and local exceptional fluctuations over time. Though transformer-based methods are one of the most powerful methods to capture these time series normal variation patterns, we empirically find and theoretically explain the flaw of the standard attention mechanism in reconstructing subperiods with low amplitude when dealing with compound periodicity. To tackle these challenges, we propose SORN (i.e., Skimming Off subperiods in descending amplitude order and Reconstructing Non-slowing fluctuation), which consists of a Skimming Attention mechanism to reconstruct the compound periodicity and a Neural Optimal Transport module to distinguish cluster-wide slowdowns from other exceptional fluctuations. Furthermore, since anomalies in the training set are inevitable in a practical scenario, we propose a picky loss function, which adaptively assigns higher weights to reliable time slots in the training set. Extensive experiments demonstrate that SORN outperforms state-of-the-art methods on multiple real-world industrial datasets.
