arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10747cs.DCcs.OScs.PF
收藏

CPU-Limits 扼杀性能:是时候重新思考资源控制了

CPU-Limits kill Performance: Time to rethink Resource Control

IBM Research, New York, USA(IBM研究院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Chirag Shetty, Sarthak Chakraborty, Hubertus Franke, Larisa Shwartz, Chandra Narayanaswami, Indranil Gupta, Saurabh Jha

AI总结:

该研究质疑云原生资源管理中普遍使用的CPU limits机制,通过实证指出其损害延迟敏感应用性能、弊大于利,提出应重新思考自动扩缩容与计费模式,同时明确其在后台任务等场景的合理价值。

摘要:

云原生应用计算资源管理领域的研究主要围绕设置最优 CPU limits(CPU 限制)这一问题展开——CPU limits 是一种基础操作系统机制,可将容器的 CPU 使用量严格限制在其指定的 CPU limits 范围内。资源容量规划(Rightsizing)与自动扩缩容相关研究均假定 CPU limits 普遍存在且必不可少,在此基础上对分配/扩缩容策略进行了创新。我们对此提出质疑。云用户的实践经验表明,CPU limits 会损害应用性能,其带来的成本高于收益。这些观察结果与学术研究和行业最佳实践中的普遍认知相矛盾。我们认为,这种对 CPU limits 的不加区分的采用,源于一种错误观念,即认为 CPU limits 对于运维和安全目的至关重要。我们提供了实证证据,支持在延迟敏感型应用中完全摒弃 CPU limits。这促使我们对自动扩缩容和计费范式进行根本性反思,并开辟了新的研究方向。最后,我们强调了在合理使用的情况下 CPU limits 仍能发挥作用的特定场景(例如后台任务)。

英文摘要:

Research in compute resource management for cloud-native applications is dominated by the problem of setting optimal CPU limits -- a fundamental OS mechanism that strictly restricts a container's CPU usage to its specified CPU-limits . Rightsizing and autoscaling works have innovated on allocation/scaling policies assuming the ubiquity and necessity of CPU-limits . We question this. Practical experiences of cloud users indicate that CPU-limits harms application performance and costs more than it helps. These observations are in contradiction to the conventional wisdom presented in both academic research and industry best practices. We argue that this indiscriminate adoption of CPU-limits is driven by erroneous beliefs that CPU-limits is essential for operational and safety purposes. We provide empirical evidence making a case for eschewing CPU-limits completely from latency-sensitive applications. This prompts a fundamental rethinking of auto-scaling and billing paradigms and opens new research avenues. Finally, we highlight specific scenarios where CPU-limits can be beneficial if used in a well-reasoned way (e.g. background jobs).

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

↑