CPU性能测试工具-Linpack

简介:

Linpack是我们常用的CPU性能测试程序。它通过计算双精度线性方程组的求解来测试CPU的运算能力。Intel MKL提供一个优化版本的Intel® Optimized LINPACK Benchmark,通过运行这个程序,我们可以方便进行CPU的基准性能测试。

Intel® Optimized LINPACK Benchmark是根据LINPACK 1000 benchmark优化后的程序。程序根据用户指定的参数生成一个线性的方程组,通过方程的求解时间与计算量,来计算CPU的浮点性能。 

 

配置解析:

配置文件:

Sample Intel(R) Optimized LINPACK Benchmark data file (lininput_xeon32)
Intel(R) Optimized LINPACK Benchmark data
1     # number of tests 测试的方程组数量
5511  # number of equations (problem sizes) 方程的数量
5511  # leading dimensions 矩阵的主维度
10    # number of times to run a test (trials) 运行的次数
4     # alignment values (in KBytes) 内存地址对齐值

 

测试过程:

linpack_11.1.2/benchmarks/linpack/xlinpack_xeon64

结果解析:

 

Intel(R) Optimized LINPACK Benchmark data

Current date/time: Wed Jun 19 16:30:36 2019

CPU frequency:    0.795 GHz
Number of CPUs: 2
Number of cores: 20
Number of threads: 40

Parameters are set to:

Number of tests: 1
Number of equations to solve (problem size) : 5511
Leading dimension of array                  : 5511
Number of trials to run                     : 10
Data alignment value (in Kbytes)            : 4

Maximum memory requested that can be used=243083284, at the size=5511

=================== Timing linear equation system solver ===================

Size   LDA    Align. Time(s)    GFlops   Residual     Residual(norm) Check
5511   5511   4      1.463      76.2963  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.255      88.9343  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.418      78.7118  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.286      86.7912  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.433      77.9163  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.236      90.3218  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.522      73.3548  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.343      83.1036  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.402      79.6433  1.765377e-11 2.038689e-02   pass
5511   5511   4      1.447      77.1696  1.765377e-11 2.038689e-02   pass

Performance Summary (GFlops)

Size   LDA    Align.  Average  Maximal
5511   5511   4       81.2243  90.3218

Residual checks PASSED

End of tests

 

关键指标:

Average GFlops(每秒10亿次的浮点运算数)

你可能感兴趣的:(测试)