华为云两款2X4G鸡比较

我曾在今年7月多上了华为云的双核4G1M学生机,当时是s2.large.2而且只有广州数据中心,今天,我再次进入华为云的学生优惠页,发现我居然还能买2x4g学生机,活动内容基本一样,但这次不同的是,型号变成了t6.large.2,而且有上海、北京可选(现在还有云数据库可供选购),因为我腾讯和阿里的机子都在上海,所以这次我上了北京的年付车

首先,说一下s2.large.2和t6.large.2的区别

t6.large.2
s2.large.2

可以看出,t6有性能限制,超过基准就要算CPU积分,积分用完就会强制限制到基准(积分啥的我完全搞不懂)

直接放跑分结果把,虽然不是在一个地区,但应该还是有参考性的

这是s2的,性能还过得去,就是不知道为什么speedtest跑不动
------------------------------------------------------------------------
Benchmark Run: Tue Oct 29 2019 19:52:14 - 12:20:51
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       33486251.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3802.8 MWIPS (13.2 s, 7 samples)
Execl Throughput                               4723.8 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        859295.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          226276.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2355875.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1570786.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  89506.2 lps   (10.0 s, 7 samples)
Process Creation                              10460.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7195.0 lpm   (60.3 s, 2 samples)
Shell Scripts (8 concurrent)                   1553.7 lpm   (60.0 s, 2 samples)
System Call Overhead                        2015708.8 lps   (10.0 s, 7 samples)
 
System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   33486251.2   2869.4
Double-Precision Whetstone                       55.0       3802.8    691.4
Execl Throughput                                 43.0       4723.8   1098.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     859295.0   2169.9
File Copy 256 bufsize 500 maxblocks            1655.0     226276.3   1367.2
File Copy 4096 bufsize 8000 maxblocks          5800.0    2355875.5   4061.9
Pipe Throughput                               12440.0    1570786.9   1262.7
Pipe-based Context Switching                   4000.0      89506.2    223.8
Process Creation                                126.0      10460.1    830.2
Shell Scripts (1 concurrent)                     42.4       7195.0   1696.9
Shell Scripts (8 concurrent)                      6.0       1553.7   2589.6
System Call Overhead                          15000.0    2015708.8   1343.8
                                                                   ========
System Benchmarks Index Score                                        1349.2
 
------------------------------------------------------------------------
Benchmark Run: Tue Oct 29 2019 12:20:51 - 12:49:32
2 CPUs in system; running 2 parallel copies of tests
 
Dhrystone 2 using register variables       65907398.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7605.8 MWIPS (13.2 s, 7 samples)
Execl Throughput                               9185.6 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1147725.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          303610.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3320440.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3039240.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 499038.8 lps   (10.0 s, 7 samples)
Process Creation                              22374.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  11306.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1647.2 lpm   (60.0 s, 2 samples)
System Call Overhead                        3151873.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   65907398.7   5647.6
Double-Precision Whetstone                       55.0       7605.8   1382.9
Execl Throughput                                 43.0       9185.6   2136.2
File Copy 1024 bufsize 2000 maxblocks          3960.0    1147725.8   2898.3
File Copy 256 bufsize 500 maxblocks            1655.0     303610.9   1834.5
File Copy 4096 bufsize 8000 maxblocks          5800.0    3320440.7   5724.9
Pipe Throughput                               12440.0    3039240.7   2443.1
Pipe-based Context Switching                   4000.0     499038.8   1247.6
Process Creation                                126.0      22374.7   1775.8
Shell Scripts (1 concurrent)                     42.4      11306.6   2666.6
Shell Scripts (8 concurrent)                      6.0       1647.2   2745.3
System Call Overhead                          15000.0    3151873.1   2101.2
                                                                   ========
System Benchmarks Index Score                                        2429.5

Superbench
----------------------------------------------------------------------
 Superbench.sh -- https://www.oldking.net/350.html
 Mode  : Standard    Version : 1.1.5
 Usage : wget -qO- git.io/superbench.sh | bash
----------------------------------------------------------------------
 CPU Model            : Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
 CPU Cores            : 2 Cores @ 2394.454 MHz x86_64
 CPU Cache            : 35840 KB 
 OS                   : CentOS 7.6.1810 (64 Bit) KVM
 Kernel               : 5.3.7-1.el7.elrepo.x86_64
 Total Space          : 3.2 GB / 40.0 GB 
 Total RAM            : 233 MB / 3938 MB (745 MB Buff)
 Total SWAP           : 0 MB / 0 MB
 Uptime               : 0 days 1 hour 55 min
 Load Average         : 0.00, 0.00, 0.16
 TCP CC               : bbr
 ASN & ISP            : AS55990, Huawei Cloud Service
 Organization         : Huawei Cloud Service
 Location             : Guangzhou, China / CN
 Region               : Guangdong
----------------------------------------------------------------------
 I/O Speed( 1.0GB )   : 166 MB/s
 I/O Speed( 1.0GB )   : 157 MB/s
 I/O Speed( 1.0GB )   : 179 MB/s
 Average I/O Speed    : 167.3 MB/s
----------------------------------------------------------------------
 Node Name        Upload Speed      Download Speed      Latency     
 Speedtest.net    2.28 Mbit/s       84.12 Mbit/s        43.286 ms  
 Wuhan     CT     1.95 Mbit/s       71.59 Mbit/s        -          
