Ubuntu18.04下UnixBench跑分

Posted 一只夫夫

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu18.04下UnixBench跑分相关的知识,希望对你有一定的参考价值。

目录

安装

UnixBench介绍

下载:https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz

阅读README文件,得知如果不需要进行图形测试或者不在图形化界面下测试,则将Makefile文件中GRAPHICS_TEST = defined注释掉,再执行:

accelerator@LAB:~/Downloads/byte-unixbench-5.1.3/UnixBench$ make

笔记本测试

笔记本型号: 华为matebook14,i5-8265u,2*4 = 8G 2133Mhz 内存

运行Run文件

accelerator@LAB:~/Downloads/byte-unixbench-5.1.3/UnixBench$ ls
Makefile  pgms  README  results  Run  src  testdir  tmp  USAGE  WRITING_TESTS
accelerator@LAB:~/Downloads/byte-unixbench-5.1.3/UnixBench$ ./Run 
make all
make[1]: Entering directory '/home/accelerator/Downloads/byte-unixbench-5.1.3/UnixBench'
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
make[1]: Leaving directory '/home/accelerator/Downloads/byte-unixbench-5.1.3/UnixBench'
sh: 1: 3dinfo: not found

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com

Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1484.

8 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

8 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

8 x Execl Throughput  1 2 3

8 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

8 x File Copy 256 bufsize 500 maxblocks  1 2 3

8 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

8 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

8 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

8 x Process Creation  1 2 3

8 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

8 x Shell Scripts (1 concurrent)  1 2 3

