【24h】

Scheduling algorithms for linear workflow optimization

机译:线性工作流优化的调度算法

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

摘要

Pipelined workflows are a popular programming paradigm for parallel applications. In these workflows, the computation is divided into several stages, and these stages are connected to each other through first-in first-out channels. In order to execute these workflows on a parallel machine, we must first determine the mapping of the stages onto the various processors on the machine. After finding the mapping, we must compute the schedule, i.e., the order in which the various stages execute on their assigned processors. In this paper, we assume that the mapping is given and explore the latter problem of scheduling, particularly for linear workflows. Linear workflows are those in which dependencies between stages can be represented by a linear graph. The objective of the scheduling algorithm is either to minimize the period (the inverse of the throughput), or to minimize the latency (response time), or both. We consider two realistic execution models: the one-port model (all operations are serialized) and the multi-port model (bounded communication capacities and communication/computation overlap). In both models, finding a schedule to minimize the latency is easy. However, computing the schedule to minimize the period is NP-hard in the one-port model, but can be done in polynomial time in the multi-port model. We also present an approximation algorithm to minimize the period in the one-port model. Finally, the bi-criteria problem, which consists in finding a schedule respecting a given period and a given latency, is NP-hard in both models.
机译:流水线工作流是并行应用程序的流行编程范例。在这些工作流中,计算分为几个阶段,这些阶段通过先进先出通道相互连接。为了在并行计算机上执行这些工作流,我们必须首先确定阶段到计算机上各种处理器的映射。找到映射后,我们必须计算时间表,即各个阶段在其分配的处理器上执行的顺序。在本文中,我们假设已给出映射,并探讨了后一个调度问题,尤其是对于线性工作流。线性工作流是指阶段之间的依赖关系可以由线性图表示的工作流。调度算法的目标是使周期(吞吐量的倒数)最小化,或使等待时间(响应时间)最小化,或两者兼而有之。我们考虑两种现实的执行模型:单端口模型(所有操作均已序列化)和多端口模型(有限的通信容量和通信/计算重叠)。在这两种模型中,查找时间表以最小化延迟很容易。但是,在单端口模型中,计算时间表以最大程度地减少周期是很困难的,但是在多端口模型中,可以在多项式时间内完成。我们还提出了一种近似算法,以最小化单端口模型中的周期。最后,在两个模型中,双标准问题在于找到一个遵守给定时间段和给定等待时间的时间表,这是NP难的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号