arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.09094cs.DC
收藏

面向真实应用的相干性感知任务图建模

Coherence-Aware Task Graph Modeling for Realistic Application

Guochu Xiong, Xiangzhong Luo, Weichen Liu

AI总结:

针对真实应用缺乏显式任务图且忽略缓存相干性的问题,提出CoTAM框架,通过解耦相干性影响并学习加权方案,构建反映运行时行为的统一任务图,实验证明其优于隐式方法。

摘要:

随着多核系统的持续扩展,缓存相干性已成为决定系统性能的关键因素,相干性行为与任务执行紧密交织,重塑了任务间的依赖关系。任务图建模提供了一种结构化方式来捕获此类依赖,并作为许多系统级设计策略的基础。然而,这些策略通常依赖于预定义的任务图,而许多真实应用缺乏显式图且表现出动态、数据依赖的行为,限制了静态方法的有效性。为解决此问题,已开发出多种针对真实工作负载的任务图建模方法。然而,它们要么依赖使用应用特定特征但不产生显式图的隐式技术,要么生成针对固定调度模型定制的图,这限制了通用性。更重要的是,它们往往忽略相干性交互,在设计假设与实际运行时行为之间造成差距。为克服这些局限,我们提出CoTAM,一种面向真实工作负载的相干性感知任务图建模框架,构建反映运行时行为的统一任务图。CoTAM通过将相干性影响从整体执行中解耦来分析其影响,通过学习到的加权方案量化其影响,并推断任务间依赖以生成相干性感知的图。大量实验表明,CoTAM优于隐式方法,弥合了动态工作负载行为与现有设计之间的差距,同时展示了将缓存相干性纳入任务图建模对于准确且可泛化的系统级分析的重要性。

英文摘要:

As multicore systems continue to scale, cache coherence has emerged as a critical determinant of system performance, with coherence behavior and task execution closely intertwined, reshaping inter-task dependencies. Task graph modeling provides a structured way to capture such dependencies and serves as the foundation for many system-level design strategies. However, these strategies typically rely on predefined task graphs, while many real-world applications lack explicit graphs and exhibit dynamic, data-dependent behavior, limiting the effectiveness of static approaches. To address this, several task graph modeling methods for realistic workloads have been developed. Yet, they either rely on implicit techniques that use application-specific features without producing explicit graphs, or they generate graphs tailored to fixed scheduling models, which limits generality. More importantly, they often overlook coherence interactions, creating a gap between design assumptions and actual runtime behavior. To overcome these limitations, we propose CoTAM, a Coherence-Aware Task Graph Modeling framework for realistic workloads that constructs a unified task graph reflecting runtime behavior. CoTAM analyzes the impact of coherence by decoupling its effects from overall execution, quantifies its influence through a learned weighting scheme, and infers inter-task dependencies for coherence-aware graph generation. Extensive experiments show that CoTAM outperforms implicit methods, bridging the gap between dynamic workload behavior and existing designs while demonstrating the importance of incorporating cache coherence into task graph modeling for accurate and generalizable system-level analysis.

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

↑