ArticleslgStudy

computer science

LINPACK benchmarks

LINPACK benchmarks is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand LINPACK benchmarks rather than just read about it. In short: The LINPACK benchmarks are a measure of a system's floating-point computing power. Introduced by Jack Dongarra, they measure how fast a computer solves a dense n × n system of linear equations Ax = b, which is a common task in engineering.

Key takeaways

  • LINPACK benchmarks belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect LINPACK benchmarks to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of LINPACK benchmarks from memory before moving on to harder problems.

Reference excerpt

The LINPACK benchmarks are a measure of a system's floating-point computing power. Introduced by Jack Dongarra, they measure how fast a computer solves a dense n × n system of linear equations Ax = b, which is a common task in engineering. The latest version of these benchmarks is used to build the TOP500 list, ranking the world's most powerful supercomputers. The aim is to approximate how fast a computer will perform when solving real problems. It is a simplification, since no single computational task can reflect the overall performance of a computer system. Nevertheless, the LINPACK benchmark performance can provide a good correction over the peak performance provided by the manufacturer. The peak performance is the maximal theoretical performance a computer can achieve, calculated as the machine's frequency, in cycles per second, times the number of operations per cycle it can perform. The actual performance will always be lower than the peak performance. The performance of a computer is a complex issue that depends on many interconnected variables. The performance measured by the LINPACK benchmark consists of the number of 64-bit floating-point operations, generally additions and multiplications, a computer can perform per second, also known as FLOPS. However, a computer's performance when running actual applications is likely to be far behind the maximal performance it achieves running the appropriate LINPACK benchmark. The name of these benchmarks comes from the LINPACK package, a collection of algebra Fortran subroutines widely used in the 1980s, and initially tightly linked to the LINPACK benchmark. The LINPACK package has since been replaced by other libraries.

History The LINPACK benchmark report appeared first in 1979 as an appendix to the LINPACK user's manual. LINPACK was designed to help users estimate the time required by their systems to solve a problem using the LINPACK package, by extrapolating the performance results obtained by 23 different computers solving a matrix problem of size 100. This matrix size was chosen due to memory and CPU limitations at that time:

10,000 floating-point entries from −1 to 1 are randomly generated to fill in a general dense matrix, then LU decomposition with partial pivoting is used for the timing. Over the years, additional versions with different problem sizes, like matrices of order 300 and 1000, and constraints were released, allowing new optimization opportunities as hardware architectures started to implement matrix–vector and matrix–matrix operations. Parallel processing was also introduced in the LINPACK parallel benchmark in the late 1980s. In 1991, the LINPACK was modified for solving problems of arbitrary size, enabling high-performance computers (HPC) to get near to their asymptotic performance. Two years later this benchmark was used for measuring the performance of the first TOP500 list.

The benchmarks

LINPACK 100 LINPACK 100 is very similar to the original benchmark published in 1979 along with the LINPACK users' manual. The solution is obtained by Gaussian elimination with partial pivoting, with 2/3n3+2n2 floating-point operations, where n = 100 is the order of the dense matrix A that defines the problem. Its small size and the lack of software flexibility does not allow most modern computers to reach their performance limits. However, it can still be useful to predict performances in numerically intensive user-written code using compiler optimization.

LINPACK 1000 LINPACK 1000 can provide a performance nearer to the machine's limit because in addition to offering a bigger problem size, a matrix of order 1000. Changes in the algorithm are possible. The only constraints are that the relative accuracy can not be reduced and the number of operations will always be considered to be 2/3n3+2n2, with n = 1000.

HPLinpack The previous benchmarks are not suitable for testing parallel computers, and the so-called Linpack's Highly Parallel Computing benchmark, or HPLinpack benchmark, was introduced. In HPLinpack the size n of the problem can be made as large as it is needed to optimize the performance results of the machine. Once again, 2/3n3+2n2 will be taken as the operation count, with independence of the algorithm used. Use of the Strassen algorithm is not allowed because it distorts the real execution rate. The accuracy must be such that the following expression is satisfied:

‖Ax−b‖∞(‖A‖∞‖x‖∞+‖b‖∞)nϵ≤O(1), where

ϵ is the machine's precision, n is the size of the problem, ‖⋅‖∞ is a matrix norm (largest row sum ), O(1) corresponds to the big-O notation. For each computer system, the following quantities are reported:

Rmax – the performance in GFLOPS for the largest problem run on a machine. Nmax – the size of the largest problem run on a machine. N1/2 – the size where half the Rmax execution rate is achieved. Rpeak – the theoretical peak performance GFLOPS for the machine. These results are used to compile the TOP500 list twice a year, with the world's most powerful computers. TOP500 measures these in double-precision floating-point format (FP64). The ratio Rmax/Rpeak is called parallel efficiency or HPL efficiency. It is typically lower the more nodes a system has due to communication overhead. For example, a 1990s Cray Y-MP achieves about 90% HPL efficiency, while Frontier achieves about 70% in 2023.

LINPACK benchmark implementations The previous section describes the ground rules for the benchmarks. The actual implementation of the program can diverge, with some examples being available in Fortran, C or Java.

HPL HPL is a portable implementation of HPLinpack that was written in C, originally as a guideline, but that is now widely used to provide data for the TOP500 list, though other technologies and packages can be used. HPL generates a linear system of equations of order n and solves it using LU decomposition with partial row pivoting. It requires installed implementations of MPI and either BLAS or VSIPL to run. Coarsely, the algorithm has the following characteristics:

cyclic data distribution in 2D blocks LU factorization using the right-looking variant with various depths of look-ahead recursive panel factorization six different panel broadcasting variants bandwidth-reducing swap–broadcast algorithm backward substitution with look-ahead of depth 1

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with LINPACK benchmarks

Start with the simplest possible case. Write down what LINPACK benchmarks claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to LINPACK benchmarks before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about LINPACK benchmarks ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of LINPACK benchmarks

In research
LINPACK benchmarks appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses LINPACK benchmarks in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
LINPACK benchmarks is common in secondary-school and first-year university syllabi. It links to neighbouring topics Supercomputer benchmarks, so understanding it makes those chapters shorter.
In everyday life
Look for LINPACK benchmarks outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “LINPACK benchmarks” →

How to study LINPACK benchmarks in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what LINPACK benchmarks means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain LINPACK benchmarks out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is LINPACK benchmarks in simple terms?

The LINPACK benchmarks are a measure of a system's floating-point computing power. Introduced by Jack Dongarra, they measure how fast a computer solves a dense n × n system of linear equations Ax = b, which is a common task in engineering.

Why does LINPACK benchmarks matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study LINPACK benchmarks?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on LINPACK benchmarks.

Tags

  • Supercomputer benchmarks

Keep exploring