首页> 外文期刊>IEEE Transactions on Software Engineering >Space efficient execution of deterministic parallel programs
【24h】

Space efficient execution of deterministic parallel programs

机译:高效执行确定性并行程序

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

摘要

We model a deterministic parallel program by a directed acyclic graph of tasks, where a task can execute as soon as all tasks preceding it have been executed. Each task can allocate or release an arbitrary amount of memory (i.e., heap memory allocation can be modeled). We call a parallel schedule "space efficient" if the amount of memory required is at most equal to the number of processors times the amount of memory required for some depth-first execution of the program by a single processor. We describe a simple, locally depth-first scheduling algorithm and show that it is always space efficient. Since the scheduling algorithm is greedy, it will be within a factor of two of being optimal with respect to time. For the special case of a program having a series-parallel structure, we show how to efficiently compute the worst case memory requirements over all possible depth-first executions of a program. Finally, we show how scheduling can be decentralized, making the approach scalable to a large number of processors when there is sufficient parallelism.
机译:我们通过任务的有向无环图对确定性并行程序进行建模,在该任务中,只要任务之前的所有任务都已执行,就可以立即执行任务。每个任务都可以分配或释放任意数量的内存(即可以对堆内存分配进行建模)。如果所需内存量最多等于处理器数量乘以单个处理器对程序进行某些深度优先执行所需的内存量,则我们将并行调度称为“节省空间”。我们描述了一种简单的局部深度优先的调度算法,并证明了它总是空间高效的。由于调度算法是贪婪的,因此它将在时间上处于最佳状态的两倍之内。对于具有串并结构的程序的特殊情况,我们展示了如何在程序的所有可能的深度优先执行中有效地计算最坏情况的内存需求。最后,我们展示了如何将调度分散化,从而在有足够的并行性的情况下使该方法可扩展到大量处理器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号