EconPapers    
Economics at your fingertips  
 

Kerncraft: A Tool for Analytic Performance Modeling of Loop Kernels

Julian Hammer (), Jan Eitzinger (), Georg Hager () and Gerhard Wellein ()
Additional contact information
Julian Hammer: Erlangen Regional Computing Center
Jan Eitzinger: Erlangen Regional Computing Center
Georg Hager: Erlangen Regional Computing Center
Gerhard Wellein: Erlangen Regional Computing Center

A chapter in Tools for High Performance Computing 2016, 2017, pp 1-22 from Springer

Abstract: Abstract Achieving optimal program performance requires deep insight into the interaction between hardware and software. For software developers without an in-depth background in computer architecture, understanding and fully utilizing modern architectures is close to impossible. Analytic loop performance modeling is a useful way to understand the relevant bottlenecks of code execution based on simple machine models. The Roofline Model and the Execution-Cache-Memory (ECM) model are proven approaches to performance modeling of loop nests. In comparison to the Roofline model, the ECM model can also describes the single-core performance and saturation behavior on a multicore chip.We give an introduction to the Roofline and ECM models, and to stencil performance modeling using layer conditions (LC). We then present Kerncraft, a tool that can automatically construct Roofline and ECM models for loop nests by performing the required code, data transfer, and LC analysis. The layer condition analysis allows to predict optimal spatial blocking factors for loop nests. Together with the models it enables an ab-initio estimate of the potential benefits of loop blocking optimizations and of useful block sizes. In cases where LC analysis is not easily possible, Kerncraft supports a cache simulator as a fallback option. Using a 25-point long-range stencil we demonstrate the usefulness and predictive power of the Kerncraft tool.

Keywords: Loop Nest; Cache Size; Cache Line; Memory Hierarchy; Layer Condition (search for similar items in EconPapers)
Date: 2017
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-3-319-56702-0_1

Ordering information: This item can be ordered from
http://www.springer.com/9783319567020

DOI: 10.1007/978-3-319-56702-0_1

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-06-08
Handle: RePEc:spr:sprchp:978-3-319-56702-0_1