arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.01147cs.OS
收藏

最小化安全虚拟机中的事件处理延迟

Minimizing Event-Handling Latencies in Secure Virtual Machines

Janis Danisevskis, Michael Peter, Jan Nordholz

摘要:

虚拟化在服务器和桌面领域得到广泛采用后,也将改变嵌入式系统的体系结构。虚拟化所带来的好处-增强的隔离性、可扩展性、灵活性和安全性-对于嵌入式系统的开发人员来说是非常有用的,可以解决复杂性急剧增加的问题。虽然存在成熟的桌面和服务器解决方案,但由于需求明显不同,它们无法在嵌入式系统上轻松重用。不幸的是,以吞吐量为目标的优化对服务器很重要,但往往会影响到可预测的实时行为等方面,而这些方面对许多嵌入式系统至关重要。类似地,对小型可信计算基础、轻量级VM间通信和小占用空间的要求通常无法满足。这种观察表明,嵌入式系统的虚拟机应该从头开始构建,特别注意特定的要求。在本文中,我们开始与一个虚拟机设计的安全意识的工作负载,并描述了必要的步骤,以实现良好的事件处理延迟。这种进化是可能的,因为底层的微内核非常适合满足实时需求。作为客户系统,我们选择了带有PREEMPT_RT配置的Linux,它本身就是为了在通用系统中减少事件处理延迟而开发的。我们的研究结果表明,在虚拟机中运行的客户端的事件处理延迟的增加,相比于本机执行,不超过两个因素。

英文摘要:

Virtualization, after having found widespread adoption in the server and desktop arena, is poised to change the architecture of embedded systems as well. The benefits afforded by virtualization - enhanced isolation, manageability, flexibility, and security - could be instrumental for developers of embedded systems as an answer to the rampant increase in complexity. While mature desktop and server solutions exist, they cannot be easily reused on embedded systems because of markedly different requirements. Unfortunately, optimizations aimed at throughput, important for servers, often compromise on aspects like predictable real-time behavior, which are crucial to many embedded systems. In a similar vein, the requirements for small trusted computing bases, lightweight inter-VM communication, and small footprints are often not accommodated. This observation suggests that virtual machines for embedded systems should be constructed from scratch with particular attention paid to the specific requirements. In this paper, we set out with a virtual machine designed for security-conscious workloads and describe the steps necessary to achieve good event-handling latencies. That evolution is possible because the underlying microkernel is well suited to satisfy real-time requirements. As the guest system we chose Linux with the PREEMPT_RT configuration, which itself was developed in an effort to bring down event-handling latencies in a general purpose system. Our results indicate that the increase of event-handling latencies of a guest running in a virtual machine does not, compared to native execution, exceed a factor of two.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