华为云测评:2CPU+4G内存+5M带宽的云耀云服务器HECS

华为云测评:2CPU+4G内存+5M带宽的云耀云服务器HECS

最近入手了一台华为云的云耀云服务器!是一台经典的245配置!价格非常美丽(新用户有特价)!

特此写一篇测评,这是第一篇针对国内云服务器的测评!

 

 

机器配置

CPU:2核 (1个物理CPU / 2个逻辑CPU)

内存:4G

带宽:5M

磁盘:40G(高IO)

虚拟化:KVM

操作系统:Windows / Linux

数据中心:华北-北京四/华东-上海一/华东-上海二/华南-广州西南-贵阳一

价格:757.59/3年

购买地址:华为云开年采购季,云服务器3年仅需236元(老用户可参与)!

 

 

面板功能

支持VNC远程登录!

支持重置root密码!

监控CPU/内存/网络情况!

自带安全组配置!

支持重装/切换系统(Linux仅支持CentOS 和 Ubuntu)

支持私有镜像!

支持磁盘挂载!

 

系统环境

----------------------------------------------------------------------
CPU model : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
Number of cores : 2
CPU frequency : 2200.000 MHz
Total size of Disk : 40.0 GB (2.4 GB Used)
Total amount of Mem : 3788 MB (178 MB Used)
Total amount of Swap : 0 MB (0 MB Used)
System uptime : 1 days, 0 hour 53 min
Load average : 0.00, 0.01, 0.05
OS : CentOS 7.6.1810
Arch : x86_64 (64 Bit)
Kernel : 3.10.0-1062.1.1.el7.x86_64
----------------------------------------------------------------------

 

磁盘IO

I/O speed(1st run)   : 185 MB/s
I/O speed(2nd run)   : 158 MB/s
I/O speed(3rd run)   : 157 MB/s
Average I/O speed    : 166.7 MB/s

 

性能测试

