{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,16]],"date-time":"2026-10-16T06:18:47Z","timestamp":1792131527426,"version":"4.4.0"},"reference-count":24,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM Rev."],"published-print":{"date-parts":[[2009,2,5]]},"abstract":"<jats:p>Stencil-based kernels constitute the core of many important 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. In this paper, we explore the impact of trends in memory subsystems on a variety of stencil optimization techniques and develop performance models to analytically guide our optimizations. Our work targets cache reuse methodologies across single and multiple stencil sweeps, examining cache-aware algorithms as well as cache-oblivious techniques on the Intel Itanium2, AMD Opteron, and IBM Power5. Additionally, we consider stencil computations on the heterogeneous multicore design of the Cell processor, a machine with an explicitly managed memory hierarchy. Overall our work represents one of the most extensive analyses of stencil optimizations and performance modeling to date. Results demonstrate that recent trends in memory system organization have reduced the efficacy of traditional cache-blocking optimizations. We also show that a cache-aware implementation is significantly faster than a cache-oblivious approach, while the explicitly managed memory on Cell enables the highest overall efficiency: Cell attains 88% of algorithmic peak while the best competing cache-based processor achieves only 54% of algorithmic peak performance.<\/jats:p>","DOI":"10.1137\/070693199","type":"journal-article","created":{"date-parts":[[2009,2,6]],"date-time":"2009-02-06T23:12:06Z","timestamp":1233961926000},"page":"129-159","source":"Crossref","is-referenced-by-count":168,"title":["Optimization and Performance Modeling of Stencil Computations on Modern Microprocessors"],"prefix":"10.1137","volume":"51","author":[{"given":"Kaushik","family":"Datta","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Shoaib","family":"Kamil","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Samuel","family":"Williams","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Leonid","family":"Oliker","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"John","family":"Shalf","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Katherine","family":"Yelick","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2009,2,5]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1016\/0021-9991(84)90073-1"},{"key":"R2","unstructured":"Cactus homepage\n                      , http:\/\/www.cactuscode.org (2004)."},{"key":"R3","unstructured":"The Cell Project at IBM Research\n                      , http:\/\/www.research.ibm.com\/cell\/ (2007)."},{"key":"R4","unstructured":"Chombo homepage\n                      , http:\/\/seesar.lbl.gov\/ANAG\/chombo\/, Applied Numerical Algorithms Group (ANAG), Lawrence Berkeley National Laboratory, Berkeley, CA."},{"key":"R5","doi-asserted-by":"crossref","unstructured":"M. Frigo and V. Strumpen,\n                      Cache oblivious stencil computations\n                      , in Proceedings of the 19th ACM International Conference on Supercomputing (ICS05), Boston, MA, 2005, pp. 361\u2013366.","DOI":"10.1145\/1088149.1088197"},{"key":"R6","doi-asserted-by":"crossref","unstructured":"W. Gentzsch,\n                      Vectorization of Computer Programs with Applications to Computational Fluid Dynamics\n                      , Notes on Numerical Fluid Mechanics 8, Friedr. Vieweg and Sohn, Braunschweig, Germany, 1984.","DOI":"10.1007\/978-3-322-87861-8"},{"key":"R7","doi-asserted-by":"crossref","unstructured":"S. Kamil, K. Datta, S. Williams, L. Oliker, J. Shalf, and K. Yelick,\n                      Implicit and explicit optimizations for stencil computations\n                      , in ACM SIGPLAN Workshop Memory Systems Performance and Correctness (MSPC), San Jose, CA, 2006, pp. 51\u201360.","DOI":"10.1145\/1178597.1178605"},{"key":"R8","doi-asserted-by":"crossref","unstructured":"S. Kamil, P. Husbands, L. Oliker, J. Shalf, and K. Yelick,\n                      Impact of modern memory subsystems on cache optimizations for stencil computations\n                      , in 3rd Annual ACM SIGPLAN Workshop on Memory Systems Performance, Chicago, IL, 2005, pp. 36\u201343.","DOI":"10.1145\/1111583.1111589"},{"key":"R9","doi-asserted-by":"crossref","unstructured":"C. Leopold,\n                      Tight bounds on capacity misses for 3D stencil codes\n                      , in Proceedings of the International Conference on Computational Science (Amsterdam, The Netherlands), Lecture Notes in Comput. Sci 2329, Springer, Berlin, pp. 843\u2013852.","DOI":"10.1007\/3-540-46043-8_85"},{"key":"R10","doi-asserted-by":"crossref","unstructured":"A. Lim, S. Liao, and M. Lam,\n                      Blocking and array contraction across arbitrarily nested loops using affine partitioning\n                      , in Proceedings of the ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, 2001, pp. 103\u2013112.","DOI":"10.1145\/379539.379586"},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1287\/opre.9.3.383"},{"key":"R12","unstructured":"J. McCalpin,\n                      Memory bandwidth and machine balance in current high performance computers\n                      , IEEE TCAA Newsletter, December 1995, pp. 19\u201325."},{"key":"R13","unstructured":"J. McCalpin and D. Wonnacott,\n                      Time Skewing: A Value-Based Approach to Optimizing for Memory Locality\n                      , Technical Report DCS-TR-379, Department of Computer Science, Rutgers University, 1999."},{"key":"R14","doi-asserted-by":"publisher","DOI":"10.1016\/j.paerosci.2006.02.001"},{"key":"R15","unstructured":"Performance Application Programming Interface\n                      , http:\/\/icl.cs.utk.edu\/papi\/."},{"key":"R16","doi-asserted-by":"crossref","unstructured":"G. Rivera and C. Tseng,\n                      Tiling optimizations for 3D scientific computations\n                      , in Proceedings of the ACM\/IEEE Conference on Supercomputing, Dallas, TX, 2000, article 32.","DOI":"10.1109\/SC.2000.10015"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1177\/1094342004041295"},{"key":"R18","unstructured":"G. Smith,\n                      Numerical Solution of Partial Differential Equations: Finite Difference Methods\n                      , Oxford University Press, Oxford, 2004."},{"key":"R19","doi-asserted-by":"crossref","unstructured":"Y. Song and Z. Li,\n                      New tiling techniques to improve cache temporal locality\n                      , in Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation, Atlanta, GA, 1999, pp. 215\u2013228.","DOI":"10.1145\/301618.301668"},{"key":"R20","doi-asserted-by":"crossref","unstructured":"L. N. Trefethen and D. Bau,\n                      Numerical Linear Algebra\n                      , SIAM, Philadelphia, 1997.","DOI":"10.1137\/1.9780898719574"},{"key":"R21","unstructured":"S. Venkateswaran and C. Merkle,\n                      Analysis of preconditioning methods for the Euler and Navier-Stokes equations\n                      , in VKI Lecture Series 1999-03 (Computational Fluid Dynamics), Von Karman Institute, 1999, pp. 113\u2013114."},{"key":"R22","doi-asserted-by":"crossref","unstructured":"S. Williams, J. Shalf, L. Oliker, S. Kamil, P. Husbands, and K. Yelick,\n                      The potential of the cell processor for scientific computing\n                      , in CF '06: Proceedings of the 3rd Conference on Computing Frontiers, ACM Press, New York, 2006, pp. 9\u201320.","DOI":"10.1145\/1128022.1128027"},{"key":"R23","doi-asserted-by":"publisher","DOI":"10.1007\/s10766-007-0034-5"},{"key":"R24","doi-asserted-by":"crossref","unstructured":"D. Wonnacott,\n                      Using time skewing to eliminate idle time due to memory bandwidth and network limitations\n                      , in IPDPS: International Conference on Parallel and Distributed Computing Systems, Cancun, Mexico, 2000, pp. 171\u2013180.","DOI":"10.1109\/IPDPS.2000.845979"}],"container-title":["SIAM Review"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/070693199","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,20]],"date-time":"2026-08-20T13:16:44Z","timestamp":1787231804000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/070693199"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2009,2,5]]},"references-count":24,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2009,2,5]]}},"alternative-id":["10.1137\/070693199"],"URL":"https:\/\/doi.org\/10.1137\/070693199","relation":{},"ISSN":["0036-1445","1095-7200"],"issn-type":[{"value":"0036-1445","type":"print"},{"value":"1095-7200","type":"electronic"}],"subject":[],"published":{"date-parts":[[2009,2,5]]}}}