基于NPU加速的QoS-Constrained异构多核热优化模仿学习
NPU-Accelerated Imitation Learning for Thermal Optimization of QoS-Constrained Heterogeneous Multi-Cores
摘要:
应用程序迁移和动态电压和频率缩放(DVFS)是在用户定义的服务质量(QoS)目标下充分利用异构集群多核处理器的热优化的可用潜力的不可或缺的手段。然而,选择执行每个应用的核和每个集群的电压/频率(V/f)水平是一个复杂的问题,因为1)应用的不同特性和QoS目标需要不同的优化,以及2)每个集群DVFS需要考虑所有运行的应用的全局优化。用于功率或温度最小化的现有技术的资源管理技术要么依赖于通常不可用的测量(诸如功率),要么未能考虑问题的所有维度(例如,通过使用简化的分析模型)。模仿学习(IL)通过从Oracle演示中训练模型,能够使用Oracle策略的最优性,但运行时开销较低。我们是第一个采用IL的QoS目标下的温度最小化。我们通过训练一个神经网络(NN)来解决复杂性,并使用神经处理单元(NPU)来加速NN推理。虽然这种NN加速器在终端设备上越来越普遍,但到目前为止,它们仅用于加速用户应用程序。相比之下,我们在真实平台上使用现有的加速器来加速基于NN的资源管理。我们在配备Arm big.LITTLE CPU和NPU的HiKey 970板上进行的评估显示,在运行时开销可以忽略不计的情况下,温度显著降低,并且使用了看不见的应用程序和与用于培训的不同冷却方式。
英文摘要:
Application migration and dynamic voltage and frequency scaling (DVFS) are indispensable means for fully exploiting the available potential in thermal optimization of a heterogeneous clustered multi-core processor under user-defined quality of service (QoS) targets. However, selecting the core to execute each application and the voltage/frequency (V/f) levels of each cluster is a complex problem because 1) the diverse characteristics and QoS targets of applications require different optimizations, and 2) per-cluster DVFS requires a global optimization considering all running applications. State-of-the-art resource management techniques for power or temperature minimization either rely on measurements that are often not available (such as power) or fail to consider all the dimensions of the problem (e.g., by using simplified analytical models). Imitation learning (IL) enables to use the optimality of an oracle policy, yet at low run-time overhead, by training a model from oracle demonstrations. We are the first to employ IL for temperature minimization under QoS targets. We tackle the complexity by training a neural network (NN) and accelerate the NN inference using a neural processing unit (NPU). While such NN accelerators are becoming increasingly widespread on end devices, they are so far only used to accelerate user applications. In contrast, we use an existing accelerator on a real platform to accelerate NN-based resource management. Our evaluation on a HiKey 970 board with an Arm big.LITTLE CPU and an NPU shows significant temperature reductions at a negligible run-time overhead, with unseen applications and different cooling than used for training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。