首页> 外文期刊>ACM Transactions on Embedded Computing Systems >Interrupt Handler Migration and Direct Interrupt Scheduling for Rapid Scheduling of Interrupt-driven Tasks
【24h】

Interrupt Handler Migration and Direct Interrupt Scheduling for Rapid Scheduling of Interrupt-driven Tasks

机译:中断处理程序迁移和直接中断调度,可快速调度中断驱动的任务

获取原文
获取原文并翻译 | 示例
           

摘要

In this article, we propose two techniques that aim to minimize the scheduling latency of high-priority interrupt-driven tasks, named the Interrupt Handler Migration (IHM) and Direct Interrupt Scheduling (DIS). The IHM allows the interrupt handler to be migrated from the interrupt handler thread to the corresponding target process so that additional context switch can be avoided and the cache hit ratio with respect to the data generated by the interrupt handler can be improved. In addition, the DIS allows the shortest path reserved for urgent interrupt-process pairs to be laid between the interrupt arrival and target process by dividing a series of interrupt-driven operations into nondeferrable and deferrable operations. Both the IHM and DIS can be combined in a natural way and can operate concurrently. These techniques can be applied to all kinds of interrupt handlers with no modification to them. The proposed techniques not only reduce the scheduling latency, but also resolve the interrupt-driven priority inversion problem. We implemented a prototype in the Linux 2.6.19 kernel after adding real-time patches. Experimental results show that the scheduling latency is significantly reduced by up to 84.2% when both techniques are applied together. When the Linux OS runs on an ARM-based embedded CPU running at 200MHz, the scheduling latency can become as low as 30μs, which is much closer to the hardware-specific limitations. By lowering the scheduling latency, the limited CPU cycles can be consumed more for user-level processes and less for system-level tasks, such as interrupt handling and scheduling.
机译:在本文中,我们提出了两种旨在最大程度地减少高优先级中断驱动任务的调度等待时间的技术,称为中断处理程序迁移(IHM)和直接中断调度(DIS)。 IHM允许将中断处理程序从中断处理程序线程迁移到相应的目标进程,以便可以避免其他上下文切换,并且可以提高相对于中断处理程序生成的数据的缓存命中率。此外,DIS通过将一系列中断驱动的操作分为不可延期和可延期操作,允许在中断到达和目标进程之间放置为紧急中断处理对保留的最短路径。 IHM和DIS都可以自然组合,并且可以同时运行。这些技术无需更改即可应用于所有类型的中断处理程序。所提出的技术不仅减少了调度等待时间,而且解决了中断驱动的优先级反转问题。添加实时补丁后,我们在Linux 2.6.19内核中实现了原型。实验结果表明,将两种技术一起使用时,调度延迟显着减少了84.2%。当Linux OS在运行于200MHz的基于ARM的嵌入式CPU上运行时,调度延迟可能会低至30μs,这非常接近于硬件特定的限制。通过降低调度延迟,可以将有限的CPU周期用于用户级进程,而减少系统级任务(如中断处理和调度)的消耗。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号