arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.11268cs.DC
收藏

用有损检查点改进迭代法的性能

Improving Performance of Iterative Methods by Lossy Checkponting

Dingwen Tao, Sheng Di, Xin Liang, Zizhong Chen, Franck Cappello

摘要:

迭代法是求解大型稀疏线性方程组的常用方法,是许多现代科学模拟的基本运算。当大规模迭代法并行运行时,为了防止不可避免的失效-停止错误,需要对动态变量进行周期性检查,这就需要快速的I/O系统和大量的存储空间。为此,显著减少检查点开销对于提高迭代法的整体性能至关重要。我们的贡献是四方面的。(1)我们提出了一种新的有损检查点方案,可以显着提高检查点性能的迭代法利用有损压缩器。(2)我们制定了一个有损检查点的性能模型,并从理论上推导出一个上限的额外的迭代次数所造成的数据失真的有损检查点,以保证性能的改善下的有损检查点计划。(3)我们分析了有损检查点的影响(即,由有损检查点文件引起的额外迭代次数)。(4)We使用著名的科学计算包PETSc和最先进的检查点/重启工具包,在具有2,048个内核的高性能计算环境上评估具有最佳检查点间隔的有损检查点方案。实验结果表明,在系统发生故障时,与传统检查点算法相比,优化后的有损检查点算法可显著降低迭代法的容错开销23%~70%,与无损压缩检查点算法相比,可降低20%~58%.

英文摘要:

Iterative methods are commonly used approaches to solve large, sparse linear systems, which are fundamental operations for many modern scientific simulations. When the large-scale iterative methods are running with a large number of ranks in parallel, they have to checkpoint the dynamic variables periodically in case of unavoidable fail-stop errors, requiring fast I/O systems and large storage space. To this end, significantly reducing the checkpointing overhead is critical to improving the overall performance of iterative methods. Our contribution is fourfold. (1) We propose a novel lossy checkpointing scheme that can significantly improve the checkpointing performance of iterative methods by leveraging lossy compressors. (2) We formulate a lossy checkpointing performance model and derive theoretically an upper bound for the extra number of iterations caused by the distortion of data in lossy checkpoints, in order to guarantee the performance improvement under the lossy checkpointing scheme. (3) We analyze the impact of lossy checkpointing (i.e., extra number of iterations caused by lossy checkpointing files) for multiple types of iterative methods. (4)We evaluate the lossy checkpointing scheme with optimal checkpointing intervals on a high-performance computing environment with 2,048 cores, using a well-known scientific computation package PETSc and a state-of-the-art checkpoint/restart toolkit. Experiments show that our optimized lossy checkpointing scheme can significantly reduce the fault tolerance overhead for iterative methods by 23%~70% compared with traditional checkpointing and 20%~58% compared with lossless-compressed checkpointing, in the presence of system failures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