使用 Ekiben 敏捷开发 Linux 调度器
Agile Development of Linux Schedulers with Ekiben
AI总结:
针对Linux内核调度算法开发调试困难的问题,提出基于安全Rust的框架Ekiben,支持调度策略实时升级与用户空间调试,实现接近默认CFS的性能并支持多种研究调度器。
摘要:
内核任务调度对应用性能、新硬件的适应性以及复杂用户需求至关重要。然而,在作为最广泛使用的云操作系统的 Linux 中开发、测试和调试新的调度算法既缓慢又困难。我们开发了 Ekiben,这是一个用于高速开发 Linux 内核调度器的框架。Ekiben 调度器使用安全的 Rust 编写,系统支持将新调度策略实时升级到内核、用户空间调试以及与应用程序的双向通信。使用 Ekiben 实现的调度器在广泛的基准测试中实现了与默认 Linux 调度器 CFS 几乎相同的性能(平均相差在 1% 以内)。Ekiben 还能支持一系列研究调度器,特别是 Shinjuku 调度器、感知局部性的调度器以及 Arachne 核心仲裁器,并具有良好的性能。
英文摘要:
Kernel task scheduling is important for application performance, adaptability to new hardware, and complex user requirements. However, developing, testing, and debugging new scheduling algorithms in Linux, the most widely used cloud operating system, is slow and difficult. We developed Ekiben, a framework for high velocity development of Linux kernel schedulers. Ekiben schedulers are written in safe Rust, and the system supports live upgrade of new scheduling policies into the kernel, userspace debugging, and bidirectional communication with applications. A scheduler implemented with Ekiben achieved near identical performance (within 1% on average) to the default Linux scheduler CFS on a wide range of benchmarks. Ekiben is also able to support a range of research schedulers, specifically the Shinjuku scheduler, a locality aware scheduler, and the Arachne core arbiter, with good performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。