Roofline model
are in logarithmic scale The roofline model is an intuitive visual performance model used to provide performance estimates of a given compute kernel or application running on multi-core, many-core, or accelerator processor architectures, by showing inherent hardware limitations, and potential benefit and priority of optimizations. By combining locality, bandwidth, and different parallelization paradigms into a single performance figure, the model can be an effective alternative to assess the quality of attained performance instead of using simple percent-of-peak estimates, as it provides insights on both the implementation and inherent performance limitations. The most basic roofline model... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
are in logarithmic scale The roofline model is an intuitive visual performance model used to provide performance estimates of a given compute kernel or application running on multi-core, many-core, or accelerator processor architectures, by showing inherent hardware limitations, and potential benefit and priority of optimizations. By combining locality, bandwidth, and different parallelization paradigms into a single performance figure, the model can be an effective alternative to assess the quality of attained performance instead of using simple percent-of-peak estimates, as it provides insights on both the implementation and inherent performance limitations. The most basic roofline model can be visualized by plotting floating-point performance as a function of theoretical peak compute performance, machine peak bandwidth, and arithmetic intensity. The resultant curve is effectively a performance bound under which kernel or application performance exists, and includes two platform-specific performance ceilings : a ceiling derived from the memory bandwidth and one derived from the processor's peak performance (see figure on the right). The arithmetic intensity I , also referred to as operational intensity, is the ratio of the work W to the memory traffic Q : I = {W \over Q} and denotes the number of operations per byte of memory traffic. When the work W is expressed as FLOPs, the resulting arithmetic intensity I will be the ratio of floating point operations to total data movement (FLOPs/byte). The naïve roofline is obtained by applying simple bound and bottleneck analysis. In this formulation of the roofline model, there are only two parameters, the peak performance and the peak bandwidth of the specific architecture, and one variable, the arithmetic intensity. The peak performance, in general expressed as GFLOPS, can be usually derived from benchmarking, while the peak bandwidth, that references to peak DRAM bandwidth to be specific, is instead obtained via architectural manuals. The resulting plot, in general with both axes in logarithmic scale, is then derived by the following formula: P = \min \begin{cases} \pi\\ \beta \times I \end{cases} where P is the attainable performance, \pi is the peak performance, \beta is the peak bandwidth and I is the arithmetic intensity. The point at which the performance saturates at the peak performance level \pi , that is where the diagonal and horizontal roof meet, is defined as ridge point. The ridge point offers insight on the machine's overall performance, by providing the minimum arithmetic intensity required to be able to achieve peak performance, and by suggesting at a glance the amount of effort required by the programmer to achieve peak performance. A given kernel or application is then characterized by a point given by its arithmetic intensity I (on the x-axis). The attainable performance P is then computed by drawing a vertical line that hits the roofline curve. Hence, the kernel or application is said to be memory-bound if I \leq \pi/\beta . Conversely, if I \geq \pi/\beta , the computation is said to be compute-bound. ==See also== Software performance testing Benchmark (computing) Youtube Video on how to use Intel Advisor Roofline
Cite this
"Roofline model". 1790579862. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377211339 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy