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

基于硬件加速的异构平台实时的应用优化划分与优先级分配

Optimized Partitioning and Priority Assignment of Real-Time Applications on Heterogeneous Platforms with Hardware Acceleration

Daniel Casini, Paolo Pazzaglia, Alessandro Biondi, Marco Di Natale

摘要:

硬件加速器,例如基于GPU和FPGA的硬件加速器,为高效并行化功能提供了绝佳的机会。最近,现代嵌入式平台开始配备此类加速器,从而为新兴的高度计算密集型工作负载(如下一代自动驾驶系统所需的工作负载)提供了令人信服的选择。除了对计算效率的需求之外,这种工作负载通常还具有实时的【形】要求,需要满足这些要求以保证系统的安全和正确行为。为此,本文提出了一个整体的框架,以帮助设计师分区实时的【形】应用程序在异构平台上的硬件加速器。该模型的灵感来自博世在WATERS 2019挑战赛中提出的先进驾驶辅助系统的现实设置,进一步推广到更广泛的异构架构。所得到的分析被线性化并用于编码优化问题,该优化问题共同(i)保证时序约束,(ii)找到合适的任务到核心的映射,(iii)为每个任务分配优先级,以及(iv)选择要加速的计算,在加速器提供的较小的最坏情况执行时间与同步和排队延迟之间寻求最方便的折衷。

英文摘要:

Hardware accelerators, such as those based on GPUs and FPGAs, offer an excellent opportunity to efficiently parallelize functionalities. Recently, modern embedded platforms started being equipped with such accelerators, resulting in a compelling choice for emerging, highly computational intensive workloads, like those required by next-generation autonomous driving systems. Alongside the need for computational efficiency, such workloads are commonly characterized by real-time requirements, which need to be satisfied to guarantee the safe and correct behavior of the system. To this end, this paper proposes a holistic framework to help designers partition real-time applications on heterogeneous platforms with hardware accelerators. The proposed model is inspired by a realistic setup of an advanced driving assistance system presented in the WATERS 2019 Challenge by Bosch, further generalized to encompass a broader range of heterogeneous architectures. The resulting analysis is linearized and used to encode an optimization problem that jointly (i) guarantees timing constraints, (ii) finds a suitable task-to-core mapping, (iii) assigns a priority to each task, and (iv) selects which computations to accelerate, seeking for the most convenient trade-off between the smaller worst-case execution time provided by accelerators and synchronization and queuing delays.

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

↑