首页> 外文会议>Annual conference on Design automation;Conference on Design automation >Rapid and low-cost context-switch through embedded processor customization for real-time and control applications
【24h】

Rapid and low-cost context-switch through embedded processor customization for real-time and control applications

机译:通过嵌入式处理器定制为实时和控制应用提供快速,低成本的上下文切换

获取原文

摘要

In this paper, we present a methodology for low-cost and rapid context switch for multithreaded embedded processors with real-time guarantees. Context-switch, which involves saving and restoring the thread state, has constituted not only a large performance overhead for many multithreaded embedded systems, but also an obstacle creating a significant delay in the response time for many time-critical control applications. The proposed technique exploits application information extracted during compile time to make sure that only a minimal amount of thread state is saved and subsequently restored on preemption. The register liveness within the application inner loops is analyzed and a few points, referred to as switch points, are identified where the program has minimal number of live registers. At run-time the preemption point is deferred to a switch point and the Real-Time Operating System (RTOS) kernel invokes a switch point specific code generated by the compiler to save and restore the thread state in a custom fashion. Through the utilization of these novel mechanisms, a drastic improvement on both performance and response time is achieved. The presented experimental results demonstrate the effectiveness of the proposed technique on a number of widely-used computational kernels and embedded applications.
机译:在本文中,我们提出了一种具有实时保证的,用于多线程嵌入式处理器的低成本,快速上下文切换的方法。上下文切换涉及保存和恢复线程状态,不仅对许多多线程嵌入式系统构成了巨大的性能开销,而且对许多时间紧迫的控制应用程序而言,在响应时间上造成了显着的延迟。所提出的技术利用了在编译期间提取的应用程序信息,以确保仅保留最少量的线程状态,然后在抢占时恢复。分析应用程序内部循环中的寄存器活动性,并在程序中活动寄存器数量最少的地方识别出几个点,称为 switch 点。在运行时,抢占点将推迟到切换点,并且实时操作系统(RTOS)内核调用由编译器生成的特定于切换点的代码,以自定义方式保存和恢复线程状态。通过利用这些新颖的机制,可以实现性能和响应时间的显着改善。提出的实验结果证明了所提出的技术在许多广泛使用的计算内核和嵌入式应用程序上的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号