Performance Analysis of Speculative Parallel Adaptive Local Timestepping for Conservation Laws

被引:0
作者
Bremer, Maximilian [1 ]
Bachan, John [1 ]
Chan, C. Y. [1 ]
Dawson, Clint [2 ]
机构
[1] Lawrence Berkeley Natl Lab, 1 Cyclotron Rd, Berkeley, CA 94720 USA
[2] Univ Texas Austin, Austin, TX 78712 USA
来源
ACM TRANSACTIONS ON MODELING AND COMPUTER SIMULATION | 2022年 / 32卷 / 04期
基金
美国国家科学基金会;
关键词
Local timestepping; parallel discrete event simulation; Timewarp; shallow water equations; conservation laws; HIGH-RESOLUTION SCHEMES; DISCONTINUOUS GALERKIN METHOD; VARYING TIME; SIMULATION; SYSTEMS; WAVES;
D O I
10.1145/3545996
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Stable simulation of conservation laws, such as those used to model fluid dynamics and plasma physics applications, requires the satisfaction of the so-called Courant-Friedrichs-Lewy condition. By allowing regions of the mesh to advance with different timesteps that locally satisfy this stability constraint, significant work reduction can be attained when compared to a time integration scheme using a single timestep size. However, parallelizing this algorithm presents considerable difficulty. Since the stability condition depends on the state of the system, dependencies become dynamic and potentially non-local. In this article, we present an adaptive local timestepping algorithm using an optimistic (Timewarp-based) parallel discrete event simulation. We introduce waiting heuristics to limit misspeculation and a semi-static load balancing scheme to eliminate load imbalance as parts of the mesh require finer or coarser timesteps. Last, we outline an interface for separating the physics of the specific conservation law from the temporal integration allowing for productive adoption of our proposed algorithm. We present a misspeculation study for three conservation laws, demonstrating both the productivity of the local timestepping API, for which 74% of the lines of code are reused across different conservation laws, and the robustness of the waiting heuristics-at most 1.5% of element updates are rolled back. Our performance studies demonstrate up to a 2.8x speedup versus a baseline unoptimized local timestepping approach, a 4x improvement in per-node throughput compared to an MPI parallelization of synchronous timestepping, and scalability up to 3,072 cores on NERSC's Cori Haswell partition.
引用
收藏
页数:30
相关论文
共 68 条
  • [1] A fast and stable well-balanced scheme with hydrostatic reconstruction for shallow water flows
    Audusse, E
    Bouchut, F
    Bristeau, MO
    Klein, R
    Perthame, B
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2004, 25 (06) : 2050 - 2065
  • [2] The dynamic load balancing of Clustered Time Warp for logic simulation
    Avril, H
    Tropper, C
    [J]. TENTH WORKSHOP ON PARALLEL AND DISTRIBUTED SIMULATION - PADS 96, PROCEEDINGS, 1996, : 20 - 27
  • [3] Bauer Pavol, 2015, P 3 ACM SIGSIM C PRI, P183
  • [4] Urgent computing of storm surge for North Carolina's coast
    Blanton, Brian
    McGee, John
    Fleming, Jason
    Kaiser, Carola
    Kaiser, Hartmut
    Lander, Howard
    Luettich, Rick
    Dresback, Kendra
    Kolar, Randy
    [J]. PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2012, 2012, 9 : 1677 - 1686
  • [6] GASNet-EX: A High-Performance, Portable Communication Library for Exascale
    Bonachea, Dan
    Hargrove, Paul H.
    [J]. LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING (LCPC 2018), 2019, 11882 : 138 - 158
  • [7] Dynamic load balancing strategies for conservative parallel simulations
    Boukerche, A
    Das, SK
    [J]. 11TH WORKSHOP ON PARALLEL AND DISTRIBUTED SIMULATION, PROCEEDINGS, 1997, : 20 - 28
  • [8] Bremer Maximilian, 2021, SIGSIM-PADS '21: Proceedings of the 2021 SIGSIM Conference on Principles of Advanced Discrete Simulation, P83, DOI 10.1145/3437959.3459257
  • [9] Adaptive total variation stable local timestepping for conservation laws
    Bremer, Maximilian
    Bachan, John
    Chan, Cy
    Dawson, Clint
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2022, 463
  • [10] Performance Comparison of HPX Versus Traditional Parallelization Strategies for the Discontinuous Galerkin Method
    Bremer, Maximilian
    Kazhyken, Kazbek
    Kaiser, Hartmut
    Michoski, Craig
    Dawson, Clint
    [J]. JOURNAL OF SCIENTIFIC COMPUTING, 2019, 80 (02) : 878 - 902