The main idea of AMRDPC is to pre-process AMR data according to density partitions before compression, which can further improve the compression quality and I/O performance.
- Get the AMR applications and lossy compressor SZ;
- Configure the SZ environment and ensure that it can be run;
- Build AMRDPC and baseline, and test.
We conduct our experiments on a Linux server with OS kernel of Linux 5.15, CPU of 12th Gen Intel(R) Core(TM) i9-12900K, main memory of 32 GB DDR5 RAM, and storage device of 1TB M.2 Gen4 NVMe SSD.
We evaluate the effectiveness of AMRDPC with seven real AMR application datasets in AMReX. These applications can be downloaded from the following addresses:
- Grid Z2: https://drive.google.com/file/d/118ataZqVlCFq5D04MhtTTOBBvVO6DR6B/view?usp=sharing
- Grid Z3: https://drive.google.com/file/d/1PHMUV6c9K5V9AN-TF_CYf9ROR86oZYSm/view?usp=sharing
- Grid Z5: https://drive.google.com/file/d/1hEjnw3llHj2P9z3WyrWSQAWqPAQ-LKxy/view?usp=sharing
- Grid Z10: https://drive.google.com/file/d/1xWwf2_YFDjod0mUIRl1iffj95ZemR4Q6/view?usp=sharing
- Run2_T2: https://drive.google.com/file/d/1xZnts_QRAN5Av3NbBzLzt0FybVafV7JC/view?usp=sharing
- Run2_T3: https://drive.google.com/file/d/1vy3Bry1RmAdXqMNXhwXFWZOzF6bCa7hM/view?usp=sharing
- Run2_T4: https://drive.google.com/file/d/1CeI_nxhU5_rrT2e78Jsy025t5lOmaQAd/view?usp=sharing
We utilize the lossy compressors SZ to evaluate how much AMRDPC can improve the compression ratio. In particular, we use SZ with the default mode and absolute error bound. SZ can be downloaded from the following address:
Download and install SZ into SZDir followed by the instructions provided by SZ's repo.
export SZ_HOME=SZDir
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SZ_HOME/lib
Or modify the .bashrc file directly.
- The primitive 3D baseline: Different AMR levels are unified to the same resolution for 3D compression;
- The state-of-the-art 3D compressor TAC, which involves multiple density-based strategies to process AMR data.
Examples can be found in the AMRDPC/example.
You can use the executable 'sh test.sh' command to do the compression.
Experimental results show that compared with the state-of-the-art method, AMRDPC improves the data compression ratio by up to 5.73X while ensuring high data fidelity. The data compression speed is increased by up to 18.83% without reducing the data quality.