主机、服务器测评
服务器促销信息及建站资源分享

常用Linux系统服务器综合性能跑分测试工具_一键UnixBench跑分脚本_UnixBench跑分使用教程

在我们购买服务器过程当中,经常遇到是Linux系统的服务器产品。特别是国外商家,有些虚拟服务器云服务器就只有Linux系统可以选择!对于Linux系统的服务器我们如何才能知道它们的性能怎么样?目前比较广泛的就是使用UnixBench来进行跑分测试,一般得分越高性能就越好!关于UnixBench跑分,其实网络当中已经有很多使用教程了,这里主机玖玖为大家介绍一款一键UnixBench跑分测试脚本,只需一段命名就能完成UnixBench跑分测试。

常用Linux系统服务器综合性能跑分测试工具_一键UnixBench跑分脚本_UnixBench跑分使用教程插图

一、UnixBench一键跑分脚本

UnixBench跑分测试时间比较长,一般是30分钟左右,测试时间长短与服务器性能有很大关系!目前脚本使用的UnixBench 5.1.3版本!

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh

主机玖玖脚本备份

wget --no-check-certificate https://raw.githubusercontent.com/zhuji9999/UnixBench/master/unixbench.sh
chmod +x unixbench.sh 
./unixbench.sh

 

二、UnixBench跑分测试测试结果展示

1、UnixBench跑分脚本使用教程。如下图就可以解决了。

常用Linux系统服务器综合性能跑分测试工具_一键UnixBench跑分脚本_UnixBench跑分使用教程插图1

2、UnixBench跑分完成后测试结果显示如下:

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

   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


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

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

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

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

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

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

2 x Process Creation  1 2 3

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

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

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

   System: cloud: GNU/Linux
   OS: GNU/Linux -- 3.10.0-957.10.1.el7.x86_64 -- #1 SMP Mon Mar 18 15:06:45 UTC 2019
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Common KVM processor (4800.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Common KVM processor (4800.0 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   20:21:18 up 57 min,  2 users,  load average: 1.91, 2.84, 1.50; runlevel 3

------------------------------------------------------------------------
Benchmark Run: 六 7月 25 2020 20:21:18 - 20:49:28
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       28413067.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3591.7 MWIPS (10.0 s, 7 samples)
Execl Throughput                               2038.8 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        492557.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          135191.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1202076.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                              699671.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 109551.7 lps   (10.0 s, 7 samples)
Process Creation                               6602.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4690.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    990.0 lpm   (60.1 s, 2 samples)
System Call Overhead                         671323.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   28413067.5   2434.7
Double-Precision Whetstone                       55.0       3591.7    653.0
Execl Throughput                                 43.0       2038.8    474.1
File Copy 1024 bufsize 2000 maxblocks          3960.0     492557.9   1243.8
File Copy 256 bufsize 500 maxblocks            1655.0     135191.0    816.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    1202076.4   2072.5
Pipe Throughput                               12440.0     699671.3    562.4
Pipe-based Context Switching                   4000.0     109551.7    273.9
Process Creation                                126.0       6602.1    524.0
Shell Scripts (1 concurrent)                     42.4       4690.1   1106.2
Shell Scripts (8 concurrent)                      6.0        990.0   1649.9
System Call Overhead                          15000.0     671323.4    447.5
                                                                   ========
System Benchmarks Index Score                                         828.5

------------------------------------------------------------------------
Benchmark Run: 六 7月 25 2020 20:49:28 - 21:17:40
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       56514181.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7251.5 MWIPS (9.9 s, 7 samples)
Execl Throughput                               4540.3 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        857958.9 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          229553.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2327514.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1398845.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 218230.2 lps   (10.0 s, 7 samples)
Process Creation                              13065.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7174.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1000.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        1233322.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   56514181.8   4842.7
Double-Precision Whetstone                       55.0       7251.5   1318.5
Execl Throughput                                 43.0       4540.3   1055.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     857958.9   2166.6
File Copy 256 bufsize 500 maxblocks            1655.0     229553.7   1387.0
File Copy 4096 bufsize 8000 maxblocks          5800.0    2327514.3   4013.0
Pipe Throughput                               12440.0    1398845.7   1124.5
Pipe-based Context Switching                   4000.0     218230.2    545.6
Process Creation                                126.0      13065.6   1036.9
Shell Scripts (1 concurrent)                     42.4       7174.7   1692.1
Shell Scripts (8 concurrent)                      6.0       1000.3   1667.2
System Call Overhead                          15000.0    1233322.0    822.2
                                                                   ========
System Benchmarks Index Score                                        1490.2



======= Script description and score comparison completed! ======= 
赞(0)
聲明:
1、本博客不從事任何主機及服務器租賃業務,不參與任何交易,也絕非中介。博客內容僅記錄博主個人感興趣的服務器測評結果及一些服務器相關的優惠活動,信息均摘自網絡或來自服務商主動提供;所以對本博客提及的內容不作直接、間接、法定、約定的保證,博客內容也不具備任何參考價值及引導作用,訪問者需自行甄別。

2、訪問本博客請務必遵守有關互聯網的相關法律、規定與規則;不能利用本博客所提及的內容從事任何違法、違規操作;否則造成的一切後果由訪問者自行承擔。

3、未成年人及不能獨立承擔法律責任的個人及群體請勿訪問本博客。

4、一旦您訪問本博客,即表示您已經知曉並接受了以上聲明通告。

文章名稱:《常用Linux系统服务器综合性能跑分测试工具_一键UnixBench跑分脚本_UnixBench跑分使用教程》
文章鏈接:https://www.zhuji999.com/1467.html