arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1903.07038cs.PLcs.DC
收藏

大规模计算机辅助自适应程序调度。LITTLE系统

Compiler-assisted Adaptive Program Scheduling in big.LITTLE Systems

Marcelo Novaes, Vinícius Petrucci, Abdoulaye Gamatié, Fernando Quintão

摘要:

能量感知架构为应用提供低(小)和高(大)频率内核的混合。为运行在这种架构上的程序选择最佳硬件配置是困难的,因为程序部分从相同的硬件配置中获益不同。解决这一问题的最先进的技术使程序的执行适应运行时环境的动态特性,例如能耗和吞吐量。我们声称,这些纯粹的动态技术可以得到改善,如果他们知道程序的语法结构。为了支持这一主张,我们展示了如何使用编译器将源代码划分为程序阶段:其语法特征导致类似运行时行为的区域。我们使用强化学习将程序阶段和硬件状态形成的对映射到最适合此设置的配置。为了证明我们的想法的有效性,我们实施了Astro系统。Astro使用Q学习将程序的语法特征与硬件配置相关联。作为一个概念的证明,我们提供的证据表明,天文优于GTS,基于ARM的Linux调度器为异构体系结构,从Rodinia和Parsec的并行基准。

英文摘要:

Energy-aware architectures provide applications with a mix of low (LITTLE) and high (big) frequency cores. Choosing the best hardware configuration for a program running on such an architecture is difficult, because program parts benefit differently from the same hardware configuration. State-of-the-art techniques to solve this problem adapt the program's execution to dynamic characteristics of the runtime environment, such as energy consumption and throughput. We claim that these purely dynamic techniques can be improved if they are aware of the program's syntactic structure. To support this claim, we show how to use the compiler to partition source code into program phases: regions whose syntactic characteristics lead to similar runtime behavior. We use reinforcement learning to map pairs formed by a program phase and a hardware state to the configuration that best fit this setup. To demonstrate the effectiveness of our ideas, we have implemented the Astro system. Astro uses Q-learning to associate syntactic features of programs with hardware configurations. As a proof of concept, we provide evidence that Astro outperforms GTS, the ARM-based Linux scheduler tailored for heterogeneous architectures, on the parallel benchmarks from Rodinia and Parsec.

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

↑