arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12673cs.DC
收藏

智能资源预测用于SAP HANA持续集成构建工作负载

Intelligent resource prediction for SAP HANA continuous integration build workloads

SAP SE(SAP公司);Technical University of Berlin(柏林工业大学);SAP Labs Korea(SAP韩国研究院)

Torsten Mandel, Jonathan Bader, Hanyoung Yoo, Stephan Kraft

AI总结:

本文通过分析30万次历史构建执行数据,提出基于LightGBM-XGBoost的量化回归集成模型,实现SAP HANA持续集成构建工作负载的智能资源预测,减少内存浪费并提升集群利用率。

摘要:

大型企业常在异构计算集群上运行广泛的持续集成(CI)流水线,采用保守的静态资源需求确保构建可靠性,导致系统内存过度分配、集群利用率低和运营成本增加。本文通过分析超过30万次历史构建执行数据,发现平均分配的系统内存有超过60%未被使用。我们比较了多种机器学习方法用于预测构建任务内存使用,包括基于分类的方法和基于回归的分位数预测。最终解决方案采用LightGBM-XGBoost量化回归集成模型,优化以最小化不足分配同时减少过度配置。我们将此解决方案集成到生产CI流水线中,通过微服务编排层实现平均每个构建节省约36GB内存,将不足分配率降至0.3%以下,而不会影响构建执行时间。

英文摘要:

Large enterprises often operate extensive Continuous Integration (CI) pipelines on large, heterogeneous compute clusters, where conservative, statically defined resource requirements are used to ensure build reliability. This practice leads to substantial system memory over-allocation, reduced cluster utilization, and increased operational costs. In this paper, we motivate the need for intelligent resource prediction by analyzing over 300,000 historical build executions from a production CI environment with more than one thousand compute nodes. Our analysis shows that, on average, more than 60% of allocated system memory remains unused. We then compare multiple machine learning approaches for predicting build task memory usage, including classification-based methods and regression-based quantile prediction. Our final solution employs a LightGBM-XGBoost quantile regression ensemble optimized to minimize under-allocation while reducing over-provisioning. We integrate this solution into the production CI pipeline via a microservice-based orchestration layer, achieving average memory savings of approximately 36GB per build and reducing under-allocation rates to below 0.3% without negatively impacting build execution times.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