arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.03743cs.PF
收藏

Spatter:一种用于评估聚集/分散性能的工具

Spatter: A Tool for Evaluating Gather / Scatter Performance

Patrick Lavin, Jeffrey Young, Jason Riedy, Richard Vuduc, Aaron Vose, Dan Ernst

摘要:

本文介绍了一种新的基准测试工具,飞溅,用于评估内存系统架构的上下文中的一个特定类别的索引访问称为聚集和分散。这些类型的操作越来越多地用于表达稀疏和不规则的数据访问模式,并且它们在许多现代HPC应用中具有广泛的实用性,包括科学模拟、数据采掘和分析计算以及图形处理。然而,许多传统的基准测试工具,如STREAM、STRIDE和GUPS,只关注于表征均匀步幅或完全随机访问,尽管有证据表明现代应用程序使用各种更复杂的访问模式。Spatter是一个开源基准测试,它提供了一个可调和可配置的框架来对各种索引访问模式进行基准测试,包括在本工作中评估的HPC迷你应用程序中看到的聚集/分散的变化。Spatter的设计包括用于OpenMP和CUDA的可调后端,实验显示了它如何用于评估1)CPU和GPU的统一访问模式,2)收集/分散的预取机制,3)收集/分散的矢量化的编译器实现,以及4)反映多个应用程序中发现的模式的跟踪驱动的“代理模式”。Spatter实验的结果表明,GPU在这些操作中的性能通常优于CPU,并且Spatter可以比传统的STREAM带宽测量更好地代表一些依赖缓存的迷你应用程序的性能。

英文摘要:

This paper describes a new benchmark tool, Spatter, for assessing memory system architectures in the context of a specific category of indexed accesses known as gather and scatter. These types of operations are increasingly used to express sparse and irregular data access patterns, and they have widespread utility in many modern HPC applications including scientific simulations, data mining and analysis computations, and graph processing. However, many traditional benchmarking tools like STREAM, STRIDE, and GUPS focus on characterizing only uniform stride or fully random accesses despite evidence that modern applications use varied sets of more complex access patterns. Spatter is an open-source benchmark that provides a tunable and configurable framework to benchmark a variety of indexed access patterns, including variations of gather/scatter that are seen in HPC mini-apps evaluated in this work. The design of Spatter includes tunable backends for OpenMP and CUDA, and experiments show how it can be used to evaluate 1) uniform access patterns for CPU and GPU, 2) prefetching regimes for gather/scatter, 3) compiler implementations of vectorization for gather/scatter, and 4) trace-driven "proxy patterns" that reflect the patterns found in multiple applications. The results from Spatter experiments show that GPUs typically outperform CPUs for these operations, and that Spatter can better represent the performance of some cache-dependent mini-apps than traditional STREAM bandwidth measurements.

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

↑