geerlingguy/top500-benchmark

Benchmark Raspberry Pi Zero 2 W

geerlingguy opened this issue · 2 comments

I would like to see if I can get numbers for a Pi Zero 2 W...

See: geerlingguy/sbc-reviews#43

Huh, the benchmark was giving me scores of 0, then I realized I have all my memtotal calculations based on "gigabytes", and in a couple places I filter with | int. If the total is less than 0.5 GB, then those values turn to 0, and the Pi will just calculate Ns of 0 which is obviously quite wrong :)

So I've manually calculated, based on the 512 MB of RAM, Ns: "7372", and now it seems to actually be running the benchmark. It could be a while...

0.3703 Gflops at 2.1W = .176 Gflop/W

================================================================================
HPLinpack 2.3  --  High-Performance Linpack benchmark  --   December 2, 2018
Written by A. Petitet and R. Clint Whaley,  Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :    7372
NB     :     256
PMAP   : Row-major process mapping
P      :       1
Q      :       4
PFACT  :   Right
NBMIN  :       4
NDIV   :       2
RFACT  :   Crout
BCAST  :  1ringM
DEPTH  :       1
SWAP   : Mix (threshold = 64)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR11C2R4        7372   256     1     4             721.61             3.7025e-01
HPL_pdgesv() start time Fri May 17 12:14:30 2024

HPL_pdgesv() end time   Fri May 17 12:26:31 2024

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=   4.23528446e-03 ...... PASSED
================================================================================

Finished      1 tests with the following results:
              1 tests completed and passed residual checks,
              0 tests completed and failed residual checks,
              0 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.
================================================================================