性能跑分分别为:1112.1 / 2021.9 (性能不错~)

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: ecs-x-large-2-linux-20200314192746: GNU/Linux
   OS: GNU/Linux -- 3.10.0-1062.1.1.el7.x86_64 -- #1 SMP Fri Sep 13 22:55:44 UTC 2019
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz (4400.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz (4400.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   20:37:09 up 1 day,  1:04,  2 users,  load average: 0.11, 0.04, 0.05; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Sun Mar 15 2020 20:37:09 - 21:05:14
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       33308308.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3942.0 MWIPS (9.8 s, 7 samples)
Execl Throughput                               3111.2 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        691842.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          183161.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2140161.9 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1079483.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  80290.4 lps   (10.0 s, 7 samples)
Process Creation                              10233.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6778.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1386.9 lpm   (60.0 s, 2 samples)
System Call Overhead                         972522.4 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   33308308.2   2854.2
Double-Precision Whetstone                       55.0       3942.0    716.7
Execl Throughput                                 43.0       3111.2    723.5
File Copy 1024 bufsize 2000 maxblocks          3960.0     691842.7   1747.1
File Copy 256 bufsize 500 maxblocks            1655.0     183161.0   1106.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    2140161.9   3689.9
Pipe Throughput                               12440.0    1079483.1    867.8
Pipe-based Context Switching                   4000.0      80290.4    200.7
Process Creation                                126.0      10233.8    812.2
Shell Scripts (1 concurrent)                     42.4       6778.2   1598.6
Shell Scripts (8 concurrent)                      6.0       1386.9   2311.5
System Call Overhead                          15000.0     972522.4    648.3
                                                                   ========
System Benchmarks Index Score                                        1112.1

------------------------------------------------------------------------
Benchmark Run: Sun Mar 15 2020 21:05:14 - 21:33:20
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       66328002.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     7859.7 MWIPS (9.8 s, 7 samples)
Execl Throughput                               6103.1 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1014749.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          267850.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3044867.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2132159.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 400874.1 lps   (10.0 s, 7 samples)
Process Creation                              21805.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10051.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1431.8 lpm   (60.0 s, 2 samples)
System Call Overhead                        1658815.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   66328002.1   5683.6
Double-Precision Whetstone                       55.0       7859.7   1429.0
Execl Throughput                                 43.0       6103.1   1419.3
File Copy 1024 bufsize 2000 maxblocks          3960.0    1014749.8   2562.5
File Copy 256 bufsize 500 maxblocks            1655.0     267850.8   1618.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    3044867.7   5249.8
Pipe Throughput                               12440.0    2132159.7   1714.0
Pipe-based Context Switching                   4000.0     400874.1   1002.2
Process Creation                                126.0      21805.5   1730.6
Shell Scripts (1 concurrent)                     42.4      10051.1   2370.5
Shell Scripts (8 concurrent)                      6.0       1431.8   2386.3
System Call Overhead                          15000.0    1658815.0   1105.9
                                                                   ========
System Benchmarks Index Score                                        2021.9



======= Script description and score comparison completed! ======= 

 

并发测试

小于1KB静态页面测试 并发≈ 5000

Server Software:        nginx
Server Hostname:        121.37.15.2
Server Port:            80

Document Path:          /index.html
Document Length:        4 bytes

Concurrency Level:      5000
Time taken for tests:   9.015 seconds
Complete requests:      5000
Failed requests:        0
Write errors:           0
Total transferred:      1130000 bytes
HTML transferred:       20000 bytes
Requests per second:    554.65 [#/sec] (mean)
Time per request:       9014.685 [ms] (mean)
Time per request:       1.803 [ms] (mean, across all concurrent requests)
Transfer rate:          122.41 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       43  135  19.0    136     167
Processing:    41 1358 1105.7   1363    8684
Waiting:       41 1356 1107.4   1363    8684
Total:        140 1493 1094.6   1495    8791

Percentage of the requests served within a certain time (ms)
  50%   1495
  66%   1820
  75%   2264
  80%   2268
  90%   2280
  95%   2824
  98%   5508
  99%   6127
 100%   8791 (longest request)

50KB静态页面测试 并发 ≈ 600

Server Software:        nginx
Server Hostname:        121.37.15.2
Server Port:            80

Document Path:          /index.html
Document Length:        54672 bytes

Concurrency Level:      600
Time taken for tests:   71.484 seconds
Complete requests:      600
Failed requests:        73
   (Connect: 0, Receive: 0, Length: 73, Exceptions: 0)
Write errors:           0
Total transferred:      32653884 bytes
HTML transferred:       32502684 bytes
Requests per second:    8.39 [#/sec] (mean)
Time per request:       71484.486 [ms] (mean)
Time per request:       119.141 [ms] (mean, across all concurrent requests)
Transfer rate:          446.09 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       41   44   2.2     45      49
Processing:  3484 30630 19371.5  33866   71334
Waiting:       41 22477 20554.0  31814   71040
Total:       3526 30674 19371.8  33909   71376

Percentage of the requests served within a certain time (ms)
  50%  33909
  66%  41810
  75%  44125
  80%  47755
  90%  65268
  95%  66606
  98%  68065
  99%  68291
 100%  71376 (longest request)

 

测试IP

121.37.15.2

 

网络延迟

线路 最快节点 最慢节点 平均响应
电信 广东广州4ms 新疆哈密85ms 29.6ms
多线 河南新乡27ms 江苏宿迁43ms 36.1ms
联通 广东深圳6ms 黑龙江哈尔滨55ms 33.3ms
移动 广东深圳10ms 广东深圳10ms 10ms
海外 中国香港11ms 加拿大264ms 102.8ms

 

 

网络测试

SpeedTest

Testing download speed................................................................................
Download: 46.03 Mbit/s
Testing upload speed................................................................................................
Upload: 4.38 Mbit/s

 

Chrome下载

wget "https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26ii3Dprefers%26ap%3Dx64-stable-statsdef_1%26installdataindex%3Dempty/chrome/install/ChromeStan
--2020-03-16 11:29:12--  https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-Ae-statsdef_1%26installdataindex%3Dempty/chrome/install/ChromeStandaloneSetup64.exe
Resolving dl.google.com (dl.google.com)... 203.208.41.35, 203.208.41.32, 203.208.41.33, ...
Connecting to dl.google.com (dl.google.com)|203.208.41.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60351232 (58M) [application/octet-stream]
Saving to: ‘ChromeStandaloneSetup64.exe’

100%[======================================================================================

2020-03-16 11:29:22 (6.08 MB/s) - ‘ChromeStandaloneSetup64.exe’ saved [60351232/60351232]

 

Chrome上传

 

传输文件到本地!

 

最后总结

以下是马甲客观评价!本文测试大概用了2天的时间!

优点:

服务器的综合性能还是非常不错的!性价比也非常高(走最近的活动)!

 

缺点:

无法自助更换IP

不支持快照

公共系统镜像没有Debian

国内建站必须强制接入华为云备案(大的服务商一般都这样的要求了)

 

一起评分

经过上面的测评,你对该款型号服务器的评价怎么样呢?   😀留个客观的评分吧!

 

非常差劲,1星都嫌多比较一般,2星已不错正常水平,3星奉献上表现不错,4星诚意足极力推荐,5星都嫌少 (54 票;平均数3.39 ;最高评分 5 ;用户总数54;总得分 183;百分比67.78)

 

更多云服务器评分:https://51.ruyo.net/servers-rating/

阅读剩余
THE END