MPI衍生数据库:性能预期和现状
MPI Derived Datatypes: Performance Expectations and Status Quo
摘要:
我们研究自然期望的通信性能使用MPI派生的datashees比较的基线,“原始”的性能,简单的,非连续的数据布局的通信。我们发现,常见的MPI库有时会违反这些数据类型的性能预期,并讨论为什么会发生这种情况,但也显示MPI库表现良好的情况下。我们的发现在许多方面令人惊讶和失望。首先,派生数据库的性能有时比使用相应的MPI功能进行语义等效的打包和解包更差。其次,MPI标准中规定的单个连续数据类型与其组成数据类型的重复之间的通信性能等效性并不普遍。第三,MPI库在类型提交时通常采用的规范不足以强制执行自然的性能准则,更好的类型规范化规范可能会对性能产生重大影响。我们展示的情况下,所有的MPI类型构造函数是必要的,以达到预期的性能,某些数据布局。我们描述了我们的基准测试方法来验证数据类型的性能准则,并提出了广泛的验证结果,不同的MPI库。
英文摘要:
We examine natural expectations on communication performance using MPI derived datatypes in comparison to the baseline, "raw" performance of communicating simple, non-contiguous data layouts. We show that common MPI libraries sometimes violate these datatype performance expectations, and discuss reasons why this happens, but also show cases where MPI libraries perform well. Our findings are in many ways surprising and disappointing. First, the performance of derived datatypes is sometimes worse than the semantically equivalent packing and unpacking using the corresponding MPI functionality. Second, the communication performance equivalence stated in the MPI standard between a single contiguous datatype and the repetition of its constituent datatype does not hold universally. Third, the heuristics that are typically employed by MPI libraries at type-commit time are insufficient to enforce natural performance guidelines, and better type normalization heuristics may have a significant performance impact. We show cases where all the MPI type constructors are necessary to achieve the expected performance for certain data layouts. We describe our benchmarking approach to verify the datatype performance guidelines, and present extensive verification results for different MPI libraries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。