华为云耀云服务器性能如何 – 附详细测评教程

华为云耀云服务器是可以快速搭建简单应用的新一代云服务器,具备独立、完整的操作系统和网络功能。提供快速地应用部署和简易的管理能力,具有高性价比、易开通、易搭建、易管理的特点。

适用场景:

  • 网站和Web应用
  • 中轻载电商平台搭建
  • 中轻载企业应用
  • 开发测试环境

这篇文章,测评华为云耀云服务器,对喜欢华为云的朋友提供一个参考。本次测评机器配置:1H2G1M 100GSSD 上海数据中心。

云服务器测评内容全是博主亲测,商家后来配置变更/网络变化,博主不在变更本文内容!内容仅供参考!!

1、官网

网址:https://www.huaweicloud.com/

2、机器性能

 -> System Information

 OS Release:		Ubuntu 18.04.4 LTS (Bionic Beaver)  (x86_64)
 CPU Model:		Intel(R) Xeon(R) Gold 6278C CPU @ 2.60GHz  2.60 GHz
 CPU Cache Size:	36608 KB
 CPU Number:		1 vCPU
 Virt Type:		KVM
 Memory Usage:		227.61 MB / 1.95 GB
 Swap Usage:		[ No Swapfile/Swap Partition ]
 Boot Device:		/dev/vda1
 Disk Usage:		4.81 GB / 41.02 GB
 CPU Usage:		0.1% used, 0.0% iowait, 0.0% steal
 Load (1/5/15min):	0.46 0.16 0.05 
 Uptime:		1 Days, 0 Hours, 3 Minutes, 28 Seconds
 Kernel Version:	4.15.0-91-generic
 Network CC Method:	cubic + fq_codel

 -> Network Infomation

 IPV4 - IP Address:	[CN] 124.70.183.238
 IPV4 - ASN Info:	AS55990 (Huawei Cloud Service data center, CN)
 IPV4 - Region:		China Shanghai Shanghai

3、磁盘IO/内存测试等

IO大厂都一个德性么,都不怎么高。

-> CPU Performance Test (Fast Mode, 1-Pass @ 5sec)

 1 Thread Test: 		1122 Scores

 -> Memory Performance Test (Fast Mode, 1-Pass @ 5sec)

 1 Thread - Read Test :		21760.68 MB/s
 1 Thread - Write Test:		15671.10 MB/s

 -> Disk Speed Test (4K Block/1M Block, Direct Mode)

 Test Name		Write Speed				Read Speed
 100MB-4K Block		6.2 MB/s (1514 IOPS, 16.91s)		12.3 MB/s (2997 IOPS, 8.54s)
 1GB-1M Block		156 MB/s (149 IOPS, 6.71s)		188 MB/s (179 IOPS, 5.56s)

在看一个IO测试

I/O speed(1st run)   : 171 MB/s
I/O speed(2nd run)   : 160 MB/s
I/O speed(3rd run)   : 155 MB/s
Average I/O speed    : 162.0 MB/s

4、内存大小测试

给的内存还是没有缩水,2G,不多不少。

Physical Memory Array
	Location: Other
	Use: System Memory
	Error Correction Type: Multi-bit ECC
	Maximum Capacity: 2 GB
	Error Information Handle: Not Provided
	Number Of Devices: 1

Handle 0x1100, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x1000
	Error Information Handle: Not Provided
	Total Width: Unknown
	Data Width: Unknown
	Size: 2048 MB
	Form Factor: DIMM
	Set: None
	Locator: DIMM 0
	Bank Locator: Not Specified
	Type: RAM
	Type Detail: Other
	Speed: Unknown
	Manufacturer: QEMU

5、unixbench跑分

unixbench得分很高,单核得分高达2000分。

5、路由掉包

国内访问是没问题的,国外访问速度不行。

6、服务器带宽

上传1M,下载还不错。

     Server: Shandong Unicom 5G - Jinan 
     ISP: Huawei Cloud Service data center
     Latency:    22.82 ms   
     Download:   135.79 Mbps 
     Upload:     1.19 Mbps 

7、网络速度

和上面的结果一样。

 Node Name        Upload Speed      Download Speed      Latency     
 Speedtest.net    1.00 Mbit/s       134.79 Mbit/s       23.86 ms    
 Fast.com         0.00 Mbit/s       21.4 Mbit/s         -           
 Nanjing 5G   CT  0.98 Mbit/s       125.95 Mbit/s       11.00 ms    
 Hefei 5G     CT  1.06 Mbit/s       163.31 Mbit/s       13.01 ms    
 Guangzhou 5G CT  1.07 Mbit/s       138.73 Mbit/s       33.56 ms    
 TianJin 5G   CU  1.10 Mbit/s       158.74 Mbit/s       23.83 ms    
 Shanghai 5G  CU  1.08 Mbit/s       117.54 Mbit/s       6.71 ms     
 Guangzhou 5G CU  1.02 Mbit/s       154.73 Mbit/s       32.97 ms    
 Tianjin 5G   CM  1.02 Mbit/s       142.45 Mbit/s       22.32 ms    
 Wuxi 5G      CM  0.74 Mbit/s       150.15 Mbit/s       15.79 ms    
 Nanjing 5G   CM  1.23 Mbit/s       118.40 Mbit/s       17.21 ms    
 Hefei 5G     CM  1.04 Mbit/s       143.10 Mbit/s       14.29 ms    
 Changsha 5G  CM  1.16 Mbit/s       139.34 Mbit/s       24.14 ms

8、并发测试

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

请求服务器:腾讯云上海云服务器延迟5毫秒

Server Software:        nginx
Server Hostname:        124.70.183.238
Server Port:            80

Document Path:          /50kb.html
Document Length:        51276 bytes

Concurrency Level:      300
Time taken for tests:   61.146 seconds
Complete requests:      300
Failed requests:        65
   (Connect: 0, Receive: 0, Length: 65, Exceptions: 0)
Write errors:           0
Keep-Alive requests:    235
Total transferred:      14103999 bytes
HTML transferred:       14026899 bytes
Requests per second:    4.91 [#/sec] (mean)
Time per request:       61146.375 [ms] (mean)
Time per request:       203.821 [ms] (mean, across all concurrent requests)
Transfer rate:          225.25 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    7   3.7      8      11
Processing:     0 35519 17475.2  37964   61113
Waiting:        7 1715 8482.0     13   56188
Total:          0 35526 17476.6  37972   61123

Percentage of the requests served within a certain time (ms)
  50%  37972
  66%  45088
  75%  50077
  80%  54193
  90%  58341
  95%  59991
  98%  60308
  99%  60932
 100%  61123 (longest request)

9、宝塔跑分

10、放行安全组

如果你用来安装宝塔,建站,你需要更改安全组设置。这里简单提一下。你可以在控制台直接设置,看图:

 

你也可以进入云主机管理,在安全组中设置,也是选择Sys-FullAccess即可,如图:

11、最后

应该说云耀云服务器的性能很强大,虽然是单核,但是性能也不容小觑,单核得分很恐怖,2000多分。

虽然带宽是1M,但是下行可以跑到150M,也就是说下行没做什么限制。上行是限制了1M带宽。

并发还行吧,如果你用来做个人博客,网站是足够了。重要的是CPU性能也没啥限制。