一种改进实时操作系统内核中断延迟的方法

Hong Li, Qi Hu, Peifeng Zhang, Zhigang Gao
{"title":"一种改进实时操作系统内核中断延迟的方法","authors":"Hong Li, Qi Hu, Peifeng Zhang, Zhigang Gao","doi":"10.3233/JEC-2009-0106","DOIUrl":null,"url":null,"abstract":"Interrupt latency has great impact on the real time and predictability of real-time operating system kernels. In traditional implementation of real-time kernels, interrupts are frequently disabled in system service routines, critical sections, etc., which causes kernel interrupt latency. In this paper we propose a method called PIL (Predictive Interrupt Latency). PIL reduces interrupt latency by never disabling interrupts during any system service routines. Moreover, it makes interrupt latency vary little, which improves the predictability in the response time for external events. We have implemented the PIL method in an OSEK-compatible operating system - SmartOSEK OS. Experimental results show PIL improves real time and predictability of real-time systems with low time and space overheads.","PeriodicalId":422048,"journal":{"name":"J. Embed. Comput.","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"A method to improve interrupt latency in real-time OS kernels\",\"authors\":\"Hong Li, Qi Hu, Peifeng Zhang, Zhigang Gao\",\"doi\":\"10.3233/JEC-2009-0106\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Interrupt latency has great impact on the real time and predictability of real-time operating system kernels. In traditional implementation of real-time kernels, interrupts are frequently disabled in system service routines, critical sections, etc., which causes kernel interrupt latency. In this paper we propose a method called PIL (Predictive Interrupt Latency). PIL reduces interrupt latency by never disabling interrupts during any system service routines. Moreover, it makes interrupt latency vary little, which improves the predictability in the response time for external events. We have implemented the PIL method in an OSEK-compatible operating system - SmartOSEK OS. Experimental results show PIL improves real time and predictability of real-time systems with low time and space overheads.\",\"PeriodicalId\":422048,\"journal\":{\"name\":\"J. Embed. Comput.\",\"volume\":\"24 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1900-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"J. Embed. Comput.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.3233/JEC-2009-0106\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Embed. Comput.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3233/JEC-2009-0106","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

中断延迟对实时操作系统内核的实时性和可预测性有很大的影响。在传统的实时内核实现中,经常在系统服务例程、临界段等中禁用中断,从而导致内核中断延迟。本文提出了一种称为PIL(预测性中断延迟)的方法。PIL通过在任何系统服务例程中从不禁用中断来减少中断延迟。此外,它使中断延迟变化很小,从而提高了对外部事件响应时间的可预测性。我们已经在兼容osek的操作系统——SmartOSEK OS中实现了PIL方法。实验结果表明,PIL提高了实时系统的实时性和可预测性,且时间和空间开销较小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A method to improve interrupt latency in real-time OS kernels
Interrupt latency has great impact on the real time and predictability of real-time operating system kernels. In traditional implementation of real-time kernels, interrupts are frequently disabled in system service routines, critical sections, etc., which causes kernel interrupt latency. In this paper we propose a method called PIL (Predictive Interrupt Latency). PIL reduces interrupt latency by never disabling interrupts during any system service routines. Moreover, it makes interrupt latency vary little, which improves the predictability in the response time for external events. We have implemented the PIL method in an OSEK-compatible operating system - SmartOSEK OS. Experimental results show PIL improves real time and predictability of real-time systems with low time and space overheads.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信