• DocumentCode
    3591152
  • Title

    Analysis and tuning of libtensor framework on multicore architectures

  • Author

    Ibrahim, Khaled Z. ; Williams, Samuel W. ; Epifanovsky, Evgeny ; Krylov, Anna I.

  • Author_Institution
    Comput. Res. Div., Lawrence Berkeley Nat. Lab., Berkeley, CA, USA
  • fYear
    2014
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Libtensor is a framework designed to implement the tensor contractions arising form the coupled cluster and equations of motion computational quantum chemistry equations. It has been optimized for symmetry and sparsity to be memory efficient. This allows it to run efficiently on the ubiquitous and cost-effective SMP architectures. Unfortunately, movement of memory controllers on chip has endowed these SMP systems with strong NUMA properties. Moreover, the many core trend in processor architecture demands that the implementation be extremely thread-scalable on node. To date, Libtensor has been generally agnostic of these effects. To that end, in this paper, we explore a number of optimization techniques including a thread-friendly and NUMA-aware memory allocator and garbage collector, tuning the tensor tiling factor, and tuning the scheduling quanta. In the end, our optimizations can improve the performance of contractions implemented in Libtensor by up to 2× on representative Ivy Bridge, Nehalem, and Opteron SMPs.
  • Keywords
    multiprocessing systems; parallel architectures; tensors; Libtensor framework; NUMA properties; NUMA-aware memory allocator; SMP architectures; computational quantum chemistry equations; garbage collector; memory controllers on chip; multicore architectures; optimization techniques; scheduling quanta; tensor contractions; tensor tiling factor; Chemistry; Instruction sets; Libraries; Memory management; Runtime; Tensile stress; Tuning; parallel programming; quantum chemistry software; tensor algebra;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing (HiPC), 2014 21st International Conference on
  • Print_ISBN
    978-1-4799-5975-4
  • Type

    conf

  • DOI
    10.1109/HiPC.2014.7116881
  • Filename
    7116881