• DocumentCode
    1996653
  • Title

    Energy-Efficient Sparse Matrix Autotuning with CSX -- A Trade-off Study

  • Author

    Meyer, Jan Christian ; Cebrian, Juan M. ; Natvig, Lasse ; Karakasis, Vasileios ; Siakavaras, Dimitris ; Nikas, Konstantinos

  • Author_Institution
    IT Dept., NTNU, Trondheim, Norway
  • fYear
    2013
  • fDate
    20-24 May 2013
  • Firstpage
    931
  • Lastpage
    937
  • Abstract
    In this paper, we apply a method for extracting a running power estimate of applications from hardware performance counters, producing power/time curves which can be integrated over particular intervals to estimate the energy consumption of individual application stages. We use this method to instrument executions of a conjugate gradient solver, to examine the energy and performance impacts of applying the Compressed Sparse eXtended (CSX) and classic Compressed Sparse Row (CSR) matrix compression methods to sparse linear systems from different application areas. The CSX format requires a preprocessing stage which identifies and exploits a range of matrix substructures, incurring a one-time cost which can facilitate more effective sparse matrix-vector multiplication (SpMV). As this numerical kernel is the primary performance bottleneck of conjugate gradient solvers, we take the approach of isolating the energy cost of preprocessing from a short sample of application iterations, obtaining measurements which enlighten the choice of which compression scheme is more appropriate to the input data. We examine the impact variable degrees of parallelism, processor clock frequency, and Hyper threading have on this trade-off. Our results include comparisons of empirically obtained results from all combinations of up to 8 threads on 4 hyper threaded cores, 3 clock frequencies, and 5 sample application matrices. We assess program-hardware interactions with views to structural properties of the data and hardware architectural features, and evaluate the approach with respect to integrating the energy instrumentation with present automatic performance tuning. Results show that our method is sufficiently precise to identify non-trivial tradeoffs in the parameter space, and may become suitable for a run-time automatic tuning scheme by applying a faster preprocessing mode of CSX.
  • Keywords
    conjugate gradient methods; matrix multiplication; power aware computing; sparse matrices; CSX-A trade-off study; SpMV; automatic performance tuning; compressed sparse extended matrix compression method; compressed sparse row matrix compression methods; conjugate gradient solver; energy consumption; energy-efficient sparse matrix autotuning; hardware performance counters; sparse linear systems; sparse matrix-vector multiplication; Clocks; Energy consumption; Hardware; Instruments; Power dissipation; Radiation detectors; Sparse matrices; auto-tuning; energy; runtime;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Processing Symposium Workshops & PhD Forum (IPDPSW), 2013 IEEE 27th International
  • Conference_Location
    Cambridge, MA
  • Print_ISBN
    978-0-7695-4979-8
  • Type

    conf

  • DOI
    10.1109/IPDPSW.2013.219
  • Filename
    6650975