Mestra:探索虚拟化CGRAs中的迁移
Mestra: Exploring Migration on Virtualized CGRAs
AI总结:
Mestra通过动态调度和资源分配实现CGRAs多租户,解决碎片化和实时迁移问题,提升资源利用率和性能。
摘要:
随着现代粗粒度可重构阵列(CGRAs)规模增大,单一应用高效利用可用织物变得愈发困难。现有CGRAs映射器要么无法充分利用织物,要么依赖刚性静态代码转换,适应性有限。多租户CGRAs成为提高硬件利用率的有前景解决方案,但现有尝试未能解决关键挑战,如织物碎片化和实时迁移。为填补这一空白,我们提出了Mestra,一个端到端的CGRAs多租户系统,支持共享环境中的动态调度和资源分配。Mestra通过支持无状态和有状态的实时内核迁移作为去碎片化机制,解决由内核非顺序完成导致的织物碎片化。我们在Alveo-U280数据中心级FPGA卡上评估了我们的解决方案,报告了面积、频率和功率。性能通过PolyBench基准套件中的例程和来自常见机器学习操作符的内核进行评估。结果表明,多个用户之间共享可用织物可将工作负载完成时间提高高达70.48%,而实时内核迁移可将碎片化布局的尾部延迟降低高达29.60%。为实现虚拟化和有状态迁移所需的定制紧密耦合控制器和读回路径,引入了每区域0.13%的LUT成本。我们的评估揭示了多租户对高效CGRAs利用的重要性,以及实时内核迁移可通过最小硬件成本恢复碎片化空间进一步提升性能。
英文摘要:
As modern Coarse Grain Reconfigurable Arrays (CGRAs) grow in size, efficient utilization of the available fabric by a single application becomes increasingly difficult. Existing CGRA mappers either fail to utilize the available fabric or rely on rigid static code transformations with limited adaptability. Multi-tenant CGRAs have emerged as a promising solution to increase hardware utilization, but current attempts fail to address key challenges such as fabric fragmentation and live migration. To address this gap, we present Mestra, an end-to-end system for CGRA multi-tenancy that supports dynamic scheduling and resource allocation in a shared environment. Mestra addresses fabric fragmentation caused by kernels completing out of order by supporting both stateless and stateful live kernel migration as a de-fragmentation mechanism. We assess our solution on an Alveo-U280 data-center-grade FPGA card, reporting area, frequency, and power. Performance is evaluated using routines from the PolyBench benchmark suite and kernels derived from common machine learning operators. Results show that spatial sharing of the available fabric across multiple users improves workload makespan by up to 70.48%, while live kernel migration reduces tail latency on fragmented layouts by up to 29.60%. The custom tightly coupled controller and read-back paths required for virtualization and stateful migration introduce a LUT cost of 0.13% per region. Our evaluation reveals that multi-tenancy is important for efficient CGRA utilization, and live kernel migration can further improve performance by recovering fragmented space with minimal hardware cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。