首页> 外文期刊>Procedia Computer Science >Cluster-based Communication and Load Balancing for Simulations on Dynamically Adaptive Grids
【24h】

Cluster-based Communication and Load Balancing for Simulations on Dynamically Adaptive Grids

机译:基于集群的通信和负载均衡,用于动态自适应网格的仿真

获取原文
       

摘要

The present paper introduces a new communication and load-balancing scheme based on a clustering of the grid which we use for the efficient parallelization of simulations on dynamically adaptive grids. With a partitioning based on space-filling curves (SFCs), this yields several advantageous properties regarding the memory requirements and load balancing. However, for such an SFC- based partitioning, additional connectivity information has to be stored and updated for dynamically changing grids. In this work, we present our approach to keep this connectivity information run-length encoded (RLE) only for the interfaces shared between partitions. Using special properties of the underlying grid traversal and used communication scheme, we update this connectivity information implicitly for dynamically changing grids and can represent the connectivity information as a sparse communication graph: graph nodes (partitions) represent bulks of connected grid cells and each graph edge (RLE connectivity information) a unique relation between adjacent partitions. This directly leads to an efficient shared-memory parallelization with graph nodes assigned to computing cores and an efficient en bloc data exchange via graph edges. We further refer to such a partitioning approach with RLE meta information as a cluster-based domain decomposition and to each partition as a cluster . With the sparse communication graph in mind, we then extend the connectivity information represented by the graph edges with MPI ranks, yielding an en bloc communication for distributed-memory systems and a hybrid parallelization. For data migration, the stack-based intra-cluster communication allows a very low memory footprint for data migration and the RLE leads to efficient updates of connectivity information. Our benchmark is based on a shallow water simulation on a dynamically adaptive grid. We conducted performance studies for MPI-only and hybrid parallelizations, yielding an efficiency of over 90% on 256 cores. Furthermore, we demonstrate the applicability of cluster-based optimizations on distributed-memory systems.
机译:本文介绍了一种基于网格聚类的新的通信和负载平衡方案,我们将其用于动态自适应网格上仿真的有效并行化。通过基于空间填充曲线(SFC)的分区,这会产生一些有关内存需求和负载平衡的有利属性。但是,对于这种基于SFC的分区,必须存储和更新其他连接性信息以动态更改网格。在这项工作中,我们提出了仅针对分区之间共享的接口将此连接信息进行行程编码(RLE)的方法。利用基础网格遍历的特殊属性和使用的通信方案,我们可以隐式更新此连接信息以动态更改网格,并且可以将连接信息表示为稀疏的通信图:图节点(分区)代表大量连接的网格单元和每个图边缘(RLE连接信息)相邻分区之间的唯一关系。这直接导致与分配给计算核心的图形节点进行有效的共享内存并行化,并通过图形边缘进行有效的整体数据交换。我们进一步将这种具有RLE元信息的分区方法称为基于群集的域分解,并将每个分区称为群集。考虑到稀疏的通信图,然后使用MPI等级扩展由图边缘表示的连接性信息,从而为分布式内存系统和混合并行化提供整体通信。对于数据迁移,基于堆栈的集群内通信允许非常低的内存占用量进行数据迁移,并且RLE可以有效地更新连接信息。我们的基准基于动态自适应网格上的浅水模拟。我们针对仅MPI和混合并行进行了性能研究,在256个内核上的效率超过90%。此外,我们演示了基于群集的优化在分布式内存系统上的适用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号