首页> 外文会议>ACM EuroSys conference on computer systems >Improving Interrupt Response Time in a Verifiable Protected Microkernel
【24h】

Improving Interrupt Response Time in a Verifiable Protected Microkernel

机译:在可验证受保护的Microkernel中提高中断响应时间

获取原文

摘要

Many real-time operating systems (RTOSes) offer very small interrupt latencies, in the order of tens or hundreds of cycles. They achieve this by making the RTOS kernel fully preemptible, permitting interrupts at almost any point in execution except for some small critical sections. One drawback of this approach is that it is difficult to reason about or formally model the kernel's behavior for verifica-tion, especially when written in a low-level language such as C. An alternate model for an RTOS kernel is to permit in-terrupts at specific preemption points only. This controls the possible interleavings and enables the use of techniques such as formal verification or model checking. Although this model cannot (yet) obtain the small interrupt laten-cies achievable with a fully-preemptible kernel, it can still achieve worst-case latencies in the range of 10.000s to 100.000s of cycles. As modern embedded CPUs enter the 1 GHz range, such latencies become acceptable for more applications, particularly when they come with the addi-tional benefit of simplicity and formal models. This is par-ticularly attractive for protected multitasking microkernels, where the (inherently non-preemptible) kernel entry and exit costs dominate the latencies of many system calls. This paper explores how to reduce the worst-case inter-rupt latency in a (mostly) non-preemptible protected kernel, and still maintain the ability to apply formal methods for analysis. We use the formally-verified seL4 microkernel as a case study and demonstrate that it is possible to achieve rea-sonable response-time guarantees. By combining short pre-dictable interrupt latencies with formal verification, a design such as seL4's creates a compelling platform for building mixed-criticality real-time systems.
机译:许多实时操作系统(RTOSE)提供非常小的中断延迟,按数十或数百周期提供。它们通过使RTOS内核完全可靠的RTOS内核来实现这一目标,除了一些小关键部分之外,几乎可以在执行中的几乎任何点中断。这种方法的一个缺点是难以推理或正式模拟内核的验证行为,特别是当以低级语言写入诸如C. RTOS内核的替代模型时是允许进入在特定的抢占点。这控制了可能的交织,并实现了使用如正式验证或模型检查的技术。虽然此模型不能(但)获取具有完全抢占核可实现的小中断拉丁语,但它仍然可以在10.000秒到100.000次循环范围内实现最坏情况的延迟。由于现代嵌入式CPU进入1 GHz范围,这种延迟可用于更多应用,特别是当他们伴随着简单和正式模型的地中益处时。这对于受保护的多任务微内核进行了分布式吸引力,其中(固有的不抢占)内核进入和退出成本主导了许多系统调用的延迟。本文探讨了如何降低(主要)非抢占保护内核中的最坏情况帧间延迟,并且仍然保持应用正式方法进行分析的能力。我们使用正式验证的Sel4 Microkernel作为案例研究,并证明可以实现Rea-Sonable响应时间保证。通过将短暂的预测中断延迟与正式验证结合,诸如SEL4的设计为构建混合关键性实时系统创造了一个引人注目的平台。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号