Cargando…
AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation
Computational fluid dynamics (CFD) simulation often needs to periodically output intermediate results to files in the form of snapshots for visualization or restart, which seriously impacts the performance. In this paper, we present asynchronous pipeline I/O (AP-IO) optimization scheme for the perio...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Hindawi Publishing Corporation
2014
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3997917/ https://www.ncbi.nlm.nih.gov/pubmed/24955390 http://dx.doi.org/10.1155/2014/273807 |
_version_ | 1782313260103499776 |
---|---|
author | Xiaoguang, Ren Xinhai, Xu |
author_facet | Xiaoguang, Ren Xinhai, Xu |
author_sort | Xiaoguang, Ren |
collection | PubMed |
description | Computational fluid dynamics (CFD) simulation often needs to periodically output intermediate results to files in the form of snapshots for visualization or restart, which seriously impacts the performance. In this paper, we present asynchronous pipeline I/O (AP-IO) optimization scheme for the periodically snapshot output on the basis of asynchronous I/O and CFD application characteristics. In AP-IO, dedicated background I/O processes or threads are in charge of handling the file write in pipeline mode, therefore the write overhead can be hidden with more calculation than classic asynchronous I/O. We design the framework of AP-IO and implement it in OpenFOAM, providing CFD users with a user-friendly interface. Experimental results on the Tianhe-2 supercomputer demonstrate that AP-IO can achieve a good optimization effect for the periodical snapshot output in CFD application, and the effect is especially better for massively parallel CFD simulations, which can reduce the total execution time up to about 40%. |
format | Online Article Text |
id | pubmed-3997917 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2014 |
publisher | Hindawi Publishing Corporation |
record_format | MEDLINE/PubMed |
spelling | pubmed-39979172014-06-22 AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation Xiaoguang, Ren Xinhai, Xu ScientificWorldJournal Research Article Computational fluid dynamics (CFD) simulation often needs to periodically output intermediate results to files in the form of snapshots for visualization or restart, which seriously impacts the performance. In this paper, we present asynchronous pipeline I/O (AP-IO) optimization scheme for the periodically snapshot output on the basis of asynchronous I/O and CFD application characteristics. In AP-IO, dedicated background I/O processes or threads are in charge of handling the file write in pipeline mode, therefore the write overhead can be hidden with more calculation than classic asynchronous I/O. We design the framework of AP-IO and implement it in OpenFOAM, providing CFD users with a user-friendly interface. Experimental results on the Tianhe-2 supercomputer demonstrate that AP-IO can achieve a good optimization effect for the periodical snapshot output in CFD application, and the effect is especially better for massively parallel CFD simulations, which can reduce the total execution time up to about 40%. Hindawi Publishing Corporation 2014 2014-04-03 /pmc/articles/PMC3997917/ /pubmed/24955390 http://dx.doi.org/10.1155/2014/273807 Text en Copyright © 2014 R. Xiaoguang and X. Xinhai. https://creativecommons.org/licenses/by/3.0/ This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Article Xiaoguang, Ren Xinhai, Xu AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation |
title |
AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation |
title_full |
AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation |
title_fullStr |
AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation |
title_full_unstemmed |
AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation |
title_short |
AP-IO: Asynchronous Pipeline I/O for Hiding Periodic Output Cost in CFD Simulation |
title_sort | ap-io: asynchronous pipeline i/o for hiding periodic output cost in cfd simulation |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3997917/ https://www.ncbi.nlm.nih.gov/pubmed/24955390 http://dx.doi.org/10.1155/2014/273807 |
work_keys_str_mv | AT xiaoguangren apioasynchronouspipelineioforhidingperiodicoutputcostincfdsimulation AT xinhaixu apioasynchronouspipelineioforhidingperiodicoutputcostincfdsimulation |