面向高效与有状态的 dispel4py 优化
Optimization towards Efficiency and Stateful of dispel4py
AI总结:
针对 dispel4py 效率与有状态支持不足的问题,提出结合 Redis 映射的混合方法及自动扩展机制,在保持性能的同时降低资源消耗,并显著加速有状态工作流。
摘要:
科学工作流将科学挑战与计算资源连接起来。虽然 dispel4py(一个基于流的工作流系统)提供了到并行执行引擎(如 MPI 或多进程)的映射,但其优化主要侧重于动态进程到任务的分配以提升性能。随着对节约计算资源的日益重视,效率差距依然存在。此外,现有的动态优化缺乏对有状态应用和分组操作的支持。为解决这些问题,我们的工作引入了一种新颖的混合方法,利用新的 Redis 映射来处理工作流中的有状态操作和分组。我们还提出了一种集成到 dispel4py 动态优化中的自动扩展机制。我们的实验展示了自动扩展优化的有效性,在保持性能的同时实现了效率。在最佳情况下,与基线相比,自动扩展将 dispel4py 的运行时间减少到 87%,仅使用 76% 的进程资源。重要的是,我们优化的有状态 dispel4py 表现出显著的加速,仅使用竞争者运行时间的 32%。
英文摘要:
Scientific workflows bridge scientific challenges with computational resources. While dispel4py, a stream-based workflow system, offers mappings to parallel enactment engines like MPI or Multiprocessing, its optimization primarily focuses on dynamic process-to-task allocation for improved performance. An efficiency gap persists, particularly with the growing emphasis on conserving computing resources. Moreover, the existing dynamic optimization lacks support for stateful applications and grouping operations. To address these issues, our work introduces a novel hybrid approach for handling stateful operations and groupings within workflows, leveraging a new Redis mapping. We also propose an auto-scaling mechanism integrated into dispel4py's dynamic optimization. Our experiments showcase the effectiveness of auto-scaling optimization, achieving efficiency while upholding performance. In the best case, auto-scaling reduces dispel4py's runtime to 87% compared to the baseline, using only 76% of process resources. Importantly, our optimized stateful dispel4py demonstrates a remarkable speedup, utilizing just 32% of the runtime compared to the contender.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。