在分布式集群中利用预测建模优化内存分配
Optimizing Memory Allocation in Distributed Clusters with Predictive Modeling
AI总结:
本文提出基于LightGBM和XGBoost集成的回归方法,通过乘法安全因子减少内存不足任务并降低过度分配,实测数据表明内存不足率从4.17%降至2.89%,过度分配率从148%降至44.51%。
摘要:
在现代分布式系统中,高效的资源分配对于保持可扩展性、降低运营成本和确保在异构工作负载下快速执行至关重要。预测资源使用的需求是优化分配和防止系统瓶颈的关键工具。预测内存分配具有不对称成本:欠分配导致失败,而过分配浪费内存。我们提出了一种基于LightGBM和XGBoost集成的回归方法,训练以预测高条件分位数。为进一步考虑欠分配的高成本,我们添加了乘法安全因子。通过我们的方法,我们能够将欠分配任务的数量从4.17%降低到2.89%,并将平均过分配率从148%降低到44.51%。我们还进一步探索了在优化欠分配和过分配之间的帕累托前沿。
英文摘要:
In modern distributed systems, efficient resource allocation is a vital aspect to maintain scalability, reduce operational costs, and ensure fast execution even across heterogeneous workloads. Predictive models for resource usage are essential tools for optimizing allocation and preventing system bottlenecks. Predictive memory allocation has asymmetric costs as a key challenge: underallocation causes failures while overallocation wastes memory. We propose a regression method based on a LightGBM and XGBoost ensemble trained to predict high conditional quantiles. To further account for the high cost of underallocations we add a multiplicative safety factor. With our method we are able to reduce the number of under-allocated jobs from 4.17% to 2.89% and average overallocation from 148% to 44.51% on a real-world dataset of build jobs provided by SAP. We further explore the pareto frontier between optimization for underallocation and for overallocation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。