Implicit and explicit optimizations for stencil computations
Open accessThe DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
Stencil-based kernels constitute the core of many scientific applications on block-structured grids. Unfortunately, these codes achieve a low fraction of peak performance, due primarily to the disparity between processor and main memory speeds. We examine several optimizations on both the conventional cache-based memory systems of the Itanium 2, Opteron, and Power5, as well as the heterogeneous multicore design of the Cell processor. The optimizations target cache reuse across stencil sweeps, including both an implicit cache oblivious approach and a cache-aware algorithm blocked to match the cache structure. Finally, we consider stencil computations on a machine with an explicitly-managed memory hierarchy, the Cell processor. Overall, results show that a cache-aware approach is significantly faster than a cache oblivious approach and that the explicitly managed memory on Cell is more efficient: Relative to the Power5, it has almost 2x more memory bandwidth and is 3.7x faster.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Adaptive mesh refinement for hyperbolic partial differential equations
Berger, M. J., & Oliger, J. (1984) · Journal of Computational Physics · doi:10.1016/0021-9991(84)90073-1 · Cited by 2,106
Adaptive Mesh Refinement for Hyperbolic Partial Differential Equations
Berger, M. J., & Oliger, J. (1983) · doi:10.21236/ada130162 · Cited by 1,523 · cited 1×
“Stencil computations perform global sweeps through data structures that are typically much larger than the capacity of available data caches.”
BackgroundThe potential of the cell processor for scientific computing
Williams, S., Shalf, J., Oliker, L., Kamil, S., Husbands, P., & Yelick, K. (2006) · Proceedings of the 3rd conference on Computing frontiers · doi:10.1145/1128022.1128027 · Cited by 309 · cited 2×
“A 4 step time skewed version similar to the blocking algorithm developed by Sellappa and Chatterjee [9] was demonstrated in [11].”
MethodSelf-citationNew tiling techniques to improve cache temporal locality
Song, Y., & Li, Z. (1999) · Proceedings of the ACM SIGPLAN 1999 conference on Programming language design and implementation · doi:10.1145/301618.301668 · Cited by 194 · cited 1×
“More recently, Frigo et al [4] showed the potential of cache oblivious optimizations for improving stencil kernel performance.”
BackgroundFrigo, M., Leiserson, C. E., Prokop, H., & Ramachandran, S. (2012) · ACM Transactions on Algorithms · doi:10.1145/2071379.2071383 · Cited by 192
Improving locality and parallelism in nested loops
Wolf, M. E. (1992) · Cited by 157
Using time skewing to eliminate idle time due to memory bandwidth and network limitations
Wonnacott, D. (2002) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2000.845979 · Cited by 135 · cited 1×
“More recently, Frigo et al [4] showed the potential of cache oblivious optimizations for improving stencil kernel performance.”
BackgroundImpact of modern memory subsystems on cache optimizations for stencil computations
Kamil, S. A., Husbands, P., Oliker, L., Shalf, J. M., & Yelick, K. (2005) · Workshop on Memory System Performance and Correctness · doi:10.1145/1111583.1111589 · Cited by 124 · cited 2×
“Initial work by Wolf [12] showed loop skewing generally did not improve performance, but subsequent studies by McCalpin [6] et al and others [10, 13] have shown a mod-ified form of loop skewing called time skewing can improve performance for many stencil kernels.”
BackgroundSelf-citationEvaluation of Cache-based Superscalar and Cacheless Vector Architectures for Scientific Computations
Oliker, L., Canning, A., Carter, J. T., Shalf, J. M., Skinner, D. E., Ethier, S., Biswas, R., Djomehri, J., & Wijngaart, R. F. V. D. (2003) · ACM/IEEE Conference on Supercomputing (SC) · doi:10.1145/1048935.1050213 · Cited by 51
Self-citationCache-Efficient Multigrid Algorithms
Sellappa, S., & Chatterjee, S. (2004) · The International Journal of High Performance Computing Applications · doi:10.1177/1094342004041295 · Cited by 49
Research works printed but not linked: 1
- 10.5555/846234.849346 · doi:10.5555/846234.849346
Cited by
Items 101–132 of 132
Automated Scratchpad Mapping and Allocation for Embedded Processors
Gao, Y. (2014) · Scholar Commons (University of South Carolina) · Cited by 4
HW/SW co-optimization for stencil computation: Beginning with a customizable core
Li, Y., Zhang, Y., & Zheng, W. (2016) · Tsinghua Science & Technology · doi:10.1109/tst.2016.7590326 · Cited by 4
“A study of stencil optimization [20] on (single-core) cache-based platforms found that tiling optimizations were primarily effective when the problem size exceeded the on-chip cache’s capacity.”
BackgroundAutomated compiler optimization of multiple vector loads/stores
Aleen, F., Zakharin, V. P., Krishaniyer, R., Gupta, G., Kreitzer, D., & Lin, C.-S. (2016) · ACM International Conference on Computing Frontiers (CF) · doi:10.1145/2903150.2903169 · Cited by 3
Trace-Driven Memory Access Pattern Recognition in Computational Kernels
Park, E., Kartsaklis, C., Janjusic, T., & Cavazos, J. (2014) · doi:10.1145/2686745.2686748 · Cited by 3
“Kamil et al. introduces a cache-aware approach to optimize stencil computations [12].”
BackgroundMethodPerformance-reliability tradeoff analysis for multithreaded applications
Oz, I., Topcuoglu, H. R., Kandemir, M., & Tosun, O. (2012) · Design, Automation, and Test in Europe · doi:10.1109/date.2012.6176624 · Cited by 3
“The performance optimization of computations has been extensively studied and several code transformations have been developed to improve data locality in the calculations [15], [16], [17].”
Systematic Cooperation in P2P Grids
Briquet, C. (2008) · Open Repository and Bibliography (University of Liège) · Cited by 3
Seismic Imaging and the Road to Petascale Capacity: RTM and the Cell /B.E. Processor
Ortigosa, F., Cela, J. M., Araya–Polo, M., & de la Cruz, R. (2008) · EAGE Conference and Exhibition - Workshops and Fieldtrips · doi:10.3997/2214-4609.201405034 · Cited by 3
Exploiting GPU memory hierarchy for accelerating a specialized stencil computation
Balaiah, T., & Parthasarathi, R. (2017) · Concurrency and Computation Practice and Experience · doi:10.1002/cpe.4267 · Cited by 2
Tight Bounds for Low Dimensional Star Stencils in the External Memory Model
Hupp, P., & Jacob, R. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-40104-6_36 · Cited by 2
“. Hence we limit ourselves to spatial tiling. It has been observed that tiling is limited to spatial tiling in many application domains [34] and if computations should be performed between time steps [33,18]. As we are working not-in-place, we always keep two copies of the grid, one with the input values and one with…”
BackgroundInfluentialSimple, Accurate, Analytical Time Modeling and Optimal Tile Size Selection for GPGPU Stencils
Prajapati, N., Ranasinghe, W., Rajopadhye, S. V., Andonov, R., Djidjev, H. N., & Grosser, T. (2017) · ACM SIGPLAN Notices · doi:10.1145/3155284.3018744 · Cited by 2
Optimization and Performance Modeling of Stencil Computations on ARM Architectures
Zhang, K., Su, H., Zhang, P., & Dou, Y. (2020) · IEEE International Conference on High Performance Computing and Communications; IEEE International Conference on Smart City; IEEE International Conference on Data Science and Systems (HPCC/SmartCity/DSS) · doi:10.1109/hpcc-smartcity-dss50907.2020.00015 · Cited by 2
“Large amounts of optimization methods [1] [2] [3] [4] [5] [6] [7] [8] and performance model [26] have been put forward to speed the computation of it.”
MethodStrzodka, R., Shaheen, M., & Pająk, D. (2011) · ACM SIGPLAN Notices · doi:10.1145/2038037.1941596 · Cited by 1
A Data-Driven Approach for Executing the CG Method on Reconfigurable High-Performance Systems
Nowak, F., Besenfelder, I., Karl, W., Schmidtobreick, M., & Heuveline, V. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-36424-2_15 · Cited by 1
Out-of-Core Computations of High-Resolution Level Sets by Means of Code Transformation
Christensen, B. B., Nielsen, M. B., & Museth, K. (2011) · Journal of Scientific Computing · doi:10.1007/s10915-011-9488-0 · Cited by 1
“[25].”
Stencil Computations on HPC-oriented ARMv8 64-Bit Multi-Core Processor
Li, C., Dong, Y., & Li, K. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-27137-8_3 · Cited by 1
Modern Code Applied in Stencil in Edge Detection of an Image for Architecture Intel Xeon Phi KNL
Hernández-Hernández, M., Hernández-Hernández, J. L., Maldonado, E. R., & Herrera-Miranda, I. (2019) · Communications in computer and information science · doi:10.1007/978-3-030-34989-9_12 · Cited by 1
Landing Stencil Code on Godson-T
Cui, H., Wang, L., Fan, D., & Feng, X. (2010) · Journal of Computer Science and Technology · doi:10.1007/s11390-010-9373-6 · Cited by 2
“And it is also a research focus on multi/many-cores in recent years[6,8-10,13-14,22], in order to increase data locality, obtain good parallelism, balance workload and reduce memory traffic.”
BackgroundAdaptMemBench: Application-Specific MemorySubsystem BenchmarkingPreprint
Lakshminarasimhan, M., & Olschanowsky, C. M. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1812.07778 · Cited by 1
“These results confirm conclusions from previous studies [5], [9], [10] on these tiling strategies performed for serial execution.”
ResultCalculation coverage testing in scientific applications
Sato, Y. J., Hozumi, S., & Chiba, S. (2015) · International Symposium on Software Testing and Analysis · doi:10.1145/2771783.2771807
“…); ii++) 10 for ( jj=j ; jj < min( j+bs , ysize ); jj++) 11 A[ ii ][ jj ] = B[ jj ][ ii ]; Code 1: Loop tiling A calculation grouping similar to the one seen in loop tiling is also observed in optimized code of stencil computation, which exploits cache blocking [23] or time skewing [27, 26, 20, 9].”
BackgroundSolving the advection PDE on the cell broadband engine
Rokos, G., Peteinatos, G. G., Kouveli, G., Goumas, G., Kourtis, K., & Koziris, N. (2010) · IEEE International Symposium on Parallel & Distributed Processing, Workshops and Phd Forum · doi:10.1109/ipdpsw.2010.5470761 · Cited by 1
“Our tests ran on a Playstation 3 gaming console, powered by a 3.2 GHz, 6-SPE Cell Broadband Engine processor, 256 MB XDR memory, running Debian/GNU Linux – kernel version 2.6.24, loaded with Cell SDK 3.1.”
MethodInfluentialLaboratory Directed Research and Development Program FY 2006
Hansen, T. C., & USDOE, L. (2007) · OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · doi:10.2172/901211
Explicit memory management for mesh traversal
Liu, Y. (2013) · Summit (Simon Fraser University)
Leveraging performance of 3D finite difference schemes in large scientific computing simulations
de la Cruz, R. (2015) · UPCommons institutional repository (Universitat Politècnica de Catalunya) · doi:10.5821/dissertation-2117-95958 · Cited by 4
Early Experiences Running the 3d Stencil Jacobi Method in Intel Xeon Phi
Hernández-Hernández, M., García, J. M., & Cecilia, J. M. (2015)
Aceleração em Cell/B.E. da Animação de Superfícies Deformáveis
Ciências, F. D. (2010)
Portable and productive high-performance computing
Natarajan, E. P. (2017) · DSpace@MIT (Massachusetts Institute of Technology)
Analytical Cost Metrics : Days of Future Past
Los Alamos National Lab. (LANL), L. A., Prajapati, N., LDRD, USDOE, Rajopadhye, S. V., & Djidjev, H. N. (2018) · OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · doi:10.2172/1422949
Application-Specific Memory Subsystem Benchmarking
Lakshminarasimhan, M. (2019) · ScholarWorks (Boise State University) · doi:10.18122/td/1534/boisestate
“These results confirm conclusions from previous studies [28, 14, 27] on these tiling strategies performed for serial execution.”
ResultOptimizing Stencil Codes with Exploiting Data Reuse
Chang, X., Shen, L., & Wang, Q. (2021) · International Conference on Information Control, Electrical Engineering and Rail Transit (ICEERT) · doi:10.1109/iceert53919.2021.00018
Automatic Code-Generation for Accelerating Structured-Mesh-Based Explicit Numerical Solvers on FPGAs
Thileepan, B., Fahmy, S. A., & Mudalige, G. R. (2025) · International Conference on Parallel Architectures and Compilation Techniques (PACT) · doi:10.1109/pact65351.2025.00031
“Diffusion 3D [27] k 1 · The VCK5000 has faster floating point capable DSP blocks.”
A Systematic Approach for Obtaining Performance on Matrix-Like Operations
Veras, R. (2017) · KiltHub Repository · doi:10.1184/r1/6714416
Metadata
- Authors
- Kamil, S., Datta, K., Williams, S., Oliker, L., Shalf, J., & Yelick, K.
- Affiliations
- Lawrence Berkeley National Laboratory (US)
- University of California, Berkeley (US)
- Venue
- Proceedings of the 2006 workshop on Memory system performance and correctness
- Publisher
- ACM
- Published
- 2006-10-22
- Pages
- 51-60
- OpenAlex
- W2129471558
- Cited by
- 130
- References
- 11
- Citations by year
- 2026: 1 · 2025: 1 · 2024: 1 · 2023: 1 · 2021: 4 · 2020: 5 · 2019: 4 · 2018: 4 · 2017: 12 · 2016: 7 · 2015: 10 · 2014: 6 · 2013: 6 · 2012: 11
- FWCI
- 7.49
- Type
- conference paper
- Language
- en
- Open access
- green
- escholarship.org
- Locations
- eScholarship (California Digital Library) (submittedVersion)
- OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) (submittedVersion)
- Topics
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Computer Graphics and Computer-Aided Design › Computer Graphics and Visualization Techniques
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Matrix Theory and Algorithms
- Keywords
- stencil computations, cache-aware algorithms, cache-oblivious algorithms, memory hierarchy, Cell processor, multi-core processors, block-structured grids, memory bandwidth, cache reuse, Itanium 2
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.