{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,27]],"date-time":"2026-06-27T07:12:45Z","timestamp":1782544365714,"version":"3.54.5"},"reference-count":39,"publisher":"SAGE Publications","issue":"4","license":[{"start":{"date-parts":[[2018,5,10]],"date-time":"2018-05-10T00:00:00Z","timestamp":1525910400000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"funder":[{"name":"Bayerische Kompetenznetzwerk f\u00fcr Technisch-Wissenschaftliches Hoch- und H\u00f6chstleistungsrechnen","award":["High performance finite difference stencils for mo"],"award-info":[{"award-number":["High performance finite difference stencils for mo"]}]}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["The International Journal of High Performance Computing Applications"],"published-print":{"date-parts":[[2019,7]]},"abstract":"<jats:p>This work investigates the application and interaction of optimization techniques and performance models in a computational fluid dynamics (CFD) approach employing an OpenMP parallelized, explicit, weakly compressible, finite difference\u2013based solver for the incompressible Navier\u2013Stokes equations using a five-point wide stencil. The presented loop and stencil optimizations lead to a 6.8\u00d7 increase in per core throughput. In order to verify optimal CPU utilization, performance models are applied to the tuned code. Three different performance models are considered: a roofline-based model, utilizing purely theoretical figures, one which is enhanced by measurements, and the execution cache memory model. It is shown that the models provide reliable estimates for simple benchmarks, such as seven-point stencils for scalar Laplacians, but the estimate quality is significantly worse for the complex and tuned stencil. While it is possible to include even more details in the model, it eventually leads to a state in which it purely reproduces the benchmarks from which it was derived. Thus, the applied general-purpose performance models are found to inaccurately predict the actual performance. They overestimate the achievable performance by more than about 97% for highly tuned code. Through further code tuning, 66% of the predicted performance could be achieved.<\/jats:p>","DOI":"10.1177\/1094342018774126","type":"journal-article","created":{"date-parts":[[2018,5,10]],"date-time":"2018-05-10T22:14:19Z","timestamp":1525990459000},"page":"602-618","update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":7,"title":["Practical applicability of optimizations and performance models to complex stencil-based loop kernels in CFD"],"prefix":"10.1177","volume":"33","author":[{"given":"Karl-Robert","family":"Wichmann","sequence":"first","affiliation":[{"name":"Institute for Computational Mechanics, Technical University of Munich, Garching b. M\u00fcnchen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8406-835X","authenticated-orcid":false,"given":"Martin","family":"Kronbichler","sequence":"additional","affiliation":[{"name":"Institute for Computational Mechanics, Technical University of Munich, Garching b. M\u00fcnchen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rainald","family":"L\u00f6hner","sequence":"additional","affiliation":[{"name":"Center for Computational Fluid Dynamics, George Mason University, Fairfax, VA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wolfgang A","family":"Wall","sequence":"additional","affiliation":[{"name":"Institute for Computational Mechanics, Technical University of Munich, Garching b. M\u00fcnchen, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"179","published-online":{"date-parts":[[2018,5,10]]},"reference":[{"key":"bibr1-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/ICPP.2009.38"},{"key":"bibr2-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1016\/0743-7315(88)90002-0"},{"key":"bibr3-1094342018774126","volume-title":"Fourth-order 2N-storage Runge-Kutta schemes. Technical Report NASA-TM-109112","author":"Carpenter MH","year":"1994"},{"key":"bibr4-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1145\/197320.197366"},{"key":"bibr5-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1002\/cpe.646"},{"key":"bibr6-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1016\/0021-9991(67)90037-X"},{"key":"bibr7-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1137\/070693199"},{"key":"bibr8-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1145\/2591006"},{"key":"bibr9-1094342018774126","unstructured":"Fog A (2016)Instruction tables. Available at: http:\/\/www.agner.org\/optimize\/instruction_tables.pdf (accessed 1 December 2016)."},{"key":"bibr10-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1002\/cpe.3180"},{"key":"bibr11-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-30695-7_16"},{"key":"bibr12-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-32149-3_7"},{"key":"bibr13-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-58667-0_16"},{"key":"bibr14-1094342018774126","unstructured":"Intel Coporation (2013) Intel Architecture Code Analyzer, version 2.1. Available at: https:\/\/software.intel.com\/en-us\/articles\/intel-architecture-code-analyzer (accessed 1 December 2016)."},{"key":"bibr15-1094342018774126","unstructured":"Intel Corporation (2016a) Intel 64 and ia-32 architectures optimization reference manual. Available at: http:\/\/www.intel.com\/content\/www\/us\/en\/architecture-and-technology\/64-ia-32-architectures-optimization-manual.html (accessed 1 June 2016)."},{"key":"bibr16-1094342018774126","unstructured":"Intel Corporation (2016b) Intel Xeon processor E5-2690 v4 (35 M cache, 2.60 GHz) specifications. Available at: http:\/\/ark.intel.com\/products\/91770\/Intel-Xeon-Processor-E5-2690-v4-35M-Cache-2_60-GHz (accessed 1 November 2016)."},{"key":"bibr17-1094342018774126","unstructured":"Intel Corporation (2017) Intel intrinsics guide, version 2.8. Available at: https:\/\/software.intel.com\/en-us\/comment\/1758892 (accessed 1 March 2017)."},{"key":"bibr18-1094342018774126","doi-asserted-by":"publisher","DOI":"10.2514\/6.1981-1259"},{"key":"bibr19-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/IPDPS.2010.5470421"},{"key":"bibr20-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1142\/S0129626414410047"},{"key":"bibr21-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1145\/106973.106981"},{"key":"bibr22-1094342018774126","doi-asserted-by":"publisher","DOI":"10.2514\/6.2014-1439"},{"key":"bibr23-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1145\/357783.331677"},{"key":"bibr24-1094342018774126","unstructured":"McCalpin JD (2007) Sustainable memory bandwidth in high performance computers. Technical report, University of Virgina. Available at: https:\/\/www.cs.virginia.edu\/stream\/ (accessed 25 April 2013)."},{"key":"bibr25-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/12.752655"},{"key":"bibr26-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/SC.2000.10015"},{"key":"bibr27-1094342018774126","volume-title":"Scientific Supercomputing: Architecture and Use of Shared and Distributed Memory Parallel Computers","author":"Sch\u00f6nauer W","year":"2000"},{"key":"bibr28-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1145\/2751205.2751240"},{"key":"bibr29-1094342018774126","first-page":"13","volume-title":"8th international conference, PPAM 2009","author":"Treibig J","year":"2010"},{"key":"bibr30-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/ICPPW.2010.38"},{"key":"bibr31-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/TVCG.2010.251"},{"key":"bibr32-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1016\/j.compfluid.2005.02.008"},{"key":"bibr33-1094342018774126","author":"Wichmann KR","year":"2017","journal-title":"International Journal for Numerical Methods in Fluids"},{"key":"bibr34-1094342018774126","volume-title":"Roofline: An Insightful Visual Performance Model for Floating-Point Programs and Multicore Architectures. Technical Report UCB\/EECS-2008-134, EECS Department","author":"Williams SW","year":"2008"},{"key":"bibr35-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1016\/0021-9991(80)90033-9"},{"key":"bibr36-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1016\/j.camwa.2012.05.002"},{"key":"bibr37-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1145\/76263.76337"},{"key":"bibr38-1094342018774126","doi-asserted-by":"publisher","DOI":"10.1109\/HPCC-CSS-ICESS.2015.27"},{"key":"bibr39-1094342018774126","unstructured":"Yount C (2017) YASK\u2014yet another stencil kernel. Available at: https:\/\/github.com\/01org\/yask (accessed 20 March 2017)."}],"container-title":["The International Journal of High Performance Computing Applications"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.1177\/1094342018774126","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.1177\/1094342018774126","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.1177\/1094342018774126","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T08:15:43Z","timestamp":1777450543000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.1177\/1094342018774126"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,5,10]]},"references-count":39,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2019,7]]}},"alternative-id":["10.1177\/1094342018774126"],"URL":"https:\/\/doi.org\/10.1177\/1094342018774126","relation":{},"ISSN":["1094-3420","1741-2846"],"issn-type":[{"value":"1094-3420","type":"print"},{"value":"1741-2846","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,5,10]]}}}