首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >FASTEST: a practical low-complexity algorithm for compile-time assignment of parallel programs to multiprocessors
【24h】

FASTEST: a practical low-complexity algorithm for compile-time assignment of parallel programs to multiprocessors

机译:最快速:一种实用的低复杂度算法,用于将并行程序编译时分配给多处理器

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

In the area of parallelizing compilers, considerable research has been carried out on data dependency analysis, parallelism extraction, as well as program and data partitioning. However, designing a practical, low complexity scheduling algorithm without sacrificing performance remains a challenging problem. A variety of heuristics have been proposed to generate efficient solutions but they take prohibitively long execution times for moderate size or large problems. In this paper, we propose an algorithm called FASTEST (Fast Assignment and Scheduling of Tasks using an Efficient Search Technique) that has O(e) time complexity, where e is the number of edges in the task graph. The algorithm first generates an initial solution in a short time and then refines it by using a simple but robust random neighborhood search. We have also parallelized the search to further lower the time complexity. We are using the algorithm in a prototype automatic parallelization and scheduling tool which compiles sequential code and generates parallel code optimized with judicious scheduling. The proposed algorithm is evaluated with several application programs and outperforms a number of previous algorithms by generating parallelized code with shorter execution times, while taking dramatically shorter scheduling times. The FASTEST algorithm generates optimal solutions for a majority of the test cases and close-to-optimal solutions for the rest.
机译:在并行化编译器领域,已经在数据依赖分析,并行性提取以及程序和数据分区方面进行了大量研究。然而,在不牺牲性能的情况下设计实用,低复杂度的调度算法仍然是一个具有挑战性的问题。已经提出了各种启发式方法来产生有效的解决方案,但是对于中等大小或较大的问题,它们花费了过长的执行时间。在本文中,我们提出了一种算法,称为FASTEST(使用高效搜索技术进行任务的快速分配和调度),算法具有O(e)时间复杂度,其中e是任务图中的边数。该算法首先在很短的时间内生成一个初始解,然后使用简单但健壮的随机邻域搜索对其进行优化。我们还并行化了搜索,以进一步降低时间复杂度。我们在原型自动并行化和调度工具中使用该算法,该工具可编译顺序代码并生成经过明智调度而优化的并行代码。所提出的算法通过多个应用程序进行了评估,并通过生成执行时间更短的并行化代码,同时大大缩短了调度时间,从而优于许多先前的算法。 FASTEST算法为大多数测试用例生成最佳解决方案,而为其余测试用例生成接近最优的解决方案。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号