TTK 正具备 MPI 就绪能力
TTK is Getting MPI-Ready
AI总结:
本文为拓扑工具包TTK扩展MPI分布式内存并行能力,提出通用方法支撑拓扑分析流水线,优化数据结构与接口,完成算法分类与性能验证,给出扩展路线图。
摘要:
本系统论文记录了拓扑工具包(Topology ToolKit,TTK)通过消息传递接口(Message Passing Interface,MPI)扩展至分布式内存并行的技术基础。尽管近期已有多篇论文提出了面向分布式内存环境的基于拓扑的方法,但这些研究的实验均基于定制化的单算法实现完成。与之不同,本文提出了一种支持三角化域和规则网格的通用方法,用于支撑拓扑分析流水线(即一系列相互协作的拓扑算法序列)。在开发该扩展的过程中,我们遇到了多项算法与软件工程层面的挑战,本文对此进行了详细记录。我们描述了 TTK 中用于三角化表示与遍历的数据结构的 MPI 扩展,该组件是 TTK 拓扑实现的全局性能与通用性的核心。我们还在全局流水线层面和细粒度算法层面,引入了 TTK 与 MPI 之间的中间接口。我们根据通信需求对 TTK 支持的分布式内存拓扑算法进行了分类,并提供了 MPI+线程混合并行的示例。性能分析表明,并行效率范围为 20% 至 80%(因算法而异),且我们的框架引入的 MPI 专属预处理带来的计算时间开销可忽略不计。我们通过一个高级分析流水线示例展示了 TTK 新增的分布式内存能力,该流水线组合了多种算法,在我们找到的最大公开数据集(1200 亿个顶点)上、于包含 64 个节点(共 1536 个核心)的集群上运行。最后,我们给出了完成 TTK 的 MPI 扩展的路线图,以及针对每类算法通信模式的通用建议。
英文摘要:
This system paper documents the technical foundations for the extension of the Topology ToolKit (TTK) to distributed-memory parallelism with the Message Passing Interface (MPI). While several recent papers introduced topology-based approaches for distributed-memory environments, these were reporting experiments obtained with tailored, mono-algorithm implementations. In contrast, we describe in this paper a versatile approach (supporting both triangulated domains and regular grids) for the support of topological analysis pipelines, i.e. a sequence of topological algorithms interacting together. While developing this extension, we faced several algorithmic and software engineering challenges, which we document in this paper. We describe an MPI extension of TTK's data structure for triangulation representation and traversal, a central component to the global performance and generality of TTK's topological implementations. We also introduce an intermediate interface between TTK and MPI, both at the global pipeline level, and at the fine-grain algorithmic level. We provide a taxonomy for the distributed-memory topological algorithms supported by TTK, depending on their communication needs and provide examples of hybrid MPI+thread parallelizations. Performance analyses show that parallel efficiencies range from 20% to 80% (depending on the algorithms), and that the MPI-specific preconditioning introduced by our framework induces a negligible computation time overhead. We illustrate the new distributed-memory capabilities of TTK with an example of advanced analysis pipeline, combining multiple algorithms, run on the largest publicly available dataset we have found (120 billion vertices) on a cluster with 64 nodes (for a total of 1536 cores). Finally, we provide a roadmap for the completion of TTK's MPI extension, along with generic recommendations for each algorithm communication category.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。