首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Scheduling Independent Moldable Tasks on Multi-Cores with GPUs
【24h】

Scheduling Independent Moldable Tasks on Multi-Cores with GPUs

机译:使用GPU在多核上调度独立的可模制任务

获取原文
获取原文并翻译 | 示例

摘要

We present a new approach for scheduling independent tasks on multiple CPUs and multiple GPUs. The tasks are assumed to be parallelizable on CPUs using the moldable model: the final number of cores allotted to a task can be decided and set by the scheduler. More precisely, we design an algorithm aiming at minimizing the makespan—the maximum completion time of all tasks—for this scheduling problem. The proposed algorithm combines a dual approximation scheme with a fast integer linear program (ILP). It determines both the partitioning of the tasks, i.e., whether a task should be mapped to CPUs or a GPU, and the number of CPUs allotted to a moldable task if mapped to the CPUs. A worst-case analysis shows that the algorithm has an approximation ratio of . Since the time complexity of the ILP-based algorithm could be non-polynomial, we also present a polynomial-time algorithm with an approximation ratio of . We complement the theoretical analysis of our two novel algorithms with a simulation study. In these simulations, we compare our algorithms to a modified version of the classical HEFT algorithm, which we adapted to handle moldable tasks. The simulation results show that our algorithm with the -approximation ratio produces significantly shorter schedules than the modified HEFT for most of the instances. In addition, our results provide evidence that our ILP-based algorithm can solve larger problem instances in a reasonable amount of time.
机译:我们提出了一种在多个CPU和多个GPU上调度独立任务的新方法。假定使用可塑模型在CPU上任务是可并行化的:分配给任务的内核的最终数量可以由调度程序确定和设置。更准确地说,我们针对该调度问题设计了一种旨在最小化制造期(所有任务的最大完成时间)的算法。该算法将对偶近似方案与快速整数线性规划(ILP)相结合。它既确定任务的分区,即确定是将任务映射到CPU还是将GPU映射,又确定分配给可模制任务的CPU数量(如果映射到CPU)。最坏情况分析表明,该算法的近似比为。由于基于ILP的算法的时间复杂度可能是非多项式的,因此我们也提出了一种近似率为的多项式时间算法。我们通过仿真研究来补充两种新颖算法的理论分析。在这些模拟中,我们将我们的算法与经典HEFT算法的修改版进行了比较,我们将其修改为可处理可模制任务。仿真结果表明,在大多数情况下,我们使用-近似比率的算法所生成的调度比修改后的HEFT显着缩短。此外,我们的结果提供了证据,表明我们基于ILP的算法可以在合理的时间内解决较大的问题实例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号