linux下系统跑分对比

使用的软件为byte-unixbench

mawenhao 知道的这个软件

软件下载地址: 下载地址

貌似树莓派无法装这个

wget https://github.com/kdlucas/byte-unixbench/archive/master.zip
unzip master.zip
cd byte-unixbench-master/
cd UnixBench/
make
./Run

如果报错

 Can't locate Time/HiRes.pm in @INC 
(@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) 
at ./Run line 6. BEGIN failed--compilation aborted at ./Run line 6.

尝试执行

perl -MCPAN -e 'install Time::HiRes'  
#报错的话执行下面的

yum install perl-devel perl-CPAN gcc
perl -MCPAN -e shell
install Time::HiRes 
exit

笔记本I3 3110M 4G 500G

Benchmark Run: Fri Dec 09 2016 17:02:38 - 17:32:00
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       28398432.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3289.0 MWIPS (9.9 s, 7 samples)
Execl Throughput                               1593.9 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        622059.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          180780.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1520635.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1205298.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  78974.2 lps   (10.0 s, 7 samples)
Process Creation                               6274.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2985.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1484.3 lpm   (60.0 s, 2 samples)
System Call Overhead                        1882359.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28398432.5   2433.5
Double-Precision Whetstone                       55.0       3289.0    598.0
Execl Throughput                                 43.0       1593.9    370.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     622059.9   1570.9
File Copy 256 bufsize 500 maxblocks            1655.0     180780.1   1092.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1520635.2   2621.8
Pipe Throughput                               12440.0    1205298.9    968.9
Pipe-based Context Switching                   4000.0      78974.2    197.4
Process Creation                                126.0       6274.5    498.0
Shell Scripts (1 concurrent)                     42.4       2985.5    704.1
Shell Scripts (8 concurrent)                      6.0       1484.3   2473.8
System Call Overhead                          15000.0    1882359.6   1254.9
                                                                   ========
System Benchmarks Index Score                                         944.7

------------------------------------------------------------------------
Benchmark Run: Fri Dec 09 2016 17:32:00 - 18:00:52
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables       66015884.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    11238.2 MWIPS (10.0 s, 7 samples)
Execl Throughput                              10195.1 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        583307.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          155800.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1624571.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2722948.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 647403.4 lps   (10.0 s, 7 samples)
Process Creation                              32675.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  11855.0 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1615.7 lpm   (60.1 s, 2 samples)
System Call Overhead                        4275196.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   66015884.4   5656.9
Double-Precision Whetstone                       55.0      11238.2   2043.3
Execl Throughput                                 43.0      10195.1   2371.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     583307.8   1473.0
File Copy 256 bufsize 500 maxblocks            1655.0     155800.7    941.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    1624571.0   2801.0
Pipe Throughput                               12440.0    2722948.5   2188.9
Pipe-based Context Switching                   4000.0     647403.4   1618.5
Process Creation                                126.0      32675.6   2593.3
Shell Scripts (1 concurrent)                     42.4      11855.0   2796.0
Shell Scripts (8 concurrent)                      6.0       1615.7   2692.8
System Call Overhead                          15000.0    4275196.3   2850.1
                                                                   ========
System Benchmarks Index Score                                        2291.7

bandwagon搬瓦工 openvz 单核 512M

