Performance analysis of the Kahan-enhanced scalar product on current multi-corecore and many-core processors

Beitrag in einer Fachzeitschrift
(Originalarbeit)


Details zur Publikation

Autor(en): Hofmann J, Fey D, Riedman M, Eitzinger J, Hager G, Wellein G
Zeitschrift: Concurrency and Computation-Practice & Experience
Verlag: John Wiley and Sons Ltd
Jahr der Veröffentlichung: 2016
Band: 28
Heftnummer: 12
ISSN: 1532-0626


Abstract


We investigate the performance characteristics of a numerically enhanced scalar product (dot) kernel loop that uses the Kahan algorithm to compensate for numerical errors, and describe efficient single instruction multiple data-vectorized implementations on recent multi-core and many-core processors. Using low-level instruction analysis and the execution-cache-memory performance model, we pinpoint the relevant performance bottlenecks for single-core and thread-parallel execution and predict performance and saturation behavior. We show that the Kahan-enhanced scalar product comes at almost no additional cost compared with the naive (non-Kahan) scalar product if appropriate low-level optimizations, notably single instruction multiple data vectorization and unrolling, are applied. The execution-cache-memory model is extended appropriately to accommodate not only modern Intel multicore chips but also the Intel Xeon Phi 'Knights Corner' coprocessor and an IBM POWER8 CPU. This allows us to discuss the impact of processor features on the performance across four modern architectures that are relevant for high performance computing.



FAU-Autoren / FAU-Herausgeber

Eitzinger, Jan Dr.
Regionales Rechenzentrum Erlangen (RRZE)
Fey, Dietmar Prof. Dr.-Ing.
Lehrstuhl für Informatik 3 (Rechnerarchitektur)
Hager, Georg Dr.
Regionales Rechenzentrum Erlangen (RRZE)
Hofmann, Johannes
Lehrstuhl für Informatik 3 (Rechnerarchitektur)
Wellein, Gerhard Prof. Dr.
Professur für Höchstleistungsrechnen


Autor(en) der externen Einrichtung(en)
AREVA GmbH


Zitierweisen

APA:
Hofmann, J., Fey, D., Riedman, M., Eitzinger, J., Hager, G., & Wellein, G. (2016). Performance analysis of the Kahan-enhanced scalar product on current multi-corecore and many-core processors. Concurrency and Computation-Practice & Experience, 28(12). https://dx.doi.org/10.1002/cpe.3921

MLA:
Hofmann, Johannes, et al. "Performance analysis of the Kahan-enhanced scalar product on current multi-corecore and many-core processors." Concurrency and Computation-Practice & Experience 28.12 (2016).

BibTeX: 

Zuletzt aktualisiert 2018-20-12 um 13:53