arXiv:2509.03394cs.DCcs.LG2025-09

用Transformer预测云中虚拟机性能下降,无需了解负载细节。

CloudFormer: An Attention-based Performance Prediction for Public Clouds with Unknown Workload

  • 双分支Transformer联合建模时间动态与系统交互
  • 在206个指标上实现7.8%的平均绝对误差
  • 适合云平台性能监控与自动调度场景

云平台因可扩展性、灵活性和成本效益,被广泛用于托管多样且资源密集型的工作负载。在多租户环境中,虚拟机被集中部署于共享物理服务器以提升资源利用率。尽管虚拟化保证了CPU、内存和存储的资源隔离,但无法确保性能隔离。对缓存、内存带宽和网络接口等共享资源的竞争常导致严重性能下降。现有管理技术如虚拟机调度和资源分配需准确的性能预测来缓解干扰,但在公有云中因虚拟机黑箱特性与工作负载高度动态性而面临挑战。为此,我们提出CloudFormer,一种基于双分支Transformer的模型,用于预测黑箱环境下的虚拟机性能退化。该模型联合建模时间动态与系统级交互,利用每秒1次分辨率的206个系统指标,在静态与动态场景中捕捉瞬时干扰效应,并适应不同工作负载条件,无需针对特定场景调优。同时,我们构建了一个细粒度数据集,显著提升了时间分辨率与指标多样性。实验表明,CloudFormer在多个评估指标上持续优于现有最先进方法,实现跨多种未见过工作负载的强泛化能力。特别地,其平均绝对误差(MAE)仅为7.8%,相比现有方法至少提升28%。

原文摘要 · Abstract (English)

Cloud platforms are increasingly relied upon to host diverse, resource-intensive workloads due to their scalability, flexibility, and cost-efficiency. In multi-tenant cloud environments, virtual machines are consolidated on shared physical servers to improve resource utilization. While virtualization guarantees resource partitioning for CPU, memory, and storage, it cannot ensure performance isolation. Competition for shared resources such as last-level cache, memory bandwidth, and network interfaces often leads to severe performance degradation. Existing management techniques, including VM scheduling and resource provisioning, require accurate performance prediction to mitigate interference. However, this remains challenging in public clouds due to the black-box nature of VMs and the highly dynamic nature of workloads. To address these limitations, we propose CloudFormer, a dual-branch Transformer-based model designed to predict VM performance degradation in black-box environments. CloudFormer jointly models temporal dynamics and system-level interactions, leveraging 206 system metrics at one-second resolution across both static and dynamic scenarios. This design enables the model to capture transient interference effects and adapt to varying workload conditions without scenario-specific tuning. Complementing the methodology, we provide a fine-grained dataset that significantly expands the temporal resolution and metric diversity compared to existing benchmarks. Experimental results demonstrate that CloudFormer consistently outperforms state-of-the-art baselines across multiple evaluation metrics, achieving robust generalization across diverse and previously unseen workloads. Notably, CloudFormer attains a mean absolute error (MAE) of just 7.8%, representing a substantial improvement in predictive accuracy and outperforming existing methods at least by 28%.

性能预测Transformer云计算黑箱模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。