云系统中集群级任务减速检测
Cluster-Wide Task Slowdown Detection in Cloud System
AI总结:
针对云集群慢任务检测中单任务方法效率低且易误报的问题,提出SORN方法,通过Skimming Attention重建复合周期性并利用Neural Optimal Transport区分集群级减速与异常波动,在多个工业数据集上取得最优性能。
摘要:
慢任务检测是云运维中的一个关键问题,因为它与用户体验高度相关,并可能带来巨额的违约赔偿。大多数异常检测方法从单任务角度进行检测。然而,考虑到大规模云计算集群中数百万的并发任务,这种方法变得不切实际且效率低下。此外,单任务减速非常常见,并且由于虚拟环境中剧烈的波动特性,并不一定表明集群出现故障。因此,我们将注意力转向集群级任务减速,利用集群中任务持续时间分布,使得计算复杂度与任务数量无关。任务持续时间分布通常随时间呈现出复合周期性和局部异常波动。尽管基于Transformer的方法是最强大的捕获这些时间序列正常变化模式的方法之一,但我们通过实验发现并从理论上解释了标准注意力机制在处理复合周期性时重建低振幅子周期的缺陷。为了解决这些挑战,我们提出了SORN(即按振幅降序剥离子周期并重建非减速波动),它由一个Skimming Attention机制和一个Neural Optimal Transport模块组成,前者用于重建复合周期性,后者用于区分集群级减速与其他异常波动。此外,由于在实际场景中训练集中的异常不可避免,我们提出了一种picky loss函数,它自适应地为训练集中可靠的时间槽分配更高的权重。大量实验表明,SORN在多个真实世界工业数据集上优于最先进的方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。