skill-tree:pe:3:b
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
skill-tree:pe:3:b [2020/06/26 14:37] – [Outcomes] kai_h | skill-tree:pe:3:b [2025/04/16 18:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | # PE3-B Benchmarking | + | # PE3 Benchmarking |
- | # Background | + | Benchmarking is the activity to measure performance reliably and to assess the obtained performance. |
- | * | + | |
- | | + | A benchmark is an act of running a computer program, a set of programs, or other operations, in order to assess the relative performance of an object, normally by running a number of standard tests and trials against it. |
Such a controlled experiment is named a benchmark, but the term is also used – apparent from the context – for the program that is, or set of programs that are used for benchmarking. | Such a controlled experiment is named a benchmark, but the term is also used – apparent from the context – for the program that is, or set of programs that are used for benchmarking. | ||
Line 9: | Line 9: | ||
For HPC users measuring the performance behavior of the parallel program(s) they use is of primary importance in order to make optimal use of HPC hardware. | For HPC users measuring the performance behavior of the parallel program(s) they use is of primary importance in order to make optimal use of HPC hardware. | ||
- | # Aim | + | ## Learning Outcomes |
- | * | + | |
- | * | + | * Produce |
- | * To assess speedups | + | * Compose |
- | * To differentiate between | + | * Apply both strong and weak scaling |
- | * To assess | + | |
+ | ## Subskills | ||
- | # Outcomes | + | * [[skill-tree: |
- | | + | * [[skill-tree:pe:3:2:b]] |
- | * Differentiate types of benchmarks | + | * [[skill-tree:pe:3:3:b]] |
- | * The Linpack benchmark is used, for example, to build the TOP 500 list of the currently fastest supercomputers, | + | |
- | * For HPC users, however, synthetic tests to benchmark HPC cluster hardware (like the Linpack benchmark) are of less importance, because the emphasis lies on the determination of speedups and efficiencies of the parallel program they want to use | + | |
- | * Comrephend that benchmarking is very essential in the HPC environment and can be applied to a variety of issues | + | |
- | * What is the scalability of my program? | + | |
- | * How many cluster nodes can be maximally used, before the efficiency drops to values which are unacceptable? | + | |
- | * How does the same program perform in different cluster environments? | + | |
- | * Comprehend that benchmarking is also a basis for dealing with questions emerging from tuning, e.g. | + | |
- | * What is the appropriate task size (big vs. small) that may have a positive performance impact on my program? | + | |
- | * Is the use of hyper-threading technology advantageous? | + | |
- | * What is the best mapping of processes to nodes, pinning of processes/ | + | |
- | * What is the best compiler selection for my program (GCC, Intel, PGI, ...), in combination with the most suitable MPI environment (Open MPI, Intel MPI, ...)? | + | |
- | * What is the best compiler generation/ | + | |
- | * What are the best compiler options regarding for example the optimization level -O2, -O3, . . . , for building the executable program? | + | |
- | * Is the use of PGO (Profile Guided Optimization) or other high level optimization, | + | |
- | * What is the performance behavior after a (parallel) algorithm has been improved, i.e. to what extend are speedup, efficiency, and scalability improved? | + | |
- | * Assess speedups and efficiencies as the key measures for benchmarks of a parallel program | + | |
- | * Benchmark the runtime behaviour of parallel programs, performing controlled experiments by providing varying HPC resources (e.g. 1, 2, 4, 8, ... cores on shared memory systems or 1, 2, 4, 8, ... nodes on distributed systems for the benchmarks) | + | |
- | * Measure runtimes by the help of tools like | + | |
- | * built-in time command, e.g. for MPI programs ('time mpirun ... my-mpi-app' | + | |
- | * stand-alone ' | + | |
- | * Differentiate types of scaling | + | |
- | * **Weak scaling**: problem size increases proportional to the number of parallel processes to analyze how big may the problems be that I can solve | + | |
- | * **Strong scaling**: problem size remains the same for an increasing number of processes to analyze how fast can I solve a problem of a given size | + | |
- | * Interpret typical weak and strong scaling plots | + | |
- | # Subskills | ||
- | * [[skill-tree: |
skill-tree/pe/3/b.1593175065.txt.gz · Last modified: 2020/06/26 14:37 by kai_h