Evaluation of two formulations of the conjugate gradients method with transactional memory

  • Authors:
  • Martin Schindewolf;Björn Rocker;Wolfgang Karl;Vincent Heuveline

  • Affiliations:
  • Computer Architecture and Parallel Processing, Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany;Corporate Sector Research and Advance Engineering, Robert Bosch GmbH, Gerlingen-Schillerhöhe, Germany;Computer Architecture and Parallel Processing, Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany;Engineering Mathematics and Computing Lab (EMCL), Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany

  • Venue:
  • Euro-Par'13 Proceedings of the 19th international conference on Parallel Processing
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Transactional Memory (TM) offers new possibilities for algorithmic design. This paper evaluates TM implementations of two algorithmic variations of the wide-spread conjugate gradients method (CG) regarding their performance on multi-core CPUs employing TM. Through applying tools for TM that visualize the TM application behavior, we show that the main bottleneck for both is the waiting times at barriers and illustrate the implementation of reduction operations with TM in a beneficial way. Performance monitoring through using the PAPI interface uncovers the quantity and type of instructions that each algorithms requires. This basic work is the key for environment-aware numerics as well as a hint for software developers who plan to use TM.