用的UnixBench工具,结果大致如下,仅供参考:
阿里云4核4G CentOS 6.5 64bit:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.2) System: 123.57.1.159: GNU/Linux OS: GNU/Linux -- 2.6.32-504.3.3.el6.x86_64 -- #1 SMP Wed Dec 17 01:55:02 UTC 2014 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4600.1 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4599.4 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4599.4 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz (4595.9 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 18:50:50 up 2 days, 22:57, 2 users, load average: 0.20, 0.20, 0.18; runlevel 3 ------------------------------------------------------------------------ Benchmark Run: Fri Jan 23 2015 18:50:50 - 19:19:09 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 24381784.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 2654.1 MWIPS (9.9 s, 7 samples) Execl Throughput 2600.6 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 760744.1 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 201218.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1517208.9 KBps (30.0 s, 2 samples) Pipe Throughput 1599570.3 lps (10.0 s, 7 samples) Pipe-based Context Switching 262996.4 lps (10.0 s, 7 samples) Process Creation 6266.0 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 4862.4 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1713.4 lpm (60.0 s, 2 samples) System Call Overhead 2980956.5 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 24381784.5 2089.3 Double-Precision Whetstone 55.0 2654.1 482.6 Execl Throughput 43.0 2600.6 604.8 File Copy 1024 bufsize 2000 maxblocks 3960.0 760744.1 1921.1 File Copy 256 bufsize 500 maxblocks 1655.0 201218.5 1215.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 1517208.9 2615.9 Pipe Throughput 12440.0 1599570.3 1285.8 Pipe-based Context Switching 4000.0 262996.4 657.5 Process Creation 126.0 6266.0 497.3 Shell Scripts (1 concurrent) 42.4 4862.4 1146.8 Shell Scripts (8 concurrent) 6.0 1713.4 2855.6 System Call Overhead 15000.0 2980956.5 1987.3 ======== System Benchmarks Index Score 1213.5 ------------------------------------------------------------------------ Benchmark Run: Fri Jan 23 2015 19:19:09 - 19:48:00 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 90301000.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 10564.0 MWIPS (9.9 s, 7 samples) Execl Throughput 11517.7 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 504298.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 139698.6 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1512559.9 KBps (30.0 s, 2 samples) Pipe Throughput 5919220.3 lps (10.0 s, 7 samples) Pipe-based Context Switching 929999.6 lps (10.0 s, 7 samples) Process Creation 31355.8 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 14416.5 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1954.7 lpm (60.1 s, 2 samples) System Call Overhead 4495321.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 90301000.4 7737.9 Double-Precision Whetstone 55.0 10564.0 1920.7 Execl Throughput 43.0 11517.7 2678.5 File Copy 1024 bufsize 2000 maxblocks 3960.0 504298.7 1273.5 File Copy 256 bufsize 500 maxblocks 1655.0 139698.6 844.1 File Copy 4096 bufsize 8000 maxblocks 5800.0 1512559.9 2607.9 Pipe Throughput 12440.0 5919220.3 4758.2 Pipe-based Context Switching 4000.0 929999.6 2325.0 Process Creation 126.0 31355.8 2488.6 Shell Scripts (1 concurrent) 42.4 14416.5 3400.1 Shell Scripts (8 concurrent) 6.0 1954.7 3257.8 System Call Overhead 15000.0 4495321.7 2996.9 ======== System Benchmarks Index Score 2614.4
阿里云4核4G I/O优化SSD云盘 CentOS 7 64bit:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.2) System: iZ23pj3g4u6Z: GNU/Linux OS: GNU/Linux -- 3.10.0-123.9.3.el7.x86_64 -- #1 SMP Thu Nov 6 15:06:03 UTC 2014 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 (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 12:17:11 up 11 min, 1 user, load average: 0.00, 0.16, 0.15; runlevel 3 ------------------------------------------------------------------------ Benchmark Run: Thu Jun 11 2015 12:17:11 - 12:45:21 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 29009406.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 3656.2 MWIPS (9.9 s, 7 samples) Execl Throughput 2380.4 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 775971.3 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 205023.7 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2039623.7 KBps (30.0 s, 2 samples) Pipe Throughput 1411078.8 lps (10.0 s, 7 samples) Pipe-based Context Switching 32995.1 lps (10.0 s, 7 samples) Process Creation 8114.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 6256.2 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 2309.1 lpm (60.0 s, 2 samples) System Call Overhead 2014277.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 29009406.2 2485.8 Double-Precision Whetstone 55.0 3656.2 664.8 Execl Throughput 43.0 2380.4 553.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 775971.3 1959.5 File Copy 256 bufsize 500 maxblocks 1655.0 205023.7 1238.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 2039623.7 3516.6 Pipe Throughput 12440.0 1411078.8 1134.3 Pipe-based Context Switching 4000.0 32995.1 82.5 Process Creation 126.0 8114.2 644.0 Shell Scripts (1 concurrent) 42.4 6256.2 1475.5 Shell Scripts (8 concurrent) 6.0 2309.1 3848.5 System Call Overhead 15000.0 2014277.7 1342.9 ======== System Benchmarks Index Score 1112.3 ------------------------------------------------------------------------ Benchmark Run: Thu Jun 11 2015 12:45:21 - 13:14:26 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 115943027.0 lps (10.0 s, 7 samples) Double-Precision Whetstone 14677.6 MWIPS (9.9 s, 7 samples) Execl Throughput 13829.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 735703.9 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 200681.3 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2064559.6 KBps (30.0 s, 2 samples) Pipe Throughput 5635816.1 lps (10.0 s, 7 samples) Pipe-based Context Switching 911921.1 lps (10.0 s, 7 samples) Process Creation 41856.6 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 19086.8 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 2691.0 lpm (60.0 s, 2 samples) System Call Overhead 5992690.5 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 115943027.0 9935.1 Double-Precision Whetstone 55.0 14677.6 2668.7 Execl Throughput 43.0 13829.3 3216.1 File Copy 1024 bufsize 2000 maxblocks 3960.0 735703.9 1857.8 File Copy 256 bufsize 500 maxblocks 1655.0 200681.3 1212.6 File Copy 4096 bufsize 8000 maxblocks 5800.0 2064559.6 3559.6 Pipe Throughput 12440.0 5635816.1 4530.4 Pipe-based Context Switching 4000.0 911921.1 2279.8 Process Creation 126.0 41856.6 3322.0 Shell Scripts (1 concurrent) 42.4 19086.8 4501.6 Shell Scripts (8 concurrent) 6.0 2691.0 4485.0 System Call Overhead 15000.0 5992690.5 3995.1 ======== System Benchmarks Index Score 3334.9
腾讯云8核8G CentOS 6.5 64bit:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.2) System: VM_34_193_centos: GNU/Linux OS: GNU/Linux -- 2.6.32-504.3.3.el6.centos.plus.x86_64 -- #1 SMP Wed Dec 17 01:21:03 UTC 2014 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 4: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 5: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 6: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 7: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (5187.5 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 19:44:56 up 49 min, 1 user, load average: 0.11, 0.03, 0.01; runlevel 3 ------------------------------------------------------------------------ Benchmark Run: Fri Jan 23 2015 19:44:56 - 20:13:04 8 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 32231038.0 lps (10.0 s, 7 samples) Double-Precision Whetstone 3465.3 MWIPS (9.9 s, 7 samples) Execl Throughput 3895.9 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 860166.6 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 231218.6 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1824901.8 KBps (30.0 s, 2 samples) Pipe Throughput 1709012.8 lps (10.0 s, 7 samples) Pipe-based Context Switching 339942.2 lps (10.0 s, 7 samples) Process Creation 10098.3 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 6723.1 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 3311.6 lpm (60.0 s, 2 samples) System Call Overhead 2258347.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 32231038.0 2761.9 Double-Precision Whetstone 55.0 3465.3 630.1 Execl Throughput 43.0 3895.9 906.0 File Copy 1024 bufsize 2000 maxblocks 3960.0 860166.6 2172.1 File Copy 256 bufsize 500 maxblocks 1655.0 231218.6 1397.1 File Copy 4096 bufsize 8000 maxblocks 5800.0 1824901.8 3146.4 Pipe Throughput 12440.0 1709012.8 1373.8 Pipe-based Context Switching 4000.0 339942.2 849.9 Process Creation 126.0 10098.3 801.5 Shell Scripts (1 concurrent) 42.4 6723.1 1585.6 Shell Scripts (8 concurrent) 6.0 3311.6 5519.4 System Call Overhead 15000.0 2258347.4 1505.6 ======== System Benchmarks Index Score 1545.4 ------------------------------------------------------------------------ Benchmark Run: Fri Jan 23 2015 20:13:04 - 20:41:16 8 CPUs in system; running 8 parallel copies of tests Dhrystone 2 using register variables 197084189.0 lps (10.0 s, 7 samples) Double-Precision Whetstone 25722.4 MWIPS (10.0 s, 7 samples) Execl Throughput 28484.2 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 700457.9 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 181690.0 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2066397.0 KBps (30.0 s, 2 samples) Pipe Throughput 10720362.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 1892864.9 lps (10.0 s, 7 samples) Process Creation 84899.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 34081.2 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 4495.4 lpm (60.0 s, 2 samples) System Call Overhead 7919826.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 197084189.0 16888.1 Double-Precision Whetstone 55.0 25722.4 4676.8 Execl Throughput 43.0 28484.2 6624.2 File Copy 1024 bufsize 2000 maxblocks 3960.0 700457.9 1768.8 File Copy 256 bufsize 500 maxblocks 1655.0 181690.0 1097.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 2066397.0 3562.8 Pipe Throughput 12440.0 10720362.5 8617.7 Pipe-based Context Switching 4000.0 1892864.9 4732.2 Process Creation 126.0 84899.2 6738.0 Shell Scripts (1 concurrent) 42.4 34081.2 8038.0 Shell Scripts (8 concurrent) 6.0 4495.4 7492.3 System Call Overhead 15000.0 7919826.4 5279.9 ======== System Benchmarks Index Score 5109.0
UCloud 4核4G CentOS 6.5 64bit:
======================================================================== BYTE UNIX Benchmarks (Version 5.1.2) System: 10-10-60-19: GNU/Linux OS: GNU/Linux -- 2.6.32-431.11.5.el6.ucloud.x86_64 -- #1 SMP Thu Jul 3 09:42:34 CST 2014 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: QEMU Virtual CPU version (cpu64-rhel6) (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET CPU 1: QEMU Virtual CPU version (cpu64-rhel6) (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET CPU 2: QEMU Virtual CPU version (cpu64-rhel6) (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET CPU 3: QEMU Virtual CPU version (cpu64-rhel6) (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET 18:51:40 up 2 days, 7:25, 1 user, load average: 0.17, 0.13, 0.09; runlevel 3 ------------------------------------------------------------------------ Benchmark Run: Fri Jan 23 2015 18:51:40 - 19:19:53 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 28459765.1 lps (10.0 s, 7 samples) Double-Precision Whetstone 3074.1 MWIPS (10.0 s, 7 samples) Execl Throughput 1902.2 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 248085.0 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 65270.9 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 778196.3 KBps (30.0 s, 2 samples) Pipe Throughput 536392.4 lps (10.0 s, 7 samples) Pipe-based Context Switching 103503.7 lps (10.0 s, 7 samples) Process Creation 4737.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3879.4 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1226.3 lpm (60.0 s, 2 samples) System Call Overhead 670060.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 28459765.1 2438.7 Double-Precision Whetstone 55.0 3074.1 558.9 Execl Throughput 43.0 1902.2 442.4 File Copy 1024 bufsize 2000 maxblocks 3960.0 248085.0 626.5 File Copy 256 bufsize 500 maxblocks 1655.0 65270.9 394.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 778196.3 1341.7 Pipe Throughput 12440.0 536392.4 431.2 Pipe-based Context Switching 4000.0 103503.7 258.8 Process Creation 126.0 4737.2 376.0 Shell Scripts (1 concurrent) 42.4 3879.4 915.0 Shell Scripts (8 concurrent) 6.0 1226.3 2043.8 System Call Overhead 15000.0 670060.7 446.7 ======== System Benchmarks Index Score 661.4 ------------------------------------------------------------------------ Benchmark Run: Fri Jan 23 2015 19:19:53 - 19:48:09 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 113156490.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 12352.7 MWIPS (9.9 s, 7 samples) Execl Throughput 6219.3 lps (29.8 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 119573.5 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 32461.9 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 409337.7 KBps (30.0 s, 2 samples) Pipe Throughput 800171.9 lps (10.0 s, 7 samples) Pipe-based Context Switching 182943.9 lps (10.0 s, 7 samples) Process Creation 14782.7 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 10936.8 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1267.6 lpm (60.1 s, 2 samples) System Call Overhead 1027039.5 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 113156490.2 9696.4 Double-Precision Whetstone 55.0 12352.7 2245.9 Execl Throughput 43.0 6219.3 1446.3 File Copy 1024 bufsize 2000 maxblocks 3960.0 119573.5 302.0 File Copy 256 bufsize 500 maxblocks 1655.0 32461.9 196.1 File Copy 4096 bufsize 8000 maxblocks 5800.0 409337.7 705.8 Pipe Throughput 12440.0 800171.9 643.2 Pipe-based Context Switching 4000.0 182943.9 457.4 Process Creation 126.0 14782.7 1173.2 Shell Scripts (1 concurrent) 42.4 10936.8 2579.4 Shell Scripts (8 concurrent) 6.0 1267.6 2112.6 System Call Overhead 15000.0 1027039.5 684.7 ======== System Benchmarks Index Score 1045.0
结果大家自己看吧