arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.05260cs.ARcs.OScs.PF
收藏

确定性内存抽象与支持多核系统架构

Deterministic Memory Abstraction and Supporting Multicore System Architecture

Farzad Farshchi, Prathap Kumar Valsan, Renato Mancuso, Heechul Yun

摘要:

多核处理器的时间可预测性差一直是实时系统社区的一个长期挑战。在本文中,我们提出了一个案例,一个基本的问题,防止有效的和可预测的实时计算多核是缺乏一个适当的内存抽象来表达内存的关键性,它跨越系统的各个层:应用程序,操作系统和硬件。因此,我们提出了一个新的整体资源管理方法驱动的一个新的内存抽象,我们称之为确定性内存。确定性内存的关键特征是平台-操作系统和硬件-保证最坏情况下的内存访问时间小且有严格限制。相比之下,我们称传统的内存抽象为尽力而为的内存,其中只有高度悲观的最坏情况下的界限可以实现。我们建议利用这两个抽象,以实现高的时间可预测性,但不会显着牺牲性能。我们提出了确定性的内存感知的操作系统和体系结构的设计,包括操作系统级的页面分配器,硬件级缓存,和DRAM控制器的设计。我们在Linux和gem 5模拟器上实现了所提出的操作系统和架构扩展。我们的评估结果,使用一组合成和现实世界的基准,证明了我们的方法的可行性和有效性。

英文摘要:

Poor time predictability of multicore processors has been a long-standing challenge in the real-time systems community. In this paper, we make a case that a fundamental problem that prevents efficient and predictable real-time computing on multicore is the lack of a proper memory abstraction to express memory criticality, which cuts across various layers of the system: the application, OS, and hardware. We, therefore, propose a new holistic resource management approach driven by a new memory abstraction, which we call Deterministic Memory. The key characteristic of deterministic memory is that the platform - the OS and hardware - guarantees small and tightly bounded worst-case memory access timing. In contrast, we call the conventional memory abstraction as best-effort memory in which only highly pessimistic worst-case bounds can be achieved. We propose to utilize both abstractions to achieve high time predictability but without significantly sacrificing performance. We present deterministic memory-aware OS and architecture designs, including OS-level page allocator, hardware-level cache, and DRAM controller designs. We implement the proposed OS and architecture extensions on Linux and gem5 simulator. Our evaluation results, using a set of synthetic and real-world benchmarks, demonstrate the feasibility and effectiveness of our approach.

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

↑