论文标题

RISC-V上的静态硬件分区 - 缺点,局限性和潜在客户

Static Hardware Partitioning on RISC-V -- Shortcomings, Limitations, and Prospects

论文作者

Ramsauer, Ralf, Huber, Stefan, Schwarz, Konrad, Kiszka, Jan, Mauerer, Wolfgang

论文摘要

在越来越多地配备多个CPU内核的嵌入式处理器上,静态硬件分区是将工作负载合并到单个芯片上的已建立手段。这种建筑模式适用于需要满足适当的硬件属性的实时和安全要求的混合批判性工作负载。在这项工作中,我们专注于利用当代的虚拟化机制,以分别在工作量之间分别隔离干扰。实现时间和空间隔离的可能性 - 维持实时功能 - 包括静态分区资源,避免设备共享并确定上级控制结构的零干预措施。由于硬件分区,这消除了开销,但意味着某些硬件功能尚未在当代标准系统中完全实现。为了解决此类硬件限制,可自定义和可配置的RISC-V指令集体系结构提供了快速,无限制修改的可能性。我们介绍了有关当前RISC-V规范及其实施的发现,这些发现需要干预上级控制结构。我们确定了许多不利的问题,无法实施分别实现零干预措施的目标:在设计级别上,尤其是在处理中断方面。基于微基准测量值,我们讨论了我们发现的含义,并论证它们如何为RISC-V架构的未来扩展和改进提供基础。

On embedded processors that are increasingly equipped with multiple CPU cores, static hardware partitioning is an established means of consolidating and isolating workloads onto single chips. This architectural pattern is suitable for mixed-criticality workloads that need to satisfy both, real-time and safety requirements, given suitable hardware properties. In this work, we focus on exploiting contemporary virtualisation mechanisms to achieve freedom from interference respectively isolation between workloads. Possibilities to achieve temporal and spatial isolation-while maintaining real-time capabilities-include statically partitioning resources, avoiding the sharing of devices, and ascertaining zero interventions of superordinate control structures. This eliminates overhead due to hardware partitioning, but implies certain hardware capabilities that are not yet fully implemented in contemporary standard systems. To address such hardware limitations, the customisable and configurable RISC-V instruction set architecture offers the possibility of swift, unrestricted modifications. We present findings on the current RISC-V specification and its implementations that necessitate interventions of superordinate control structures. We identify numerous issues adverse to implementing our goal of achieving zero interventions respectively zero overhead: On the design level, and especially with regards to handling interrupts. Based on micro-benchmark measurements, we discuss the implications of our findings, and argue how they can provide a basis for future extensions and improvements of the RISC-V architecture.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源