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

在云上游戏化Stenomenon Dwarf以实现科学计算的民主化

Gamify Stencil Dwarf on Cloud for Democratizing Scientific Computing

Kun Li, Zhichun Li, Yuetao Chen, Zixuan Wang, Yiwei Zhang, Liang Yuan, Haipeng Jia, Yunquan Zhang, Ting Cao, Mao Yang

摘要:

摘要空间计算是各种科学计算的核心之一。如今,大多数模板驱动的科学计算仍然严重依赖于超级计算机,面临着访问成本高、可扩展性差和重复优化等问题。本文提出了俄罗斯方块,第一个系统的高性能模板异构CPU+GPU,走向民主化模板驱动的科学计算云。在俄罗斯方块中,多态平铺Tetrominoes首次提出了一个完美的空间和时间自动镶嵌不同的硬件架构和各种应用程序的上下文。Tetris算法由三个主要部分组成:(1)首先通过寄存器级的Tetrominoes捕获底层硬件特征,实现复杂的模式映射:(2)首先通过缓存/SMEM级的Tetrominoes提出一个有效的局部增强器,同时实现空间和时间维度上的数据重用;(3)提出了一种新的并发计算模型,通过内存级四元数挖掘云上存储和计算能力的全部潜力。俄罗斯方块是正交(和补充)的优化或部署的各种新兴和传统的科学计算应用程序。热扩散模拟的结果表明,性能提高了29.6倍,减少了从一天到一小时的时间成本,同时保持了原有的精度。

英文摘要:

Stencil computation is one of the most important kernels in various scientific computing. Nowadays, most Stencil-driven scientific computing still relies heavily on supercomputers, suffering from expensive access, poor scalability, and duplicated optimizations. This paper proposes Tetris, the first system for high-performance Stencil on heterogeneous CPU+GPU, towards democratizing Stencil-driven scientific computing on Cloud. In Tetris, polymorphic tiling tetrominoes are first proposed to bridge different hardware architectures and various application contexts with a perfect spatial and temporal tessellation automatically. Tetris is contributed by three main components: (1) Underlying hardware characteristics are first captured to achieve a sophisticated Pattern Mapping by register-level tetrominoes; (2) An efficient Locality Enhancer is first presented for data reuse on spatial and temporal dimensions simultaneously by cache/SMEM-level tetrominoes; (3) A novel Concurrent Scheduler is first designed to exploit the full potential of on-cloud memory and computing power by memory-level tetrominoes. Tetris is orthogonal to (and complements) the optimizations or deployments for a wide variety of emerging and legacy scientific computing applications. Results of thermal diffusion simulation demonstrate that the performance is improved by 29.6x, reducing time cost from day to hour, while preserving the original accuracy.

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

↑