Benchmark Run: Fri Dec 09 2016 03:54:50 - 04:22:51
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       17734969.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2923.0 MWIPS (9.0 s, 7 samples)
Execl Throughput                               5331.8 lps   (29.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        648695.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          165849.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1991999.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1369916.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 266995.8 lps   (10.0 s, 7 samples)
Process Creation                              14844.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4633.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    617.0 lpm   (60.0 s, 2 samples)
System Call Overhead                        2337849.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   17734969.2   1519.7
Double-Precision Whetstone                       55.0       2923.0    531.5
Execl Throughput                                 43.0       5331.8   1240.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     648695.6   1638.1
File Copy 256 bufsize 500 maxblocks            1655.0     165849.5   1002.1
File Copy 4096 bufsize 8000 maxblocks          5800.0    1991999.9   3434.5
Pipe Throughput                               12440.0    1369916.7   1101.2
Pipe-based Context Switching                   4000.0     266995.8    667.5
Process Creation                                126.0      14844.6   1178.1
Shell Scripts (1 concurrent)                     42.4       4633.5   1092.8
Shell Scripts (8 concurrent)                      6.0        617.0   1028.4
System Call Overhead                          15000.0    2337849.8   1558.6
                                                                   ========
System Benchmarks Index Score                                        1196.0

E3 1230V2 16G 2T

Benchmark Run: 五 12月 09 2016 18:39:29 - 19:07:37
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       40433554.9 lps   (10.1 s, 7 samples)
Double-Precision Whetstone                     4534.8 MWIPS (9.9 s, 7 samples)
Execl Throughput                               2655.5 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1417596.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          373353.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3448748.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2728760.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 241820.0 lps   (10.0 s, 7 samples)
Process Creation                              18221.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  14551.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   5582.0 lpm   (60.0 s, 2 samples)
System Call Overhead                        4915346.9 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   40433554.9   3464.7
Double-Precision Whetstone                       55.0       4534.8    824.5
Execl Throughput                                 43.0       2655.5    617.6
File Copy 1024 bufsize 2000 maxblocks          3960.0    1417596.9   3579.8
File Copy 256 bufsize 500 maxblocks            1655.0     373353.4   2255.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    3448748.6   5946.1
Pipe Throughput                               12440.0    2728760.3   2193.5
Pipe-based Context Switching                   4000.0     241820.0    604.6
Process Creation                                126.0      18221.3   1446.1
Shell Scripts (1 concurrent)                     42.4      14551.6   3432.0
Shell Scripts (8 concurrent)                      6.0       5582.0   9303.3
System Call Overhead                          15000.0    4915346.9   3276.9
                                                                   ========
System Benchmarks Index Score                                        2251.8

------------------------------------------------------------------------
Benchmark Run: 五 12月 09 2016 19:07:37 - 19:35:50
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables      185442860.9 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    30160.7 MWIPS (10.0 s, 7 samples)
Execl Throughput                              28681.3 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1227139.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          320036.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3663083.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                            10845329.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                1929805.4 lps   (10.0 s, 7 samples)
Process Creation                              71901.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  54143.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   7050.8 lpm   (60.0 s, 2 samples)
System Call Overhead                       10694054.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  185442860.9  15890.6
Double-Precision Whetstone                       55.0      30160.7   5483.8
Execl Throughput                                 43.0      28681.3   6670.1
File Copy 1024 bufsize 2000 maxblocks          3960.0    1227139.3   3098.8
File Copy 256 bufsize 500 maxblocks            1655.0     320036.5   1933.8
File Copy 4096 bufsize 8000 maxblocks          5800.0    3663083.6   6315.7
Pipe Throughput                               12440.0   10845329.4   8718.1
Pipe-based Context Switching                   4000.0    1929805.4   4824.5
Process Creation                                126.0      71901.1   5706.4
Shell Scripts (1 concurrent)                     42.4      54143.1  12769.6
Shell Scripts (8 concurrent)                      6.0       7050.8  11751.3
System Call Overhead                          15000.0   10694054.4   7129.4
                                                                   ========
System Benchmarks Index Score                                        6496.2

我的另一台VPS(sentris,kvm,2 core,2g)跑分 看了还是搬瓦工靠谱些,一个核的性能就比得上sentris两个核了

   BYTE UNIX Benchmarks (Version 5.1.3)

   System: localhost.localdomain: GNU/Linux
   OS: GNU/Linux -- 4.9.0-1.el6.elrepo.x86_64 -- #1 SMP Sun Dec 11 17:29:12 EST 2016
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Common KVM processor (4600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Common KVM processor (4600.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   20:05:59 up 12 days, 20:02,  2 users,  load average: 0.25, 0.06, 0.17; runlevel 2016-12-29

------------------------------------------------------------------------
Benchmark Run: Tue Jan 10 2017 20:05:59 - 20:34:48
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       22412131.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2855.2 MWIPS (9.9 s, 7 samples)
Execl Throughput                               1931.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        412559.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          118250.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        884634.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                              968534.4 lps   (10.1 s, 7 samples)
Pipe-based Context Switching                  21279.9 lps   (10.0 s, 7 samples)
Process Creation                               3914.9 lps   (30.3 s, 2 samples)
Shell Scripts (1 concurrent)                   3334.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    718.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        1263849.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   22412131.8   1920.5
Double-Precision Whetstone                       55.0       2855.2    519.1
Execl Throughput                                 43.0       1931.6    449.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     412559.8   1041.8
File Copy 256 bufsize 500 maxblocks            1655.0     118250.4    714.5
File Copy 4096 bufsize 8000 maxblocks          5800.0     884634.0   1525.2
Pipe Throughput                               12440.0     968534.4    778.6
Pipe-based Context Switching                   4000.0      21279.9     53.2
Process Creation                                126.0       3914.9    310.7
Shell Scripts (1 concurrent)                     42.4       3334.3    786.4
Shell Scripts (8 concurrent)                      6.0        718.4   1197.4
System Call Overhead                          15000.0    1263849.8    842.6
                                                                   ========
System Benchmarks Index Score                                         645.1

------------------------------------------------------------------------
Benchmark Run: Tue Jan 10 2017 20:34:48 - 21:04:09
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       43931862.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5660.3 MWIPS (9.9 s, 7 samples)
Execl Throughput                               4601.4 lps   (29.3 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        490530.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          146868.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1353866.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1924683.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 250972.9 lps   (10.0 s, 7 samples)
Process Creation                               9542.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5684.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    726.5 lpm   (60.1 s, 2 samples)
System Call Overhead                        2017219.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   43931862.8   3764.5
Double-Precision Whetstone                       55.0       5660.3   1029.1
Execl Throughput                                 43.0       4601.4   1070.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     490530.5   1238.7
File Copy 256 bufsize 500 maxblocks            1655.0     146868.6    887.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    1353866.6   2334.3
Pipe Throughput                               12440.0    1924683.0   1547.2
Pipe-based Context Switching                   4000.0     250972.9    627.4
Process Creation                                126.0       9542.9    757.4
Shell Scripts (1 concurrent)                     42.4       5684.9   1340.8
Shell Scripts (8 concurrent)                      6.0        726.5   1210.9
System Call Overhead                          15000.0    2017219.2   1344.8
                                                                   ========
System Benchmarks Index Score                                        1266.8