【24h】

Extending STI for Demanding Hard-Real-Time Systems

机译:将STI扩展为要求苛刻的硬实时系统

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

摘要

Software thread integration (STI) is a compilation technique which enables the efficient use of an application's fine-grain idle time on generic processors without special hardware support. With STI, a primary function (with real-time requirements on specific instructions) is automatically interleaved with a secondary function to create a single implicitly multithreaded function which minimizes context switching and hence both improves performance and also offers very fine-grain concurrency. In this paper we extend STI techniques to address two challenges. First, we reduce response time for interrupts or other high-priority threads by introducing polling servers into integrated threads. Currently integrated threads disable interrupts, delaying all other work until their completion. Second, we enable integration with long host threads, expanding the domain of STI. With current techniques, if there are frequent interrupts, only host threads which can finish execution before the next interrupt can be integrated. We derive methods to evaluate the response time for threads in systems with and without these new integration methods. We demonstrate these concepts with the integration of various threads in a sample hard-real-time system on a highly-constrained microcontroller. We use an inexpensive 20 MHz AVR 8-bit microcontroller to generate monochrome NTSC video while servicing a high-speed (115.2 kbaud) serial communication link. We have built and tested this system and demonstrate graphics rendering speed-ups of 3.99x to 13.5x.
机译:软件线程集成(STI)是一种编译技术,可在通用处理器上有效利用应用程序的细粒度空闲时间,而无需特殊的硬件支持。使用STI,主要功能(具有特定指令的实时要求)将自动与次要功能交错,以创建单个隐式多线程功能,从而最大程度地减少上下文切换,从而提高性能并提供细粒度的并发。在本文中,我们扩展了STI技术以应对两个挑战。首先,通过将轮询服务器引入集成线程中,我们减少了对中断或其他高优先级线程的响应时间。当前集成的线程禁用中断,从而将所有其他工作延迟到完成为止。其次,我们可以与长主机线程集成,从而扩展STI的范围。使用当前技术,如果发生频繁的中断,则只有可以在下一个中断集成之前完成执行的主机线程。我们推导了评估有无这些新集成方法的系统中线程响应时间的方法。我们通过在高度受限的微控制器上的示例硬实时系统中集成各种线程来演示这些概念。我们使用便宜的20 MHz AVR 8位微控制器来生成单色NTSC视频,同时为高速(115.2 kbaud)串行通信链路提供服务。我们已经构建并测试了该系统,并演示了3.99倍至13.5倍的图形渲染速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号