arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.06304cs.DCcs.AR
收藏

异构系统上不规则工作负载的数据感知动态执行

Data-aware Dynamic Execution of Irregular Workloads on Heterogeneous Systems

Zhenyu Bai, Dan Wu, Pranav Dangi, Dhananjaya Wijerathne, Venkata Pavan Kumar Miriyala, Tulika Mitra

AI总结:

针对异构系统调度依赖手动划分的问题,提出DyPe调度框架,通过动态分析数据特征和算子间并行性自动优化执行,在GPU-FPGA系统上相比静态调度和仅GPU方案显著提升性能与能效。

摘要:

当前在配备专用加速器的异构系统上调度工作负载的方法通常依赖手动划分,将具有特定计算模式的任务卸载到加速器上。这种方法需要大量实验和人力来识别适合加速器的任务。为解决这一问题,我们引入DyPe,一个专为配备专用加速器的异构系统设计的调度框架。我们的方法通过动态分析输入数据的特征并利用异构设备间的算子间并行性,自动划分、部署并在必要时重新调度执行。DyPe导航一个多目标、多约束的设计空间,该空间同时考虑系统约束和应用需求,这使其能够发现帕累托最优映射配置,提高系统的整体性能并有效管理能量-性能权衡。为在真实硬件上展示我们方法的优势,我们构建了一个支持对等数据传输的GPU和FPGA异构系统。实验表明,对于不同工作负载和系统设置的86个案例,传统静态调度仅在13个案例中最优,而DyPe具有适应性,能在77个案例中找到最优调度,在次优案例中平均仅损失3.95%的性能或能效。DyPe的性能评估显示,与静态调度基线相比,吞吐量平均提升1.53倍、能效平均提升1.09倍;与仅用GPU的基线相比,吞吐量平均提升1.44倍、能效平均提升1.66倍。

英文摘要:

Current approaches to scheduling workloads on heterogeneous systems with specialized accelerators often rely on manual partitioning, offloading tasks with specific compute patterns to accelerators. This method requires extensive experimentation and human effort to identify the tasks suitable for the accelerator. To solve this problem, we introduce DyPe, a scheduling framework tailored for heterogeneous systems with specialized accelerators. Our method automatically partitions, deploys, and reschedules execution when necessary by dynamically analyzing the characteristics of the input data and leveraging the interoperator parallelism among heterogeneous devices. DyPe navigates a multi-objective, multi-constraint design space that considers both system constraints and application requirements, which allows it to discover Pareto-optimal mapping configurations, improving the system's overall performance and effectively managing energy-performance trade-offs. To demonstrate the benefits of our approach on real hardware, we build a heterogeneous system of GPUs and FPGAs with peer-to-peer data transfers. The experiments show that conventional static scheduling is optimal for 13 out of 86 cases for different workloads and system settings while DyPe is adaptable and able to find the optimal schedule in 77 out of 86 cases, with an average of only 3.95% performance or energy efficiency loss in the sub-optimal cases. Performance evaluation of DyPe shows an average of 1.53x throughput and 1.09x energy efficiency improvement over the static schedule baseline and 1.44x throughput and 1.66x energy efficiency over the GPU-only baseline.

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

↑