首页> 外文会议>2015 International Conference on Parallel Architecture and Compilation >Evaluating the Cost of Atomic Operations on Modern Architectures
【24h】

Evaluating the Cost of Atomic Operations on Modern Architectures

机译:评估现代建筑中的原子操作成本

获取原文
获取原文并翻译 | 示例

摘要

Atomic operations (atomics) such as Compare-and-Swap (CAS) or Fetch-and-Add (FAA) are ubiquitous in parallel programming. Yet, performance tradeoffs between these operations and various characteristics of such systems, such as the structure of caches, are unclear and have not been thoroughly analyzed. In this paper we establish an evaluation methodology, develop a performance model, and present a set of detailed benchmarks for latency and bandwidth of different atomics. We consider various state-of-the-art x86 architectures: Intel Haswell, Xeon Phi, Ivy Bridge, and AMD Bulldozer. The results unveil surprising performance relationships between the considered atomics and architectural properties such as the coherence state of the accessed cache lines. One key finding is that all the tested atomics have comparable latency and bandwidth even if they are characterized by different consensus numbers. Another insight is that the design of atomics prevents any instruction-level parallelism even if there are no dependencies between the issued operations. Finally, we discuss solutions to the discovered performance issues in the analyzed architectures. Our analysis can be used for making better design and algorithmic decisions in parallel programming on various architectures deployed in both off-the-shelf machines and large compute systems.
机译:在并行编程中,比较和交换(CAS)或获取和添加(FAA)等原子操作(原子)无处不在。但是,这些操作与此类系统的各种特性(例如缓存的结构)之间的性能折衷尚不清楚,因此尚未进行全面分析。在本文中,我们建立了一种评估方法,开发了一种性能模型,并提出了一组详细的基准,用于不同原子的延迟和带宽。我们考虑了各种最新的x86架构:Intel Haswell,Xeon Phi,Ivy Bridge和AMD Bulldozer。结果揭示了所考虑的原子与体系结构属性(例如所访问的缓存行的相干状态)之间令人惊讶的性能关系。一个主要发现是,即使所有被测试的原子具有不同的共识数,它们的等待时间和带宽也相当。另一个见解是,即使发出的操作之间没有依赖关系,原子的设计也可以防止任何指令级并行性。最后,我们讨论在已分析的体系结构中发现的性能问题的解决方案。我们的分析可用于在现成机器和大型计算系统中部署的各种体系结构上的并行编程中,进行更好的设计和算法决策。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号