异构多处理器OpenMP调度算法的改进
Compiler Enhanced Scheduling for OpenMP for Heterogeneous Multiprocessors
摘要:
非对称多核处理器(AMP)调度是异构多核处理器的一种特殊情况,是一个广泛研究的课题。大多数调度技术是运行时的,通常不考虑并行编程框架(如OpenMP)中使用的并行编程模式。另一方面,这些并行编程平台的当前编译器是硬件无关的,这阻止了big.LITTLE等平台的任何编译时优化,并且必须完全依赖于运行时优化。在本文中,我们提出了一个硬件感知的编译器增强调度(CES),其中常见的编译器转换与编译器添加的调度命令,以利用硬件的不对称性,提高运行时的效率。我们实现了一个用于OpenMP的编译器,并在三星Exynos中使用big.LITTLE架构证明了其效率。平均而言,我们看到在标准NPB和FSU基准测试中,CES在big.LITTLE中跨多个频率和核心配置减少了18%的运行时间和14%的能耗。
英文摘要:
Scheduling in Asymmetric Multicore Processors (AMP), a special case of Heterogeneous Multiprocessors, is a widely studied topic. The scheduling techniques which are mostly runtime do not usually consider parallel programming pattern used in parallel programming frameworks like OpenMP. On the other hand, current compilers for these parallel programming platforms are hardware oblivious which prevent any compile-time optimization for platforms like big.LITTLE and has to completely rely on runtime optimization. In this paper, we propose a hardware-aware Compiler Enhanced Scheduling (CES) where the common compiler transformations are coupled with compiler added scheduling commands to take advantage of the hardware asymmetry and improve the runtime efficiency. We implement a compiler for OpenMP and demonstrate its efficiency in Samsung Exynos with big.LITTLE architecture. On an average, we see 18% reduction in runtime and 14% reduction in energy consumption in standard NPB and FSU benchmarks with CES across multiple frequencies and core configurations in big.LITTLE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。