Software:LINPACK benchmarks

From HandWiki
Revision as of 14:35, 9 February 2024 by CodeMe (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Measure of a systems floating point architecture
LINPACK benchmarks
Original author(s)Jack Dongarra, Jim Bunch, Cleve Moler, and Gilbert Stewart
Initial release1979 (1979)
Websitenetlib.org/benchmark/hpl/

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 by 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.[1]

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.[2] 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.[3]

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.[4]

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.[5]

Parallel processing was also introduced in the LINPACK Parallel benchmark in the late 1980s.[2]

In 1991, the LINPACK was modified for[6] 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/3n³ + 2n² floating-point operations where n is 100, the order of the dense matrix A that defines the problem. Its small size and the lack of software flexibility doesn't 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.[2]

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't be reduced and the number of operations will always be considered to be 2/3n³ + 2n², with n = 1000.[2]

HPLinpack

The previous benchmarks are not suitable for testing parallel computers,[7] 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/3n³ + 2n² 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.[8] The accuracy must be such that the following expression is satisfied:

[math]\displaystyle{ {\lVert Ax-b\rVert\over \lVert A\rVert \lVert x\rVert n \epsilon} \leq O(1) }[/math], where [math]\displaystyle{ \epsilon }[/math] is the machine's precision, and n is the size of the problem,[9] [math]\displaystyle{ \lVert \cdot \rVert }[/math] is the matrix norm and [math]\displaystyle{ O(1) }[/math] corresponds to the big-O notation.

For each computer system, the following quantities are reported:[2]

  • 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.[1] TOP500 measures these in double-precision floating-point format (FP64). The ratio of Rmax to Rpeak is called parallel efficiency or HPL efficiency.[10] 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,[11] while Frontier achieves about 70% in 2023.[12]

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,[13] C [14] or Java.[15]

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.[16]

Coarsely, the algorithm has the following characteristics:[17][18]

  • 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

Criticism

The LINPACK benchmark is said to have succeeded because of the scalability[19] of HPLinpack, the fact that it generates a single number, making the results easily comparable and the extensive historical data base it has associated.[20] However, soon after its release, the LINPACK benchmark was criticized for providing performance levels "generally unobtainable by all but a very few programmers who tediously optimize their code for that machine and that machine alone",[21] because it only tests the resolution of dense linear systems, which are not representative of all the operations usually performed in scientific computing.[22] Jack Dongarra, the main driving force behind the LINPACK benchmarks, said that, while they only emphasize "peak" CPU speed and number of CPUs, not enough stress is given to local bandwidth and the network.[23]

Thom Dunning, Jr., director of the National Center for Supercomputing Applications, had this to say about the LINPACK benchmark: "The Linpack benchmark is one of those interesting phenomena -- almost anyone who knows about it will deride its utility. They understand its limitations but it has mindshare because it's the one number we've all bought into over the years."[24]

According to Dongarra, "the organizers of the Top500 are actively looking to expand the scope of the benchmark reporting" because "it is important to include more performance characteristic and signatures for a given system".[25] One of the possibilities that is being considered to extend the benchmark for the TOP500 is the HPC Challenge Benchmark Suite.[26] With the advent of petascale computers, traversed edges per second have started to emerge as a complementary metric to FLOPS measured by LINPACK. Another such metric is the HPCG benchmark, proposed by Dongarra.[27]

The running time issue

According to Jack Dongarra, the running time required to obtain good performance results with HPLinpack is expected to increase. At a conference held in 2010, he said he expects running times of 2.5 days in "a few years".[28]

See also

References

  1. 1.0 1.1 "The Linpack Benchmark, TOP500 Supercomputing Sites". http://www.top500.org/project/linpack. Retrieved 2015-02-10. 
  2. 2.0 2.1 2.2 2.3 2.4 Dongarra, Jack J.; Luszczek, Piotr; Petitet, Antoine (2003), "The LINPACK Benchmark: past, present and future", Concurrency and Computation: Practice and Experience (John Wiley & Sons, Ltd.) 15 (9): 803–820, doi:10.1002/cpe.728, http://www.netlib.org/utk/people/JackDongarra/PAPERS/hplpaper.pdf 
  3. Jack Dongarra interview by Sander Olson, http://nextbigfuture.com/2010/06/jack-dongarra-interview-by-sander-olson.html, retrieved 2012-01-13 
  4. Dongarra, J.J.; Moler, C.B.; Bunch, J.R.; Stewart, G.W. (1979), LINPACK: users' guide, SIAM, ISBN 9780898711721, https://books.google.com/books?id=AmSm1n3Vw0cC&q=info%3Ahttp%3A%2F%2Fs3da3171290b34600.scholar.google.com%2F0&pg=SL2-PA1 
  5. Dongarra, Jack (1988), "The LINPACK Benchmark: An explanation", Supercomputing, Lecture Notes in Computer Science, 297, Springer Berlin/Heidelberg, pp. 456–474, doi:10.1007/3-540-18991-2_27, ISBN 978-3-540-18991-6, http://www.netlib.org/utk/people/JackDongarra/PAPERS/The-LINPACK-Benchmark-An-Explanation.pdf 
  6. High Performance Linpack Benchmark, http://icl.cs.utk.edu/graphics/posters/files/SC2010-HPL.pdf, retrieved 2015-02-10 
  7. Bailey, D.H.; Barszcz, E.; Barton, J.T.; Browning, D.S.; Carter, R.L.; Dagum, L.; Fatoohi, R.A.; Frederickson, P.O. et al. (1991). "The NAS parallel benchmarks---summary and preliminary results". Proceedings of the 1991 ACM/IEEE conference on Supercomputing - Supercomputing '91. Supercomputing '91. Proceedings of the 1991 ACM/IEEE Conference. 158–165. doi:10.1145/125826.125925. ISBN 0897914597. https://ieeexplore.ieee.org/document/5348941. 
  8. "LINPACK FAQ - Can I use Strassen's Method when doing the matrix multiples in the HPL benchmark or for the Top500 run?". http://www.netlib.org/utk/people/JackDongarra/faq-linpack.html#_Can_I_use. Retrieved 2015-02-10. 
  9. "LINPACK FAQ - To what accuracy must be the solution conform?". http://www.netlib.org/utk/people/JackDongarra/faq-linpack.html#_Toc27885722. Retrieved 2015-02-10. 
  10. "High-Performance Linpack (HPL) benchmarking - Theoretical Peak Performance Rpeak". https://ulhpc-tutorials.readthedocs.io/en/latest/parallel/mpi/HPL/#theoretical-peak-performance-rpeak. 
  11. "Y-MP C916/12256". 1995-12-01. https://www.top500.org/system/172808/. 
  12. "Frontier - HPE Cray EX235a, AMD Optimized 3rd Generation EPYC 64C 2GHz, AMD Instinct MI250X, Slingshot-11". 2023-11-12. https://www.top500.org/system/180047/. 
  13. "Linpack benchmark program in Fortran". http://www.netlib.org/benchmark/linpackd. Retrieved 2015-02-10. 
  14. "Linpack benchmark program in C". http://www.netlib.org/benchmark/linpackc. Retrieved 2015-02-10. 
  15. "Linpack benchmark program in Java". http://www.netlib.org/benchmark/linpackjava. Retrieved 2015-02-10. 
  16. "HPL - A Portable Implementation of the High-Performance Linpack Benchmark for Distributed-Memory Computers". http://www.netlib.org/benchmark/hpl. Retrieved 2015-02-10. 
  17. "HPL algorithm". http://www.netlib.org/benchmark/hpl/algorithm.html. 
  18. "HPL overview". http://icl.cs.utk.edu/hpl/overview/index.html. Retrieved 2015-02-10. 
  19. "AN INTERVIEW WITH SUPERCOMPUTING LEGEND JACK DONGARRA". 2002-05-24. https://www.hpcwire.com/2002/05/24/an-interview-with-supercomputing-legend-jack-dongarra/. 
  20. Haigh, Thomas (2004). "An interview with Jack J. Dongarra". http://history.siam.org/pdfs2/Dongarra_%20returned_SIAM_copy.pdf. "LINPACK is a benchmark that people often cite because there’s such a historical data base of information there, because it’s fairly easy to run, it’s fairly easy to understand, and it captures in some sense the best and worst of programming." 
  21. Hammond, Steven (1995), Beyond Machoflops: Getting MPPs Into the Production Environment, https://opensky.ucar.edu/islandora/object/technotes:183 
  22. Gahvari, Hormozd; Hoemmen, Mark; Demmel, James; Yelick, Katherine (2006), "Benchmarking Sparse Matrix-Vector Multiply in Five Minutes", SPEC Benchmark Workshop, https://bebop.cs.berkeley.edu/pubs/gahvari2007-spmvbench-spec.pdf 
  23. Dongarra, Jack J. (2007), "The HPC Challenge Benchmark: A Candidate for Replacing Linpack in the Top500?", SPEC Benchmark Workshop, https://www.spec.org/workshops/2007/austin/slides/Keynote_Jack_Dongarra.pdf 
  24. Christopher Mims (2010-11-08). "Why China's New Supercomputer Is Only Technically the World's Fastest". https://www.technologyreview.com/2010/11/08/199100/why-chinas-new-supercomputer-is-only-technically-the-worlds-fastest/. Retrieved 2011-09-22. 
  25. Meuer, Martin (2002-05-24). "AN INTERVIEW WITH SUPERCOMPUTING LEGEND JACK DONGARRA". https://www.hpcwire.com/2002/05/24/an-interview-with-supercomputing-legend-jack-dongarra/. Retrieved 2022-12-01. 
  26. Luszczek, Piotr; Dongarra, Jack J.; Koester, David; Rabenseifner, Rolf; Lucas, Bob; Kepner, Jeremy; Mccalpin, John; Bailey, David et al. (2005), Introduction to the HPC Challenge Benchmark Suite, http://icl.cs.utk.edu/projectsfiles/hpcc/pubs/hpcc-challenge-benchmark05.pdf 
  27. Hemsoth, Nicole (June 26, 2014). "New HPC Benchmark Delivers Promising Results". HPCWire. https://www.hpcwire.com/2014/06/26/development-pushes-ahead-new-hpc-benchmark/. Retrieved 2022-12-01. 
  28. Dongarra, Jack J. (2010). "LINPACK Benchmark with Time Limits on Multicore & GPU Based Accelerators". International Supercomputing Conference. https://netlib.org/utk/people/JackDongarra/SLIDES/isc-talk-06102.pdf. 

External links