In-Core Optimization of High-Order Stencil Computations.

Hikmet Dursun, Ken‐ichi Nomura, Weiqiang Wang, Manaschai Kunaseth, Peng Liu, Richard J. Seymour, Rajiv K. Kalia, Aiichiro Nakano, Priya D. Vashishta · 2009

In this paper, we apply in-core optimization techniques to high-order stencil computations, including: (1) cache blocking for efficient L2 cache use; (2) register blocking and data-level parallelism via single-instruction multipledata (SIMD) techniques to increase L1 cache efficiency; and (3) software prefetching techniques. Our generic approach is tested with a kernel extracted from a 6 th-order stencil based seismic wave propagation code on a suite of Intel Xeon architectures. Cache blocking and prefetching techniques are found to achieve modest performance improvement, whereas register blocking and SIMD implementation reduce L1 cache line miss dramatically accompanied by moderate decrease in L2 cache miss rate. Optimal register blocking sizes are determined through analysis of cache performance of the stencil kernel for different sizes of register blocks, thereby achieving over 4.3fold speedup on Intel Harpertown. We also examine lower precision (3 rd, 4 th, and 5 th orders) stencil computations to analyze the dependency of data-level parallel efficiency on the stencil order. 1.

Read the paper · More papers on PaperTik