秋水的脚本:
- wget –no-check-certificate https://cdn.jsdelivr.net/gh/teddysun/across/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: ecs-YlwHT: GNU/Linux
- OS: GNU/Linux — 4.4.0-87-generic — #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017
- Machine: x86_64 (x86_64)
- Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
- CPU 0: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz (4400.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
- CPU 1: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz (4400.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
- CPU 2: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz (4400.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
- CPU 3: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz (4400.0 bogomips)
- Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
- 18:43:34 up 41 min, 2 users, load average: 0.44, 0.13, 0.04; runlevel 5
-
- ————————————————————————
- Benchmark Run: Mon Sep 28 2020 18:43:34 – 19:11:51
- 4 CPUs in system; running 1 parallel copy of tests
-
- Dhrystone 2 using register variables 23954597.8 lps (10.0 s, 7 samples)
- Double-Precision Whetstone 2940.3 MWIPS (9.9 s, 7 samples)
- Execl Throughput 1127.8 lps (29.8 s, 2 samples)
- File Copy 1024 bufsize 2000 maxblocks 643453.2 KBps (30.0 s, 2 samples)
- File Copy 256 bufsize 500 maxblocks 186274.9 KBps (30.0 s, 2 samples)
- File Copy 4096 bufsize 8000 maxblocks 1355799.3 KBps (30.0 s, 2 samples)
- Pipe Throughput 1443928.6 lps (10.0 s, 7 samples)
- Pipe-based Context Switching 35023.8 lps (10.0 s, 7 samples)
- Process Creation 2287.5 lps (30.0 s, 2 samples)
- Shell Scripts (1 concurrent) 3439.1 lpm (60.0 s, 2 samples)
- Shell Scripts (8 concurrent) 1092.3 lpm (60.0 s, 2 samples)
- System Call Overhead 2572527.3 lps (10.0 s, 7 samples)
-
- System Benchmarks Index Values BASELINE RESULT INDEX
- Dhrystone 2 using register variables 116700.0 23954597.8 2052.7
- Double-Precision Whetstone 55.0 2940.3 534.6
- Execl Throughput 43.0 1127.8 262.3
- File Copy 1024 bufsize 2000 maxblocks 3960.0 643453.2 1624.9
- File Copy 256 bufsize 500 maxblocks 1655.0 186274.9 1125.5
- File Copy 4096 bufsize 8000 maxblocks 5800.0 1355799.3 2337.6
- Pipe Throughput 12440.0 1443928.6 1160.7
- Pipe-based Context Switching 4000.0 35023.8 87.6
- Process Creation 126.0 2287.5 181.5
- Shell Scripts (1 concurrent) 42.4 3439.1 811.1
- Shell Scripts (8 concurrent) 6.0 1092.3 1820.5
- System Call Overhead 15000.0 2572527.3 1715.0
- ========
- System Benchmarks Index Score 788.2
-
- ————————————————————————
- Benchmark Run: Mon Sep 28 2020 19:11:51 – 19:40:15
- 4 CPUs in system; running 4 parallel copies of tests
-
- Dhrystone 2 using register variables 88792092.4 lps (10.0 s, 7 samples)
- Double-Precision Whetstone 10962.6 MWIPS (9.3 s, 7 samples)
- Execl Throughput 7304.5 lps (30.0 s, 2 samples)
- File Copy 1024 bufsize 2000 maxblocks 546996.4 KBps (30.0 s, 2 samples)
- File Copy 256 bufsize 500 maxblocks 168300.3 KBps (30.0 s, 2 samples)
- File Copy 4096 bufsize 8000 maxblocks 1390763.0 KBps (30.0 s, 2 samples)
- Pipe Throughput 5190541.3 lps (10.0 s, 7 samples)
- Pipe-based Context Switching 576557.5 lps (10.0 s, 7 samples)
- Process Creation 13829.7 lps (30.0 s, 2 samples)
- Shell Scripts (1 concurrent) 14067.3 lpm (60.0 s, 2 samples)
- Shell Scripts (8 concurrent) 1765.8 lpm (60.0 s, 2 samples)
- System Call Overhead 3388166.2 lps (10.0 s, 7 samples)
-
- System Benchmarks Index Values BASELINE RESULT INDEX
- Dhrystone 2 using register variables 116700.0 88792092.4 7608.6
- Double-Precision Whetstone 55.0 10962.6 1993.2
- Execl Throughput 43.0 7304.5 1698.7
- File Copy 1024 bufsize 2000 maxblocks 3960.0 546996.4 1381.3
- File Copy 256 bufsize 500 maxblocks 1655.0 168300.3 1016.9
- File Copy 4096 bufsize 8000 maxblocks 5800.0 1390763.0 2397.9
- Pipe Throughput 12440.0 5190541.3 4172.5
- Pipe-based Context Switching 4000.0 576557.5 1441.4
- Process Creation 126.0 13829.7 1097.6
- Shell Scripts (1 concurrent) 42.4 14067.3 3317.8
- Shell Scripts (8 concurrent) 6.0 1765.8 2943.1
- System Call Overhead 15000.0 3388166.2 2258.8
- ========
- System Benchmarks Index Score 2196.8
-
-
-
- ======= Script description and score comparison completed! =======
复制代码
|