Skip to main content
QUICK REVIEW

[论文解读] Hardware Abstractions and Hardware Mechanisms to Support Multi-Task Execution on Coarse-Grained Reconfigurable Arrays

Taeyoung Kong, Kalhan Koul|arXiv (Cornell University)|Jan 2, 2023
Embedded Systems Design TechniquesComputer Science被引用 3
一句话总结

本文提出一种细粒度可重构阵列(CGRA)架构,通过硬件抽象——GLB-slices与array-slices——实现多任务工作负载的动态、灵活资源划分。结合灵活形状的执行区域与快速动态部分重配置(DPR),该CGRA在云工作负载中实现1.05x–1.24x更高的吞吐量和23–28%更低的延迟,在自动驾驶系统工作负载中实现60.8%的延迟降低,相较基线CGRA在单任务运行下的表现。

ABSTRACT

Domain-specific accelerators are used in various computing systems ranging from edge devices to data centers. Coarse-grained reconfigurable arrays (CGRAs) represent an architectural midpoint between the flexibility of an FPGA and the efficiency of an ASIC and are a promising candidate for servicing multi-tasked workloads within an application domain. Unfortunately, scheduling multiple tasks onto a CGRA is challenging. CGRAs lack abstractions that capture hardware resources, leaving workload schedulers unable to reason about performance, energy, and utilization for different schedules. This work first proposes a CGRA architecture that can flexibly partition key resources, including the global buffer memory capacity, the global buffer memory bandwidth, and the compute resources. Partitioned resources serve as hardware abstractions that decouple compilation and resource allocation. The compiler uses these abstractions for coarse-grained resource mapping, and the scheduler uses them for flexible resource allocation at run time. We then propose two hardware mechanisms to support multi-task execution. A flexible-shape execution region increases the overall resource utilization by mapping multiple tasks with different resource requirements. Dynamic partial reconfiguration (DPR) enables a CGRA to update the hardware configuration as the scheduler makes decisions rapidly. We show that our abstraction can help automatic and efficient scheduling of multi-tasked workloads onto our target CGRA with high utilization, resulting in 1.05x-1.24x higher throughput and a 23-28% lower latency in a multi-tasked cloud workload and 60.8% reduced latency in an autonomous system workload when compared to a baseline CGRA running single tasks at a time.

研究动机与目标

  • 解决由于缺乏硬件资源抽象而导致在CGRAs上调度多个动态任务的挑战。
  • 通过将编译与运行时调度解耦,实现高效的运行时资源分配与任务映射。
  • 在云推理与自动驾驶系统等多任务环境中,提升硬件利用率与性能。
  • 通过快速DPR与灵活的执行区域构建,支持实时、低延迟的任务重配置。
  • 提供一种联合设计框架,使编译器与调度器能够协同优化CGRA上的性能、能耗与资源利用率。

提出的方法

  • 引入GLB-slices与array-slices作为硬件抽象,用于划分CGRA中的全局缓冲内存容量、内存带宽与计算资源。
  • 设计灵活形状的执行区域,支持运行时将非均匀的GLB-slices与array-slices动态分配给异构任务。
  • 通过并行AXI4-Lite事务实现高吞吐、低延迟的动态部分重配置(DPR)机制,以实现快速硬件更新。
  • 将编译(使用粗粒度抽象)与运行时调度(使用灵活资源分配)解耦,以支持动态任务到达。
  • 利用快速DPR在总延迟的5%以内完成CGRA重配置,将重配置开销从基线的14.4%显著降低。
  • 使用两个真实世界工作负载评估该架构:多任务云推理场景与包含传感器数据处理的自动驾驶系统。
Figure 1: Baseline CGRA block diagram corresponding to [ 23 ] .
Figure 1: Baseline CGRA block diagram corresponding to [ 23 ] .

实验结果

研究问题

  • RQ1如何设计硬件抽象,使调度器能够在多任务CGRAs工作负载中有效推理性能、能耗与资源利用率?
  • RQ2需要何种架构机制,以支持在多个资源需求各异的任务之间实现灵活、动态的资源分配?
  • RQ3如何加速动态部分重配置,以最小化实时多任务执行中的重配置开销?
  • RQ4灵活资源划分与快速DPR在多任务CGRAs系统中,能在多大程度上提升吞吐量并降低延迟?
  • RQ5所提出的抽象与机制是否能够实现CGRAs上动态、多租户工作负载的高效自动调度?

主要发现

  • 所提出的CGRA结合灵活形状执行区域与快速DPR,在多任务云工作负载中相较基线实现1.05x–1.24x更高的吞吐量。
  • 在同一云工作负载中,所提出系统相较基线CGRA在单任务运行下实现23–28%的延迟降低。
  • 在自动驾驶系统工作负载中,所提出的CGRA相较基线实现60.8%的延迟降低。
  • 快速DPR将重配置时间缩短至总延迟的5%以下,相比基线的14.4%显著提升实时响应能力。
  • 硬件抽象(GLB-slices与array-slices)实现了编译与运行时调度的有效解耦,提升了可调度性与资源利用率。
  • 该系统支持动态任务到达与运行时任务在任意可用array-slice上的重新定位,无需软件干预,显著增强了灵活性与可扩展性。
(a) Baseline
(a) Baseline

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。