使用「Linux 性能测试 UnixBench 一键脚本」测试,结果仅供参考。
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh
Vultr VPS
2020-12-25 测试,Vultr VPS High Frequency 1C1GB32GB NVMe 硬盘韩国首尔机房,测试结果:
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
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
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: 0xonet: GNU/Linux
OS: GNU/Linux -- 4.18.0-193.28.1.el8_2.x86_64 -- #1 SMP Thu Oct 22 00:20:22 UTC 2020
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel Core Processor (Skylake, IBRS) (7392.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
14:55:32 up 21 min, 1 user, load average: 0.38, 0.57, 0.61; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Fri Dec 25 2020 14:55:32 - 15:23:23
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 46795499.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 7322.1 MWIPS (9.0 s, 7 samples)
Execl Throughput 4760.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 749711.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 194153.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2363615.3 KBps (30.0 s, 2 samples)
Pipe Throughput 942483.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 249058.5 lps (10.0 s, 7 samples)
Process Creation 12097.5 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 6228.0 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 841.7 lpm (60.1 s, 2 samples)
System Call Overhead 566244.1 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 46795499.6 4009.9
Double-Precision Whetstone 55.0 7322.1 1331.3
Execl Throughput 43.0 4760.9 1107.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 749711.3 1893.2
File Copy 256 bufsize 500 maxblocks 1655.0 194153.5 1173.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 2363615.3 4075.2
Pipe Throughput 12440.0 942483.6 757.6
Pipe-based Context Switching 4000.0 249058.5 622.6
Process Creation 126.0 12097.5 960.1
Shell Scripts (1 concurrent) 42.4 6228.0 1468.9
Shell Scripts (8 concurrent) 6.0 841.7 1402.8
System Call Overhead 15000.0 566244.1 377.5
========
System Benchmarks Index Score 1277.2
======= Script description and score comparison completed! =======
UpCloud VPS
2020-12-25 测试,UpCloud VPS 1C1GB 新加坡机房,测试结果:
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
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
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: centos-1cpu-1gb-sg-sin1: GNU/Linux
OS: GNU/Linux -- 3.10.0-1127.19.1.el7.x86_64 -- #1 SMP Tue Aug 25 17:23:54 UTC 2020
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD EPYC 7542 32-Core Processor (5789.1 bogomips)
x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
21:42:12 up 65 days, 4:18, 1 user, load average: 0.21, 0.06, 0.06; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Fri Dec 25 2020 21:42:12 - 22:11:39
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 39263163.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3105.8 MWIPS (18.7 s, 7 samples)
Execl Throughput 4562.4 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1127885.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 317433.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2566307.6 KBps (30.0 s, 2 samples)
Pipe Throughput 1810487.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 274744.6 lps (10.0 s, 7 samples)
Process Creation 19813.2 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 7429.1 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 996.0 lpm (60.0 s, 2 samples)
System Call Overhead 2751139.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 39263163.4 3364.5
Double-Precision Whetstone 55.0 3105.8 564.7
Execl Throughput 43.0 4562.4 1061.0
File Copy 1024 bufsize 2000 maxblocks 3960.0 1127885.0 2848.2
File Copy 256 bufsize 500 maxblocks 1655.0 317433.6 1918.0
File Copy 4096 bufsize 8000 maxblocks 5800.0 2566307.6 4424.7
Pipe Throughput 12440.0 1810487.8 1455.4
Pipe-based Context Switching 4000.0 274744.6 686.9
Process Creation 126.0 19813.2 1572.5
Shell Scripts (1 concurrent) 42.4 7429.1 1752.1
Shell Scripts (8 concurrent) 6.0 996.0 1660.0
System Call Overhead 15000.0 2751139.2 1834.1
========
System Benchmarks Index Score 1650.5
======= Script description and score comparison completed! =======
BuyVM VPS
2020-12-25 测试,BuyVM VPS Las Vegas - AMD RYZEN KVM - LV RYZEN KVM 512MB,测试结果:
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
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
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: email-1.52nyn.com: GNU/Linux
OS: GNU/Linux -- 5.9.13-1.el7.elrepo.x86_64 -- #1 SMP Mon Dec 7 11:44:47 EST 2020
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD Ryzen 9 3900X 12-Core Processor (7585.7 bogomips)
x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
22:34:35 up 15 days, 6:25, 1 user, load average: 0.44, 0.10, 0.03; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Fri Dec 25 2020 22:34:35 - 23:04:34
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 38084550.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2774.8 MWIPS (21.9 s, 7 samples)
Execl Throughput 5963.3 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1085449.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 298490.4 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2842580.0 KBps (30.0 s, 2 samples)
Pipe Throughput 2035673.3 lps (10.0 s, 7 samples)
Pipe-based Context Switching 289443.8 lps (10.0 s, 7 samples)
Process Creation 17778.7 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 7852.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 1053.0 lpm (60.0 s, 2 samples)
System Call Overhead 2176747.1 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 38084550.6 3263.5
Double-Precision Whetstone 55.0 2774.8 504.5
Execl Throughput 43.0 5963.3 1386.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 1085449.9 2741.0
File Copy 256 bufsize 500 maxblocks 1655.0 298490.4 1803.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 2842580.0 4901.0
Pipe Throughput 12440.0 2035673.3 1636.4
Pipe-based Context Switching 4000.0 289443.8 723.6
Process Creation 126.0 17778.7 1411.0
Shell Scripts (1 concurrent) 42.4 7852.5 1852.0
Shell Scripts (8 concurrent) 6.0 1053.0 1754.9
System Call Overhead 15000.0 2176747.1 1451.2
========
System Benchmarks Index Score 1659.4
======= Script description and score comparison completed! =======
Amazon AWS EC2 VPS
2020-12-25 测试,Amazon AWS EC2 免费 t2.micro 实列,京东机房。测试结果:
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
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
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: ip-168-381-398-282.ap-northeast-1.compute.internal: GNU/Linux
OS: GNU/Linux -- 5.10.1-1.el7.elrepo.x86_64 -- #1 SMP Mon Dec 14 14:16:47 EST 2020
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz (4800.1 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
21:40:46 up 6 days, 11:32, 1 user, load average: 0.16, 0.03, 0.01; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Fri Dec 25 2020 21:40:46 - 22:08:50
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 31480057.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3936.8 MWIPS (9.9 s, 7 samples)
Execl Throughput 4152.5 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 544960.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 139842.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1779787.4 KBps (30.0 s, 2 samples)
Pipe Throughput 699350.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 182533.6 lps (10.0 s, 7 samples)
Process Creation 10598.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5571.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 752.5 lpm (60.0 s, 2 samples)
System Call Overhead 458726.0 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 31480057.4 2697.5
Double-Precision Whetstone 55.0 3936.8 715.8
Execl Throughput 43.0 4152.5 965.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 544960.0 1376.2
File Copy 256 bufsize 500 maxblocks 1655.0 139842.5 845.0
File Copy 4096 bufsize 8000 maxblocks 5800.0 1779787.4 3068.6
Pipe Throughput 12440.0 699350.4 562.2
Pipe-based Context Switching 4000.0 182533.6 456.3
Process Creation 126.0 10598.4 841.1
Shell Scripts (1 concurrent) 42.4 5571.8 1314.1
Shell Scripts (8 concurrent) 6.0 752.5 1254.1
System Call Overhead 15000.0 458726.0 305.8
========
System Benchmarks Index Score 973.4
======= Script description and score comparison completed! =======
Comments:0