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

异构多核系统的任务调度

Task Scheduling for Heterogeneous Multicore Systems

Zhuo Chen, Diana Marculescu

摘要:

近年来,随着对低能耗和高性能计算的需求稳步增长,异构计算已经成为一个重要的和有前途的解决方案。由于大多数工作负载通常可以在某些类型的核心上最有效地运行,因此将任务映射到最佳可用资源上不仅可以节省能源,还可以提供高性能。然而,性能和/或能量的最佳任务调度尚未解决异构平台。本文提出的工作在数学上制定了最佳的异构系统任务调度作为一个优化问题,使用排队论。我们分析解决了两种处理器类型的常见情况,例如,CPU+GPU,并给出了一个最优策略(CAB)。我们设计的GRIN启发式有效地解决近最优的政策,为任何数量的处理器类型(在1.6%的最佳)。这两种策略都适用于任何任务大小分布和处理顺序,因此具有通用性和实用性。我们广泛的模拟和验证的理论,并实现所提出的政策在一个CPU-GPU的真实平台,以显示最佳的吞吐量和能源的改善。与负载均衡等经典策略相比,我们的结果在模拟中提高了1.08倍~ 2.24倍的性能或1.08倍~ 2.26倍的能效,在实验中提高了2.37倍~ 9.07倍的性能。

英文摘要:

In recent years, as the demand for low energy and high performance computing has steadily increased, heterogeneous computing has emerged as an important and promising solution. Because most workloads can typically run most efficiently on certain types of cores, mapping tasks on the best available resources can not only save energy but also deliver high performance. However, optimal task scheduling for performance and/or energy is yet to be solved for heterogeneous platforms. The work presented herein mathematically formulates the optimal heterogeneous system task scheduling as an optimization problem using queueing theory. We analytically solve for the common case of two processor types, e.g., CPU+GPU, and give an optimal policy (CAB). We design the GrIn heuristic to efficiently solve for near-optimal policy for any number of processor types (within 1.6% of the optimal). Both policies work for any task size distribution and processing order, and are therefore, general and practical. We extensively simulate and validate the theory, and implement the proposed policy in a CPU-GPU real platform to show the optimal throughput and energy improvement. Comparing to classic policies like load-balancing, our results range from 1.08x~2.24x better performance or 1.08x~2.26x better energy efficiency in simulations, and 2.37x~9.07x better performance in experiments.

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

↑