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

POAS:一个利用加速器级并行性的高性能调度框架

POAS: A high-performance scheduling framework for exploiting Accelerator Level Parallelism

Pablo Antonio Martínez, Gregorio Bernabé, Jose Manuel García

摘要:

异构计算在各个领域都成为主流。计算机体系结构的这个新时代带来了一种称为加速器级并行化(ALP)的新范式。在ALP中,同时使用加速器以提供前所未有的性能和能效水平。要实现这一目标,有许多问题需要解决,其中最具挑战性的是共同执行。本文开发了一个称为POAS的调度框架,一种通用的方法,为通用应用程序提供协同执行。与其他调度方法不同,POAS不直接调度应用程序。相反,它是一个通用模型,可以转换任何应用程序,使其适合于协同执行,以便可以在ALP环境中执行。我们的建议由四个不同的步骤组成:预测,优化,适应和调度。在这些阶段中,在应用程序中实现不同的修改,使其适合在ALP环境中执行。在这项工作中,我们还将我们的框架应用到矩阵乘法案例研究中,概述了将应用程序与POAS相结合的关键和最重要的步骤。我们评估了在使用CPU核、CUDA核和张量核(XPU)的CPU/GPU/XPU环境上基于POAS的矩阵乘法实现。我们的实验证明,在所研究的情况下,共同执行可以受益于ALP,产生高达45%的加速比只使用一个加速器。POAS已被证明的灵活性和潜力使其成为在未来计算机系统中实现ALP的优秀候选者。

英文摘要:

Heterogeneous computing is becoming mainstream in all scopes. This new era in computer architecture brings a new paradigm called Accelerator Level Parallelism (ALP). In ALP, accelerators are used concurrently to provide unprecedented levels of performance and energy efficiency. To reach that, there are many problems to be solved, one of the most challenging being co-execution. This paper develops a scheduling framework called POAS, a general method for providing co-execution to generic applications. Unlike other scheduling approaches, POAS does not directly schedule applications. Instead, it is a generic model that transforms any application to make it suitable for co-execution, so that it can be executed in ALP environments. Our proposal is composed of four differentiated steps: predict, optimize, adapt and schedule. During these phases, different modifications are implemented in the application to make it suitable to be executed in ALP environments. In this work we also apply our framework to a matrix multiplication case study, outlining the critical and most important steps to port the application with POAS. We evaluate our POAS-based implementation for matrix multiplication on a CPU/GPU/XPU environment using CPU cores, CUDA cores and tensor cores (XPU). Our experiments prove that co-execution in the studied scenario can benefit from ALP, yielding speedups of up to 45% with respect to using only one accelerator. The proven flexibility and potential of POAS make it an excellent candidate to reach ALP in future computer systems.

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

↑