...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Demystifying the Real-Time Linux Scheduling Latency
【24h】

Demystifying the Real-Time Linux Scheduling Latency

机译:揭开实时Linux调度延迟

获取原文

摘要

Linux has become a viable operating system for many real-time workloads. However, the black-box approach adopted by cyclictest, the tool used to evaluate the main real-time metric of the kernel, the scheduling latency, along with the absence of a theoretically-sound description of the in-kernel behavior, sheds some doubts about Linux meriting the real-time adjective. Aiming at clarifying the PREEMPT_RT Linux scheduling latency, this paper leverages the Thread Synchronization Model of Linux to derive a set of properties and rules defining the Linux kernel behavior from a scheduling perspective. These rules are then leveraged to derive a sound bound to the scheduling latency, considering all the sources of delays occurring in all possible sequences of synchronization events in the kernel. This paper also presents a tracing method, efficient in time and memory overheads, to observe the kernel events needed to define the variables used in the analysis. This results in an easy-to-use tool for deriving reliable scheduling latency bounds that can be used in practice. Finally, an experimental analysis compares the cyclictest and the proposed tool, showing that the proposed method can find sound bounds faster with acceptable overheads.
机译:Linux已成为许多实时工作负载的可行操作系统。但是,通过CycliCTEST采用的黑匣子方法,用于评估内核的主要实时度量,调度延迟,以及缺乏对内核行为的理论上描述,揭示了一些疑虑关于Linux合理实时形容词。旨在澄清Premempt_rt Linux调度延迟,利用Linux的线程同步模型从调度角度派生定义Linux内核行为的一组属性和规则。然后利用这些规则来导出绑定到调度延迟的声音,考虑到内核中的所有可能的同步事件序列中发生的所有延迟来源。本文还提出了一种跟踪方法,在时间和内存开销中有效,以观察定义分析中使用的变量所需的内核事件。这导致易于使用的工具,用于导出可以在实践中使用的可靠调度延迟界限。最后,实验分析比较了Cyclictest和所提出的工具,表明所提出的方法可以使用可接受的开销找到声音界限。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号