----------------------------------------------------------------------
 Finished in  : 6 min 1 sec
 Timestamp    : 2019-10-29 13:42:05 GMT+8
 Results      : /root/superbench.log
----------------------------------------------------------------------
这是t6的,性能要差点,但也过得去,ip貌似是广播上海的
------------------------------------------------------------------------
Benchmark Run: Tue Oct 29 2019 12:21:24 - 12:49:30
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       33006253.8 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3927.5 MWIPS (9.8 s, 7 samples)
Execl Throughput                               4615.3 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        670588.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          183666.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1806455.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1057433.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  75775.1 lps   (10.0 s, 7 samples)
Process Creation                               9376.1 lps   (30.4 s, 2 samples)
Shell Scripts (1 concurrent)                   7090.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1458.5 lpm   (60.0 s, 2 samples)
System Call Overhead                         928061.5 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   33006253.8   2828.3
Double-Precision Whetstone                       55.0       3927.5    714.1
Execl Throughput                                 43.0       4615.3   1073.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     670588.1   1693.4
File Copy 256 bufsize 500 maxblocks            1655.0     183666.3   1109.8
File Copy 4096 bufsize 8000 maxblocks          5800.0    1806455.5   3114.6
Pipe Throughput                               12440.0    1057433.7    850.0
Pipe-based Context Switching                   4000.0      75775.1    189.4
Process Creation                                126.0       9376.1    744.1
Shell Scripts (1 concurrent)                     42.4       7090.6   1672.3
Shell Scripts (8 concurrent)                      6.0       1458.5   2430.8
System Call Overhead                          15000.0     928061.5    618.7
                                                                   ========
System Benchmarks Index Score                                        1118.3

------------------------------------------------------------------------
Benchmark Run: Tue Oct 29 2019 12:49:30 - 13:17:34
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       66023784.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7831.6 MWIPS (9.8 s, 7 samples)
Execl Throughput                               8116.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1067156.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          279506.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2916760.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2090724.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 419397.7 lps   (10.0 s, 7 samples)
Process Creation                              14908.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10863.4 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1540.2 lpm   (60.0 s, 2 samples)
System Call Overhead                        1620902.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   66023784.7   5657.6
Double-Precision Whetstone                       55.0       7831.6   1423.9
Execl Throughput                                 43.0       8116.9   1887.6
File Copy 1024 bufsize 2000 maxblocks          3960.0    1067156.4   2694.8
File Copy 256 bufsize 500 maxblocks            1655.0     279506.3   1688.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    2916760.0   5028.9
Pipe Throughput                               12440.0    2090724.8   1680.6
Pipe-based Context Switching                   4000.0     419397.7   1048.5
Process Creation                                126.0      14908.3   1183.2
Shell Scripts (1 concurrent)                     42.4      10863.4   2562.1
Shell Scripts (8 concurrent)                      6.0       1540.2   2566.9
System Call Overhead                          15000.0    1620902.1   1080.6
                                                                   ========
System Benchmarks Index Score                                        2038.8

Superbench
----------------------------------------------------------------------
 Superbench.sh -- https://www.oldking.net/350.html
 Mode  : Standard    Version : 1.1.5
 Usage : wget -qO- git.io/superbench.sh | bash
----------------------------------------------------------------------
 CPU Model            : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
 CPU Cores            : 2 Cores @ 2200.000 MHz x86_64
 CPU Cache            : 30976 KB 
 OS                   : CentOS 7.6.1810 (64 Bit) KVM
 Kernel               : 5.3.7-1.el7.elrepo.x86_64
 Total Space          : 3.2 GB / 40.0 GB 
 Total RAM            : 239 MB / 3938 MB (674 MB Buff)
 Total SWAP           : 0 MB / 0 MB
 Uptime               : 0 days 0 hour 57 min
 Load Average         : 9.54, 7.40, 4.25
 TCP CC               : bbr
 ASN & ISP            : AS55990, Huawei Cloud Service
 Organization         : Huawei Cloud Service
 Location             : Shanghai, China / CN
 Region               : Shanghai
----------------------------------------------------------------------
 I/O Speed( 1.0GB )   : 182 MB/s
 I/O Speed( 1.0GB )   : 156 MB/s
 I/O Speed( 1.0GB )   : 156 MB/s
 Average I/O Speed    : 164.7 MB/s
----------------------------------------------------------------------
 Node Name        Upload Speed      Download Speed      Latency     
 Speedtest.net    1.80 Mbit/s       84.02 Mbit/s        47.467 ms  
 Fast.com         0.00 Mbit/s       0.8 Mbit/s          -           
 Wuhan     CT     1.85 Mbit/s       84.62 Mbit/s        -          
 Hangzhou  CT     1.56 Mbit/s       78.70 Mbit/s        -          
 Lanzhou   CT     1.75 Mbit/s       48.04 Mbit/s        -          
 Shanghai  CU     1.58 Mbit/s       93.58 Mbit/s        -          
 Heifei    CU     1.94 Mbit/s       64.39 Mbit/s        -          
 Xizang    CM     1.55 Mbit/s       70.12 Mbit/s        -          
----------------------------------------------------------------------
 Finished in  : 6 min 25 sec
 Timestamp    : 2019-10-29 13:24:13 GMT+8
 Results      : /root/superbench.log
----------------------------------------------------------------------

在测试过程中,后台显示s2最高跑到了94%的CPU占用率,而t6最高只有80%,积分也用了不少…

说不清楚是变坑了还是怎么样…

发表评论