实时来宾的近本地中断延迟:通过内存映射变形的处理程序仿真

Farhad Andalibi, Paulo Garcia
{"title":"实时来宾的近本地中断延迟:通过内存映射变形的处理程序仿真","authors":"Farhad Andalibi, Paulo Garcia","doi":"10.1145/3456172.3456197","DOIUrl":null,"url":null,"abstract":"Interrupt latency, critical in real-time applications, is increased in virtualized systems; interrupts intended for a non-running partition can be delayed up to the length of the scheduling period. State-of-the art techniques for decreasing latency in real-time guests relax temporal isolation requirements, allowing guests’ interrupt handlers to be executed within another partition’s time slot. However, this approach does not yet achieve native latencies, due to the need to switch guests’ contexts, inducing overhead for Hypervisor execution. This paper presents an approach for reducing interrupt latencies: by taking advantage of virtualization support hardware in modern microprocessors, we show that real-time guests’ interrupt handlers can be executed within Hypervisor hardware context, i.e., by Hypervisor-dedicated processor hardware, eliminating the need for switching guests’ context and approaching native latencies. This is achieved by morphing the Hypervisor’s memory map translation mechanisms, so software is executed within the real-time guest’s memory context, allowing near-native interrupt latency. We evaluate our implementation, consisting of virtualization hardware and software, on a softcore ARM processor prototyped on a Xilinx Virtex 5 FPGA, running Linux and FreeRTOS. Results show memory map morphing is capable of achieving near-native interrupt latency for a real-time guest, outperforming the state of the art.","PeriodicalId":133908,"journal":{"name":"Proceedings of the 2021 7th International Conference on Computing and Data Engineering","volume":"192 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Near-Native Interrupt Latency in Real-Time Guests: Handler Emulation Through Memory Map Morphing\",\"authors\":\"Farhad Andalibi, Paulo Garcia\",\"doi\":\"10.1145/3456172.3456197\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Interrupt latency, critical in real-time applications, is increased in virtualized systems; interrupts intended for a non-running partition can be delayed up to the length of the scheduling period. State-of-the art techniques for decreasing latency in real-time guests relax temporal isolation requirements, allowing guests’ interrupt handlers to be executed within another partition’s time slot. However, this approach does not yet achieve native latencies, due to the need to switch guests’ contexts, inducing overhead for Hypervisor execution. This paper presents an approach for reducing interrupt latencies: by taking advantage of virtualization support hardware in modern microprocessors, we show that real-time guests’ interrupt handlers can be executed within Hypervisor hardware context, i.e., by Hypervisor-dedicated processor hardware, eliminating the need for switching guests’ context and approaching native latencies. This is achieved by morphing the Hypervisor’s memory map translation mechanisms, so software is executed within the real-time guest’s memory context, allowing near-native interrupt latency. We evaluate our implementation, consisting of virtualization hardware and software, on a softcore ARM processor prototyped on a Xilinx Virtex 5 FPGA, running Linux and FreeRTOS. Results show memory map morphing is capable of achieving near-native interrupt latency for a real-time guest, outperforming the state of the art.\",\"PeriodicalId\":133908,\"journal\":{\"name\":\"Proceedings of the 2021 7th International Conference on Computing and Data Engineering\",\"volume\":\"192 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-01-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2021 7th International Conference on Computing and Data Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3456172.3456197\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 7th International Conference on Computing and Data Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3456172.3456197","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

中断延迟是实时应用程序的关键,在虚拟化系统中会增加;用于非运行分区的中断可以延迟到调度周期的长度。减少实时客户机延迟的最新技术放宽了时间隔离要求,允许客户机的中断处理程序在另一个分区的时隙内执行。但是,由于需要切换客户机上下文,这种方法还不能实现本机延迟,从而导致Hypervisor执行的开销。本文提出了一种减少中断延迟的方法:通过利用现代微处理器中的虚拟化支持硬件,我们展示了实时客户机的中断处理程序可以在Hypervisor硬件上下文中执行,即通过Hypervisor专用的处理器硬件,消除了切换客户机上下文和接近本地延迟的需要。这是通过改变Hypervisor的内存映射转换机制来实现的,这样软件就可以在实时客户机的内存上下文中执行,从而允许接近本机的中断延迟。我们在Xilinx Virtex 5 FPGA上的软核ARM处理器原型上评估了我们的实现,包括虚拟化硬件和软件,运行Linux和FreeRTOS。结果表明,内存映射变形能够为实时客户机实现接近本机的中断延迟,优于目前的技术水平。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Near-Native Interrupt Latency in Real-Time Guests: Handler Emulation Through Memory Map Morphing
Interrupt latency, critical in real-time applications, is increased in virtualized systems; interrupts intended for a non-running partition can be delayed up to the length of the scheduling period. State-of-the art techniques for decreasing latency in real-time guests relax temporal isolation requirements, allowing guests’ interrupt handlers to be executed within another partition’s time slot. However, this approach does not yet achieve native latencies, due to the need to switch guests’ contexts, inducing overhead for Hypervisor execution. This paper presents an approach for reducing interrupt latencies: by taking advantage of virtualization support hardware in modern microprocessors, we show that real-time guests’ interrupt handlers can be executed within Hypervisor hardware context, i.e., by Hypervisor-dedicated processor hardware, eliminating the need for switching guests’ context and approaching native latencies. This is achieved by morphing the Hypervisor’s memory map translation mechanisms, so software is executed within the real-time guest’s memory context, allowing near-native interrupt latency. We evaluate our implementation, consisting of virtualization hardware and software, on a softcore ARM processor prototyped on a Xilinx Virtex 5 FPGA, running Linux and FreeRTOS. Results show memory map morphing is capable of achieving near-native interrupt latency for a real-time guest, outperforming the state of the art.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信