Cargando…
Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models
A central component in simulating cardiac electrophysiology is the numerical solution of nonlinear ordinary differential equations, also called cardiac ionic cell models, that describe cross-cell-membrane ion transport. Biophysically detailed cell models often require a considerable amount of comput...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9342677/ https://www.ncbi.nlm.nih.gov/pubmed/35923230 http://dx.doi.org/10.3389/fphys.2022.904648 |
_version_ | 1784760875389812736 |
---|---|
author | Hustad, Kristian Gregorius Cai, Xing |
author_facet | Hustad, Kristian Gregorius Cai, Xing |
author_sort | Hustad, Kristian Gregorius |
collection | PubMed |
description | A central component in simulating cardiac electrophysiology is the numerical solution of nonlinear ordinary differential equations, also called cardiac ionic cell models, that describe cross-cell-membrane ion transport. Biophysically detailed cell models often require a considerable amount of computation, including calls to special mathematical functions. This paper systematically studies how to efficiently use modern multicore CPUs for this costly computational task. We start by investigating the code restructurings needed to effectively enable compiler-supported SIMD vectorisation, which is the most important performance booster in this context. It is found that suitable OpenMP directives are sufficient for achieving both vectorisation and parallelisation. We then continue with an evaluation of the performance optimisation technique of using lookup tables. Due to increased challenges for automated vectorisation, the obtainable benefits of lookup tables are dependent on the hardware platforms chosen. Throughout the study, we report detailed time measurements obtained on Intel Xeon, Xeon Phi, AMD Epyc and two ARM processors including Fujitsu A64FX, while attention is also paid to the impact of SIMD vectorisation and lookup tables on the computational accuracy. As a realistic example, the benefits of performance enhancement are demonstrated by a 10(9)-run ensemble on the Oakforest-PACS system, where code restructurings and SIMD vectorisation yield an 84% reduction in computing time, corresponding to 63,270 node hours. |
format | Online Article Text |
id | pubmed-9342677 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-93426772022-08-02 Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models Hustad, Kristian Gregorius Cai, Xing Front Physiol Physiology A central component in simulating cardiac electrophysiology is the numerical solution of nonlinear ordinary differential equations, also called cardiac ionic cell models, that describe cross-cell-membrane ion transport. Biophysically detailed cell models often require a considerable amount of computation, including calls to special mathematical functions. This paper systematically studies how to efficiently use modern multicore CPUs for this costly computational task. We start by investigating the code restructurings needed to effectively enable compiler-supported SIMD vectorisation, which is the most important performance booster in this context. It is found that suitable OpenMP directives are sufficient for achieving both vectorisation and parallelisation. We then continue with an evaluation of the performance optimisation technique of using lookup tables. Due to increased challenges for automated vectorisation, the obtainable benefits of lookup tables are dependent on the hardware platforms chosen. Throughout the study, we report detailed time measurements obtained on Intel Xeon, Xeon Phi, AMD Epyc and two ARM processors including Fujitsu A64FX, while attention is also paid to the impact of SIMD vectorisation and lookup tables on the computational accuracy. As a realistic example, the benefits of performance enhancement are demonstrated by a 10(9)-run ensemble on the Oakforest-PACS system, where code restructurings and SIMD vectorisation yield an 84% reduction in computing time, corresponding to 63,270 node hours. Frontiers Media S.A. 2022-06-28 /pmc/articles/PMC9342677/ /pubmed/35923230 http://dx.doi.org/10.3389/fphys.2022.904648 Text en Copyright © 2022 Hustad and Cai. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Physiology Hustad, Kristian Gregorius Cai, Xing Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models |
title | Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models |
title_full | Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models |
title_fullStr | Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models |
title_full_unstemmed | Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models |
title_short | Resource-Efficient Use of Modern Processor Architectures For Numerically Solving Cardiac Ionic Cell Models |
title_sort | resource-efficient use of modern processor architectures for numerically solving cardiac ionic cell models |
topic | Physiology |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9342677/ https://www.ncbi.nlm.nih.gov/pubmed/35923230 http://dx.doi.org/10.3389/fphys.2022.904648 |
work_keys_str_mv | AT hustadkristiangregorius resourceefficientuseofmodernprocessorarchitecturesfornumericallysolvingcardiacioniccellmodels AT caixing resourceefficientuseofmodernprocessorarchitecturesfornumericallysolvingcardiacioniccellmodels |