论文标题
安排并行任务作业受包装和放置约束的约束
Scheduling Parallel-Task Jobs Subject to Packing and Placement Constraints
论文作者
论文摘要
在现代平行计算应用程序的启发下,我们考虑了在一组机器中安排具有异构资源需求的并行任务作业的问题。每个作业都由一组可以并行处理的任务组成,但是,仅当其所有任务完成其处理时,该作业才能完成,我们将其称为“同步”约束。此外,将任务分配给计算机是否受“放置”约束,即,每个任务只能在机器的子集上处理,并且处理时间也可以依赖于机器。一旦在机器上安排了任务,就需要在其处理过程中从该计算机上进行一定数量的资源。机器可以同时处理(“包”)多个任务,但是任务的累积资源要求不应超过机器的容量。 我们的目标是最大程度地减少工作完成时间的加权平均值。该问题受到同步,包装和放置约束的影响,是NP-HARD,并且先前的理论结果仅涉及更简单的模型。对于允许位置可行机器之间任务的迁移,我们提出了一种近似值(6+ε)$的先发制算法。在只有一台机器可以处理每个任务的特殊情况下,我们设计了一种算法,其近似值为$ 4 $。最后,在不允许迁移(和先发制人)的情况下,我们设计了一种算法,其近似值为$ 24 $。我们的算法结合了线性程序放松和贪婪的包装技术的组合。我们使用真实的交通迹线提出了广泛的仿真结果,该结果表明我们的算法在先前的方法上取得了显着增长。
Motivated by modern parallel computing applications, we consider the problem of scheduling parallel-task jobs with heterogeneous resource requirements in a cluster of machines. Each job consists of a set of tasks that can be processed in parallel, however, the job is considered completed only when all its tasks finish their processing, which we refer to as "synchronization" constraint. Further, assignment of tasks to machines is subject to "placement" constraints, i.e., each task can be processed only on a subset of machines, and processing times can also be machine dependent. Once a task is scheduled on a machine, it requires a certain amount of resource from that machine for the duration of its processing. A machine can process ("pack") multiple tasks at the same time, however the cumulative resource requirement of the tasks should not exceed the machine's capacity. Our objective is to minimize the weighted average of the jobs' completion times. The problem, subject to synchronization, packing and placement constraints, is NP-hard, and prior theoretical results only concern much simpler models. For the case that migration of tasks among the placement-feasible machines is allowed, we propose a preemptive algorithm with an approximation ratio of $(6+ε)$. In the special case that only one machine can process each task, we design an algorithm with improved approximation ratio of $4$. Finally, in the case that migrations (and preemptions) are not allowed, we design an algorithm with an approximation ratio of $24$. Our algorithms use a combination of linear program relaxation and greedy packing techniques. We present extensive simulation results, using a real traffic trace, that demonstrate that our algorithms yield significant gains over the prior approaches.