Using the Discrete Wavelet Transform for Lossy On-the-Fly Compression of GPU Fluid Simulations

IF 1.7 4区 工程技术 Q3 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Clément Flint, Atoli Huppé, Philippe Helluy, Bérenger Bramas, Stéphane Genaud
{"title":"Using the Discrete Wavelet Transform for Lossy On-the-Fly Compression of GPU Fluid Simulations","authors":"Clément Flint,&nbsp;Atoli Huppé,&nbsp;Philippe Helluy,&nbsp;Bérenger Bramas,&nbsp;Stéphane Genaud","doi":"10.1002/fld.5344","DOIUrl":null,"url":null,"abstract":"<p>High-performance computing in fluid dynamics frequently confronts substantial memory demands, especially in large-scale applications. Data compression techniques can alleviate these memory constraints, but introduce new challenges. This paper introduces an innovative on-the-fly low-overhead lossy compression technique tailored for GPU-based fluid simulations, utilizing the discrete wavelet transform (DWT). The technique is applicable to any numerical scheme where the data is stored on a regular grid and the time step is computed using a stencil. Our approach significantly diminishes memory requirements, achieving up to a 10-fold long-term reduction on a D3Q27 simulation, while minimally impacting the simulation accuracy. The methodology is built around careful design choices to achieve a satisfactory compression ratio/speed trade-off. It effectively maintains mass conservation and accurately preserves essential discontinuities in simulations. Extensive testing with a D3Q27 Lattice-Boltzmann method (LBM) simulation on a single GPU has shown that large-scale grids can be processed with minimal impact on the simulation accuracy and acceptable compression times. This compression technique demonstrates a robust capability to handle memory limitations in fluid simulations, opening the door to more complex and larger-scale simulations.</p>","PeriodicalId":50348,"journal":{"name":"International Journal for Numerical Methods in Fluids","volume":"97 3","pages":"283-298"},"PeriodicalIF":1.7000,"publicationDate":"2024-10-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/fld.5344","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal for Numerical Methods in Fluids","FirstCategoryId":"5","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/fld.5344","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

High-performance computing in fluid dynamics frequently confronts substantial memory demands, especially in large-scale applications. Data compression techniques can alleviate these memory constraints, but introduce new challenges. This paper introduces an innovative on-the-fly low-overhead lossy compression technique tailored for GPU-based fluid simulations, utilizing the discrete wavelet transform (DWT). The technique is applicable to any numerical scheme where the data is stored on a regular grid and the time step is computed using a stencil. Our approach significantly diminishes memory requirements, achieving up to a 10-fold long-term reduction on a D3Q27 simulation, while minimally impacting the simulation accuracy. The methodology is built around careful design choices to achieve a satisfactory compression ratio/speed trade-off. It effectively maintains mass conservation and accurately preserves essential discontinuities in simulations. Extensive testing with a D3Q27 Lattice-Boltzmann method (LBM) simulation on a single GPU has shown that large-scale grids can be processed with minimal impact on the simulation accuracy and acceptable compression times. This compression technique demonstrates a robust capability to handle memory limitations in fluid simulations, opening the door to more complex and larger-scale simulations.

Abstract Image

基于离散小波变换的GPU流体仿真有损动态压缩
流体动力学中的高性能计算经常面临大量内存需求,特别是在大规模应用程序中。数据压缩技术可以缓解这些内存限制,但也带来了新的挑战。本文介绍了一种创新的实时低开销有损压缩技术,该技术利用离散小波变换(DWT)为基于gpu的流体模拟量身定制。该技术适用于任何将数据存储在规则网格上并使用模板计算时间步长的数值方案。我们的方法显著降低了内存需求,在D3Q27模拟中实现了高达10倍的长期降低,同时对模拟精度的影响最小。该方法建立在谨慎的设计选择上,以实现令人满意的压缩比/速度权衡。它有效地保持了质量守恒,并准确地保留了模拟中的基本不连续点。在单个GPU上使用D3Q27 Lattice-Boltzmann方法(LBM)仿真进行的广泛测试表明,可以在对仿真精度和可接受的压缩时间影响最小的情况下处理大规模网格。这种压缩技术展示了在流体模拟中处理内存限制的强大能力,为更复杂和更大规模的模拟打开了大门。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
International Journal for Numerical Methods in Fluids
International Journal for Numerical Methods in Fluids 物理-计算机:跨学科应用
CiteScore
3.70
自引率
5.60%
发文量
111
审稿时长
8 months
期刊介绍: The International Journal for Numerical Methods in Fluids publishes refereed papers describing significant developments in computational methods that are applicable to scientific and engineering problems in fluid mechanics, fluid dynamics, micro and bio fluidics, and fluid-structure interaction. Numerical methods for solving ancillary equations, such as transport and advection and diffusion, are also relevant. The Editors encourage contributions in the areas of multi-physics, multi-disciplinary and multi-scale problems involving fluid subsystems, verification and validation, uncertainty quantification, and model reduction. Numerical examples that illustrate the described methods or their accuracy are in general expected. Discussions of papers already in print are also considered. However, papers dealing strictly with applications of existing methods or dealing with areas of research that are not deemed to be cutting edge by the Editors will not be considered for review. The journal publishes full-length papers, which should normally be less than 25 journal pages in length. Two-part papers are discouraged unless considered necessary by the Editors.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信