|
本帖最后由 hostman 于 2021-3-20 01:09 编辑
为毛我的 UNIX Bench 跑分低很多
0.0
- ========================================================================
- BYTE UNIX Benchmarks (Version 5.1.3)
- System: C20210319231755: GNU/Linux
- OS: GNU/Linux -- 3.10.0-1127.el7.x86_64 -- #1 SMP Tue Mar 31 23:36:51 UTC 202 0
- 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 [url=home.php?mod=space&uid=175]@[/url] 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:59:54 up 3 min, 1 user, load average: 0.57, 0.21, 0.08; runlevel 2021-03 -19
- ------------------------------------------------------------------------
- Benchmark Run: Fri Mar 19 2021 23:59:54 - 00:28:17
- 4 CPUs in system; running 1 parallel copy of tests
- Dhrystone 2 using register variables 33609041.4 lps (10.0 s, 7 samples)
- Double-Precision Whetstone 4192.4 MWIPS (9.9 s, 7 samples)
- Execl Throughput 1558.4 lps (29.6 s, 2 samples)
- File Copy 1024 bufsize 2000 maxblocks 367930.7 KBps (30.0 s, 2 samples)
- File Copy 256 bufsize 500 maxblocks 103415.5 KBps (30.0 s, 2 samples)
- File Copy 4096 bufsize 8000 maxblocks 1010614.2 KBps (30.0 s, 2 samples)
- Pipe Throughput 534741.1 lps (10.0 s, 7 samples)
- Pipe-based Context Switching 51636.4 lps (10.0 s, 7 samples)
- Process Creation 5419.7 lps (30.0 s, 2 samples)
- Shell Scripts (1 concurrent) 3611.6 lpm (60.0 s, 2 samples)
- Shell Scripts (8 concurrent) 1130.5 lpm (60.0 s, 2 samples)
- System Call Overhead 497107.5 lps (10.0 s, 7 samples)
- System Benchmarks Index Values BASELINE RESULT INDEX
- Dhrystone 2 using register variables 116700.0 33609041.4 2880.0
- Double-Precision Whetstone 55.0 4192.4 762.3
- Execl Throughput 43.0 1558.4 362.4
- File Copy 1024 bufsize 2000 maxblocks 3960.0 367930.7 929.1
- File Copy 256 bufsize 500 maxblocks 1655.0 103415.5 624.9
- File Copy 4096 bufsize 8000 maxblocks 5800.0 1010614.2 1742.4
- Pipe Throughput 12440.0 534741.1 429.9
- Pipe-based Context Switching 4000.0 51636.4 129.1
- Process Creation 126.0 5419.7 430.1
- Shell Scripts (1 concurrent) 42.4 3611.6 851.8
- Shell Scripts (8 concurrent) 6.0 1130.5 1884.1
- System Call Overhead 15000.0 497107.5 331.4
- ========
- System Benchmarks Index Score 682.5
- ------------------------------------------------------------------------
- Benchmark Run: Sat Mar 20 2021 00:28:17 - 00:56:35
- 4 CPUs in system; running 4 parallel copies of tests
- Dhrystone 2 using register variables 89824562.3 lps (10.0 s, 7 samples)
- Double-Precision Whetstone 14796.2 MWIPS (9.8 s, 7 samples)
- Execl Throughput 6693.0 lps (30.0 s, 2 samples)
- File Copy 1024 bufsize 2000 maxblocks 630812.9 KBps (30.0 s, 2 samples)
- File Copy 256 bufsize 500 maxblocks 150385.7 KBps (30.0 s, 2 samples)
- File Copy 4096 bufsize 8000 maxblocks 1692152.3 KBps (30.0 s, 2 samples)
- Pipe Throughput 1832782.7 lps (10.0 s, 7 samples)
- Pipe-based Context Switching 308151.6 lps (10.0 s, 7 samples)
- Process Creation 20628.4 lps (30.0 s, 2 samples)
- Shell Scripts (1 concurrent) 11265.8 lpm (60.0 s, 2 samples)
- Shell Scripts (8 concurrent) 1761.0 lpm (60.0 s, 2 samples)
- System Call Overhead 1453054.2 lps (10.0 s, 7 samples)
- System Benchmarks Index Values BASELINE RESULT INDEX
- Dhrystone 2 using register variables 116700.0 89824562.3 7697.0
- Double-Precision Whetstone 55.0 14796.2 2690.2
- Execl Throughput 43.0 6693.0 1556.5
- File Copy 1024 bufsize 2000 maxblocks 3960.0 630812.9 1593.0
- File Copy 256 bufsize 500 maxblocks 1655.0 150385.7 908.7
- File Copy 4096 bufsize 8000 maxblocks 5800.0 1692152.3 2917.5
- Pipe Throughput 12440.0 1832782.7 1473.3
- Pipe-based Context Switching 4000.0 308151.6 770.4
- Process Creation 126.0 20628.4 1637.2
- Shell Scripts (1 concurrent) 42.4 11265.8 2657.0
- Shell Scripts (8 concurrent) 6.0 1761.0 2935.0
- System Call Overhead 15000.0 1453054.2 968.7
- ========
- System Benchmarks Index Score 1876.9
- //
- [root@~]# dd if=/dev/zero of=/dev/null bs=1M count=1024
- 1024+0 records in
- 1024+0 records out
- 1073741824 bytes (1.1 GB) copied, 0.084409 s, 12.7 GB/s
- [root@~]# dd if=/dev/zero of=/dev/null bs=1M count=1024
- 1024+0 records in
- 1024+0 records out
- 1073741824 bytes (1.1 GB) copied, 0.0642098 s, 16.7 GB/s
- [root@~]# dd if=/dev/zero of=file bs=1M count=1024
- 1024+0 records in
- 1024+0 records out
- 1073741824 bytes (1.1 GB) copied, 2.90476 s, 370 MB/s
- [root@~]#
- [root@~]#
- [root@~]# dd if=/dev/zero of=file bs=1M count=1024
- 1024+0 records in
- 1024+0 records out
- 1073741824 bytes (1.1 GB) copied, 3.62339 s, 296 MB/s
复制代码 |
|