How to Reduce Network Interrupt Latency for Real-Time Processing

Daesung Lee, Kuinam J. Kim
{"title":"How to Reduce Network Interrupt Latency for Real-Time Processing","authors":"Daesung Lee, Kuinam J. Kim","doi":"10.1109/ICISA.2011.5772419","DOIUrl":null,"url":null,"abstract":"There are efforts to transform the Linux system to a real-time system as it becomes very popular and stable. Linux divides the interrupt service into two steps: Top Half and Bottom Half. When the interrupt occurs, Because of this Bottom Half which is not handled immediately, Linux is not a real-time system. Transforming Linux system into a real-time system, however, is a very difficult and time-consuming task because we have to modify the kernel in many places to ensure its correctness under repeated reentering events. We suggest limiting the effort to a certain specific interrupt, for example network interrupt, instead of trying to provide real-time handling for all interrupts. The scope is limited, and we can control the amount of shared data structures among the reentering kernel threads. We identify a special packet that requires real-time treatment and process it inside the Top Half without delaying. This thesis explains the algorithm and shows how it is implemented in Linux.","PeriodicalId":425210,"journal":{"name":"2011 International Conference on Information Science and Applications","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 International Conference on Information Science and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICISA.2011.5772419","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

There are efforts to transform the Linux system to a real-time system as it becomes very popular and stable. Linux divides the interrupt service into two steps: Top Half and Bottom Half. When the interrupt occurs, Because of this Bottom Half which is not handled immediately, Linux is not a real-time system. Transforming Linux system into a real-time system, however, is a very difficult and time-consuming task because we have to modify the kernel in many places to ensure its correctness under repeated reentering events. We suggest limiting the effort to a certain specific interrupt, for example network interrupt, instead of trying to provide real-time handling for all interrupts. The scope is limited, and we can control the amount of shared data structures among the reentering kernel threads. We identify a special packet that requires real-time treatment and process it inside the Top Half without delaying. This thesis explains the algorithm and shows how it is implemented in Linux.
如何减少实时处理的网络中断延迟
随着Linux变得非常流行和稳定,人们正在努力将Linux系统转变为实时系统。Linux将中断服务分为两个步骤:上半部分和下半部分。当中断发生时,由于这个不能立即处理的下半部分,Linux不是一个实时系统。然而,将Linux系统转换为实时系统是一项非常困难和耗时的任务,因为我们必须在许多地方修改内核,以确保其在重复重入事件下的正确性。我们建议将工作限制在某个特定的中断上,例如网络中断,而不是尝试为所有中断提供实时处理。这个范围是有限的,我们可以控制重入内核线程之间共享数据结构的数量。我们确定了一个需要实时处理的特殊数据包,并在上半部分进行处理,不会延迟。本文对该算法进行了解释,并展示了如何在Linux环境下实现该算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信