Cluster-Wide Task Slowdown Detection in Cloud System
Authors:
- Feiyi ChenFCFeiyi Chen
- Yingying ZhangYZYingying Zhang
- Lunting FanLFLunting Fan
- Yuxuan LiangYLYuxuan Liang
- Guansong PangGPGuansong Pang
- Qingsong WenQWQingsong Wen
- Shuiguang DengSDShuiguang Deng
Preprint
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.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Unraveling the ‘Anomaly’ in Time Series Anomaly Detection: A Self-supervised Tri-domain Solution2024
- Self-Supervised Learning for Time Series Analysis: Taxonomy, Progress, and ProspectsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2024
- Deep Isolation Forest for Anomaly DetectionIEEE Transactions on Knowledge and Data Engineering, 2023
- STDADS: An Efficient Slow Task Detection Algorithm for Deadline SchedulersBig Data, 2020
- Automatic and Generic Periodicity Adaptation for KPI Anomaly DetectionIEEE Transactions on Network and Service Management, 2019
- Detecting Regions of Maximal Divergence for Spatio-Temporal Anomaly DetectionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2018
- Anomaly detection in communication networks using waveletsIEE Proceedings - Communications, 2001