centos 服务器性能测试工具UnixBench

选取云服务器时候有时看似配置相同,但是性能上可能天壤之别。


#首先安装UnixBench
wget https://github.com/kdlucas/byte-unixbench/archive/v5.1.3.tar.gz
tar -xzvf v5.1.3.tar.gz
cd byte-unixbench-5.1.3/
cd UnixBench/
make
./Run -v

数据解读

------------------单核跑分------------------------------------------------------
Benchmark Run: Thu Feb 23 2023 13:54:06 - 14:22:20
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       25738907.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3038.2 MWIPS (9.9 s, 7 samples)
Execl Throughput                                801.8 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        236907.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           59984.7 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        837364.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                              316168.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  96003.9 lps   (10.0 s, 7 samples)
Process Creation                               4030.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   1871.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2113.1 lpm   (60.0 s, 2 samples)
System Call Overhead                         296705.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   25738907.1   2205.6
Double-Precision Whetstone                       55.0       3038.2    552.4
Execl Throughput                                 43.0        801.8    186.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     236907.8    598.3
File Copy 256 bufsize 500 maxblocks            1655.0      59984.7    362.4
File Copy 4096 bufsize 8000 maxblocks          5800.0     837364.3   1443.7
Pipe Throughput                               12440.0     316168.7    254.2
Pipe-based Context Switching                   4000.0      96003.9    240.0
Process Creation                                126.0       4030.3    319.9
Shell Scripts (1 concurrent)                     42.4       1871.8    441.5
Shell Scripts (8 concurrent)                      6.0       2113.1   3521.9
System Call Overhead                          15000.0     296705.0    197.8
                                                                   ========
System Benchmarks Index Score                                         523.8

--------------------------多核跑分----------------------------------------------
Benchmark Run: Thu Feb 23 2023 14:22:20 - 14:50:33
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables      217204741.5 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    25767.2 MWIPS (9.8 s, 7 samples)
Execl Throughput                              12988.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        382015.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          101324.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1301840.1 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2721222.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 859272.0 lps   (10.0 s, 7 samples)
Process Creation                              37615.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  22400.0 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   3184.7 lpm   (60.1 s, 2 samples)
System Call Overhead                        2197521.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  217204741.5  18612.2
Double-Precision Whetstone                       55.0      25767.2   4684.9
Execl Throughput                                 43.0      12988.6   3020.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     382015.3    964.7
File Copy 256 bufsize 500 maxblocks            1655.0     101324.0    612.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    1301840.1   2244.6
Pipe Throughput                               12440.0    2721222.8   2187.5
Pipe-based Context Switching                   4000.0     859272.0   2148.2
Process Creation                                126.0      37615.2   2985.3
Shell Scripts (1 concurrent)                     42.4      22400.0   5283.0
Shell Scripts (8 concurrent)                      6.0       3184.7   5307.8
System Call Overhead                          15000.0    2197521.6   1465.0
                                                                   ========
System Benchmarks Index Score                                        2766.8

版权声明:
作者:郭靖
链接:https://www.sxszhian.com/archives/7365
来源:上海永驰网络科技有限公司
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
< <上一篇
下一篇>>