|
楼主 |
发表于 2021-3-19 23:55:40
|
显示全部楼层
本帖最后由 Waylon 于 2021-3-20 07:22 编辑
三、UnixBench
wget --no-check-certificate https://github.com/zq/unixbench/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh
- # # # # # # # ##### ###### # # #### # #
- # # ## # # # # # # # ## # # # # #
- # # # # # # ## ##### ##### # # # # ######
- # # # # # # ## # # # # # # # # #
- # # # ## # # # # # # # ## # # # #
- #### # # # # # ##### ###### # # #### # #
- 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
- 4 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
- 4 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
- 4 x Execl Throughput 1 2 3
- 4 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
- 4 x File Copy 256 bufsize 500 maxblocks 1 2 3
- 4 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
- 4 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
- 4 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
- 4 x Process Creation 1 2 3
- 4 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
- 4 x Shell Scripts (1 concurrent) 1 2 3
- 4 x Shell Scripts (8 concurrent) 1 2 3
- ========================================================================
- BYTE UNIX Benchmarks (Version 5.1.3)
- System: C20210319222707: GNU/Linux
- OS: GNU/Linux -- 4.9.215-36.el7.x86_64 -- #1 SMP Mon Mar 2 11:42:52 UTC 2020
- Machine: x86_64 (x86_64)
- Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
- CPU 0: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
- CPU 1: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
- CPU 2: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
- CPU 3: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5200.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
- 23:56:09 up 21 min, 1 user, load average: 0.73, 1.30, 0.67; runlevel 3
- ------------------------------------------------------------------------
- Benchmark Run: Fri Mar 19 2021 23:56:09 - 00:24:17
- 4 CPUs in system; running 1 parallel copy of tests
- Dhrystone 2 using register variables 32810242.9 lps (10.0 s, 7 samples)
- Double-Precision Whetstone 4182.7 MWIPS (9.9 s, 7 samples)
- Execl Throughput 1875.7 lps (30.0 s, 2 samples)
- File Copy 1024 bufsize 2000 maxblocks 365257.3 KBps (30.0 s, 2 samples)
- File Copy 256 bufsize 500 maxblocks 96442.2 KBps (30.0 s, 2 samples)
- File Copy 4096 bufsize 8000 maxblocks 1015636.7 KBps (30.0 s, 2 samples)
- Pipe Throughput 604765.3 lps (10.0 s, 7 samples)
- Pipe-based Context Switching 48500.0 lps (10.0 s, 7 samples)
- Process Creation 4175.0 lps (30.0 s, 2 samples)
- Shell Scripts (1 concurrent) 4576.8 lpm (60.0 s, 2 samples)
- Shell Scripts (8 concurrent) 1598.8 lpm (60.0 s, 2 samples)
- System Call Overhead 450016.7 lps (10.0 s, 7 samples)
- System Benchmarks Index Values BASELINE RESULT INDEX
- Dhrystone 2 using register variables 116700.0 32810242.9 2811.5
- Double-Precision Whetstone 55.0 4182.7 760.5
- Execl Throughput 43.0 1875.7 436.2
- File Copy 1024 bufsize 2000 maxblocks 3960.0 365257.3 922.4
- File Copy 256 bufsize 500 maxblocks 1655.0 96442.2 582.7
- File Copy 4096 bufsize 8000 maxblocks 5800.0 1015636.7 1751.1
- Pipe Throughput 12440.0 604765.3 486.1
- Pipe-based Context Switching 4000.0 48500.0 121.2
- Process Creation 126.0 4175.0 331.4
- Shell Scripts (1 concurrent) 42.4 4576.8 1079.4
- Shell Scripts (8 concurrent) 6.0 1598.8 2664.6
- System Call Overhead 15000.0 450016.7 300.0
- ========
- System Benchmarks Index Score 703.9
- ------------------------------------------------------------------------
- Benchmark Run: Sat Mar 20 2021 00:24:17 - 00:52:27
- 4 CPUs in system; running 4 parallel copies of tests
- Dhrystone 2 using register variables 127629834.7 lps (10.0 s, 7 samples)
- Double-Precision Whetstone 16467.1 MWIPS (10.0 s, 7 samples)
- Execl Throughput 9777.9 lps (30.0 s, 2 samples)
- File Copy 1024 bufsize 2000 maxblocks 641687.6 KBps (30.0 s, 2 samples)
- File Copy 256 bufsize 500 maxblocks 175551.2 KBps (30.0 s, 2 samples)
- File Copy 4096 bufsize 8000 maxblocks 1975358.1 KBps (30.0 s, 2 samples)
- Pipe Throughput 2278125.4 lps (10.0 s, 7 samples)
- Pipe-based Context Switching 271391.0 lps (10.0 s, 7 samples)
- Process Creation 17022.3 lps (30.0 s, 2 samples)
- Shell Scripts (1 concurrent) 13238.9 lpm (60.0 s, 2 samples)
- Shell Scripts (8 concurrent) 1815.6 lpm (60.1 s, 2 samples)
- System Call Overhead 1586737.8 lps (10.0 s, 7 samples)
- System Benchmarks Index Values BASELINE RESULT INDEX
- Dhrystone 2 using register variables 116700.0 127629834.7 10936.6
- Double-Precision Whetstone 55.0 16467.1 2994.0
- Execl Throughput 43.0 9777.9 2273.9
- File Copy 1024 bufsize 2000 maxblocks 3960.0 641687.6 1620.4
- File Copy 256 bufsize 500 maxblocks 1655.0 175551.2 1060.7
- File Copy 4096 bufsize 8000 maxblocks 5800.0 1975358.1 3405.8
- Pipe Throughput 12440.0 2278125.4 1831.3
- Pipe-based Context Switching 4000.0 271391.0 678.5
- Process Creation 126.0 17022.3 1351.0
- Shell Scripts (1 concurrent) 42.4 13238.9 3122.4
- Shell Scripts (8 concurrent) 6.0 1815.6 3026.0
- System Call Overhead 15000.0 1586737.8 1057.8
- ========
- System Benchmarks Index Score 2099.0
- # ========================================================= #
- # Script description and score comparison completed!
- # For more information, please go to https://unixbench.org
- # ========================================================= #
复制代码 |
|