arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.20561cs.DC
收藏

任务调度有效性的粒度特性

A Granularity Characterization of Task Scheduling Effectiveness

Northeastern University(东北大学)

Sana Taghipour Anvari, David Kaeli

AI总结:

本文提出了一种粒度特性框架,通过任务图依赖拓扑结构解释任务调度开销与强标度性能的关系,并为运行时决策提供实用规则。

摘要:

基于任务的运行时系统为并行科学应用提供了灵活的负载平衡和可移植性,但其强标度性高度敏感于任务粒度。随着并行性增加,调度开销可能从可忽略不计转变为主导因素,导致某些算法性能迅速下降,而其他算法则保持可忽略不计。尽管此类效应在经验上被广泛观察到,但缺乏对算法结构如何影响动态调度是否始终有益的理解。在本文中,我们引入了一个粒度特性框架,直接将调度开销增长与任务图依赖拓扑结构联系起来。我们证明了依赖结构,而非问题规模本身,决定了开销如何随并行性增长。基于这一观察,我们使用一个简单的粒度度量来表征执行行为,以指示何时调度开销可通过并行计算抵消,何时调度开销主导性能。通过在具有不同依赖模式的代表性并行工作负载上的实验评估,我们证明了所提出的特性能够解释实践中观察到的渐进和突然的强标度崩溃。我们进一步表明,从依赖拓扑衍生的开销模型能够准确预测强标度极限,并使运行时能够根据需要选择动态或静态执行,而无需进行详尽的强标度研究或广泛的离线调优。

英文摘要:

Task-based runtime systems provide flexible load balancing and portability for parallel scientific applications, but their strong scaling is highly sensitive to task granularity. As parallelism increases, scheduling overhead may transition from negligible to dominant, leading to rapid drops in performance for some algorithms, while remaining negligible for others. Although such effects are widely observed empirically, there is a general lack of understanding how algorithmic structure impacts whether dynamic scheduling is always beneficial. In this work, we introduce a granularity characterization framework that directly links scheduling overhead growth to task-graph dependency topology. We show that dependency structure, rather than problem size alone, governs how overhead scales with parallelism. Based on this observation, we characterize execution behavior using a simple granularity measure that indicates when scheduling overhead can be amortized by parallel computation and when scheduling overhead dominates performance. Through experimental evaluation on representative parallel workloads with diverse dependency patterns, we demonstrate that the proposed characterization explains both gradual and abrupt strong-scaling breakdowns observed in practice. We further show that overhead models derived from dependency topology accurately predict strong-scaling limits and enable a practical runtime decision rule for selecting dynamic or static execution without requiring exhaustive strong-scaling studies or extensive offline tuning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