8 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1484.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: LAB: GNU/Linux
   OS: GNU/Linux -- 5.4.0-56-generic -- #62~18.04.1-Ubuntu SMP Tue Nov 24 10:07:50 UTC 2020
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 4: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 5: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 6: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 7: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (3600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   13:05:43 up 1 day, 15:38,  1 user,  load average: 0.83, 0.82, 1.00; runlevel 5

------------------------------------------------------------------------
Benchmark Run: 二 12月 15 2020 13:05:43 - 13:35:06
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       45872794.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3577.0 MWIPS (17.7 s, 7 samples)
Execl Throughput                               6219.3 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1330233.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          360289.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2680310.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2277098.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 269733.0 lps   (10.0 s, 7 samples)
Process Creation                               7340.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10677.0 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   4694.5 lpm   (60.0 s, 2 samples)
System Call Overhead                        2884171.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   45872794.1   3930.8
Double-Precision Whetstone                       55.0       3577.0    650.4
Execl Throughput                                 43.0       6219.3   1446.3
File Copy 1024 bufsize 2000 maxblocks          3960.0    1330233.8   3359.2
File Copy 256 bufsize 500 maxblocks            1655.0     360289.3   2177.0
File Copy 4096 bufsize 8000 maxblocks          5800.0    2680310.4   4621.2
Pipe Throughput                               12440.0    2277098.5   1830.5
Pipe-based Context Switching                   4000.0     269733.0    674.3
Process Creation                                126.0       7340.1    582.5
Shell Scripts (1 concurrent)                     42.4      10677.0   2518.2
Shell Scripts (8 concurrent)                      6.0       4694.5   7824.1
System Call Overhead                          15000.0    2884171.8   1922.8
                                                                   ========
System Benchmarks Index Score                                        1969.4

------------------------------------------------------------------------
Benchmark Run: 二 12月 15 2020 13:35:06 - 14:04:44
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables      221265386.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    22605.0 MWIPS (18.8 s, 7 samples)
Execl Throughput                              24703.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1378860.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          357507.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3942744.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             9849967.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                1162719.5 lps   (10.0 s, 7 samples)
Process Creation                              59683.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  41709.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   5960.1 lpm   (60.0 s, 2 samples)
System Call Overhead                       10025473.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  221265386.5  18960.2
Double-Precision Whetstone                       55.0      22605.0   4110.0
Execl Throughput                                 43.0      24703.6   5745.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    1378860.9   3482.0
File Copy 256 bufsize 500 maxblocks            1655.0     357507.8   2160.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    3942744.7   6797.8
Pipe Throughput                               12440.0    9849967.5   7918.0
Pipe-based Context Switching                   4000.0    1162719.5   2906.8
Process Creation                                126.0      59683.2   4736.8
Shell Scripts (1 concurrent)                     42.4      41709.2   9837.1
Shell Scripts (8 concurrent)                      6.0       5960.1   9933.5
System Call Overhead                          15000.0   10025473.0   6683.6
                                                                   ========
System Benchmarks Index Score                                        5857.1



台式机测试

CPU:i7 10700
内存:32g 2933mHz

测试结果:

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: LAB: GNU/Linux
   OS: GNU/Linux -- 5.4.0-53-generic -- #59~18.04.1-Ubuntu SMP Wed Oct 21 12:14:56 UTC 2020
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 4: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 5: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 6: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 7: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 8: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 9: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 10: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 11: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 12: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 13: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 14: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 15: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (5799.8 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   20:04:46 up 0 min,  1 user,  load average: 0.55, 0.16, 0.06; runlevel 5

------------------------------------------------------------------------
Benchmark Run: 二 12月 15 2020 20:04:46 - 20:34:45
16 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       57452986.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3621.5 MWIPS (22.0 s, 7 samples)
Execl Throughput                               6738.1 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1669692.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          439877.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4622966.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2846628.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 313934.7 lps   (10.0 s, 7 samples)
Process Creation                              18879.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5296.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   7670.0 lpm   (60.0 s, 2 samples)
System Call Overhead                        3579211.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   57452986.1   4923.1
Double-Precision Whetstone                       55.0       3621.5    658.5
Execl Throughput                                 43.0       6738.1   1567.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    1669692.1   4216.4
File Copy 256 bufsize 500 maxblocks            1655.0     439877.8   2657.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    4622966.8   7970.6
Pipe Throughput                               12440.0    2846628.7   2288.3
Pipe-based Context Switching                   4000.0     313934.7    784.8
Process Creation                                126.0      18879.3   1498.4
Shell Scripts (1 concurrent)                     42.4       5296.2   1249.1
Shell Scripts (8 concurrent)                      6.0       7670.0  12783.4
System Call Overhead                          15000.0    3579211.8   2386.1
                                                                   ========
System Benchmarks Index Score                                        2448.9

------------------------------------------------------------------------
Benchmark Run: 二 12月 15 2020 20:34:45 - 21:07:01
16 CPUs in system; running 16 parallel copies of tests

Dhrystone 2 using register variables      499631284.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    30635.0 MWIPS (35.2 s, 7 samples)
Execl Throughput                              47145.6 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1428103.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          371206.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4673416.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                            22149256.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                2572534.3 lps   (10.0 s, 7 samples)
Process Creation                             122054.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  91852.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                  13025.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        8661325.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  499631284.4  42813.3
Double-Precision Whetstone                       55.0      30635.0   5570.0
Execl Throughput                                 43.0      47145.6  10964.1
File Copy 1024 bufsize 2000 maxblocks          3960.0    1428103.0   3606.3
File Copy 256 bufsize 500 maxblocks            1655.0     371206.2   2242.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    4673416.7   8057.6
Pipe Throughput                               12440.0   22149256.8  17804.9
Pipe-based Context Switching                   4000.0    2572534.3   6431.3
Process Creation                                126.0     122054.1   9686.8
Shell Scripts (1 concurrent)                     42.4      91852.1  21663.2
Shell Scripts (8 concurrent)                      6.0      13025.4  21709.0
System Call Overhead                          15000.0    8661325.5   5774.2
                                                                   ========
System Benchmarks Index Score                                        9459.4

参考别人的跑分:Ubuntu跑分

以上是关于Ubuntu18.04下UnixBench跑分的主要内容,如果未能解决你的问题,请参考以下文章

unixbench性能测试跑分工具

Ubuntu 18.04下OpenFOAM 2.3.1安装及配置

win10系统下安装Ubuntu18.04双系统

Ubuntu 18.04 下 emscripten SDK 的安装

Ubuntu18.04下安装Python虚拟环境

ubuntu18.04下安装中文输入法