快云的香港机房要求还是挺严格的,带宽峰值是20M,双向cn2 gia线路。流量也做了限制,比如你买的1核1G的配置,可以选择最低200G,的流量,也可以根据自己需求来购买流量,流量最大10T。具体看图:
这篇文章就来测试下手上的这台4核4G的机器,看看性能如何。至于商家介绍和优惠可以看之前的文章。
[mark_a]
[/mark_a]
1、简介
1)官网
9折优惠码(仅限香港机房使用) :KGH1CSrV
2)例举2个比价有性价比的产品
内存 | CPU | SSD | 流量 | 带宽 | 价格 | 购买 |
1G | 1核 | 40G+10GB | 500G/月 | 峰值20M | 34元/月 | 链接 |
2G | 2核 | 40G+10GB | 500G/月 | 峰值20M | 49元/月 | 链接 |
3)测试IP
香港云沙田CN2线路 6区 测试IP:103.254.108.116
香港云BGP数据中心 高配5区测试IP:180.215.197.234
香港云BGP数据中心 高配4区测试IP: 180.215.197.234
香港云沙田CN2线路 3区测试IP: 43.243.74.69
香港云安畅CN2线路 2区测试IP:154.91.157.115
香港云新界CN2线路 高配1区测试IP:45.144.136.79
2、机器性能
CPU E5-2696 v2 @ 2.50GHz
OS Release:CentOS Linux 7.6.1810 (x86_64) CPU Model:Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz 2.50 GHz CPU Cache Size:4096 KB CPU Number:4 vCPU Virt Type:KVM Memory Usage:685.01 MB / 3.70 GB Swap Usage:0 KB / 2.00 GB Boot Device:/dev/mapper/centos-root Disk Usage:3.21 GB / 17.81 GB CPU Usage:4.8% used, 0.0% iowait, 0.0% steal Load (1/5/15min):0.00 0.01 0.05 Uptime:0 Days, 5 Hours, 27 Minutes, 25 Seconds Kernel Version:3.10.0-957.12.2.el7.x86_64 Network CC Method:cubic + pfifo_fast -> Network Infomation IPV4 - IP Address:[HK] 103.254.108.116 IPV4 - ASN Info:AS38197 (SUNHK-DATA-AS-AP - Sun Network (Hong Kong) Limited, HK) IPV4 - Region:China Hong Kong
3、媒体解锁
HBO Now:No Bahamut Anime:No Abema.TV:No Princess Connect Re:Dive Japan:No BBC:No BiliBili China Mainland Only:No BiliBili Hongkong/Macau/Taiwan:Yes Bilibili Taiwan Only:No
4、CPU、磁盘等信息
磁盘IO可能用的人比较少,或者商家还没做限制,跑的也还不错。
-> CPU Performance Test (Fast Mode, 1-Pass @ 5sec) 1 Thread Test: 811 Scores 4 Threads Test: 3249 Scores -> Memory Performance Test (Fast Mode, 1-Pass @ 5sec) 1 Thread - Read Test :17019.37 MB/s 1 Thread - Write Test:13799.24 MB/s -> Disk Speed Test (4K Block/1M Block, Direct Mode) Test NameWrite SpeedRead Speed 100MB-4K Block9.7 MB/s (2365 IOPS, 10.82s)9.9 MB/s (2411 IOPS, 10.62s) 1GB-1M Block101 MB/s (95 IOPS, 10.43s)862 MB/s (822 IOPS, 1.22s)
I/O Speed(1st run) : 287 MB/s I/O Speed(2nd run) : 337 MB/s I/O Speed(3rd run) : 368 MB/s Average I/O speed : 330.7 MB/s
5、服务器测速
带宽目前情况是上下行都可以跑满~~也就是商家说标注的20M峰值带宽~~
Server: HGC環電 - Hong Kong ISP: Sun Network Latency: 3.80 ms Download: 19.75 Mbps Upload: 21.60 Mbps Packet Loss: 0.0%---------------------------------------------------------------------- Node Name Upload Speed Download Speed Latency 上海 电信 21.71 Mbps 19.71 Mbps 44.06 ms 广州 电信5G 21.69 Mbps 19.74 Mbps 10.89 ms 北京 联通 21.70 Mbps 19.76 Mbps 106.91 ms 上海 移动5G 20.92 Mbps 19.62 Mbps 54.07 ms 北京 移动 21.33 Mbps 19.72 Mbps 43.89 ms 重庆 移动 20.93 Mbps 19.46 Mbps 37.24 ms
6、路由测试
上面的都是浮云啊,大家最关心的还是线路。
电信回程:cn2 gia线路
Traceroute to China, Beijing CT (TCP Mode, Max 30 Hop)============================================================traceroute to 180.149.128.9 (180.149.128.9), 30 hops max, 60 byte packets 1 43.243.74.126 0.42 ms AS38197 China Hong Kong snw.hk 2 * 3 63.140.7.57 1.26 ms AS4809 China Hong Kong ChinaTelecom 4 59.43.246.181 107.08 ms AS13030 China Hong Kong ChinaTelecom 5 59.43.246.225 82.79 ms AS13030 China Guangdong Guangzhou ChinaTelecom 6 * 7 59.43.132.13 40.70 ms AS13030 China Beijing ChinaTelecom 8 * 9 36.110.244.46 51.22 ms AS23724 China Beijing ChinaTelecom10 *11 180.149.128.9 49.37 ms AS23724 China Beijing ChinaTelecomTraceroute to China, Shanghai CT (TCP Mode, Max 30 Hop)============================================================traceroute to 180.153.28.5 (180.153.28.5), 30 hops max, 60 byte packets 1 43.243.74.126 0.45 ms AS38197 China Hong Kong snw.hk 2 * 3 63.140.7.57 1.04 ms AS4809 China Hong Kong ChinaTelecom 4 59.43.247.85 4.19 ms AS13030 China Guangdong Guangzhou ChinaTelecom 5 59.43.249.26 24.45 ms AS13030 China Shanghai ChinaTelecom 6 * 7 59.43.138.53 33.16 ms AS13030 China Shanghai ChinaTelecom 8 202.97.70.229 37.71 ms AS13030 China Shanghai ChinaTelecom 9 101.95.120.125 29.48 ms AS4812 China Shanghai ChinaTelecom10 *11 124.74.232.242 37.49 ms AS4812 China Shanghai ChinaTelecom12 101.227.255.34 34.18 ms AS4812 China Shanghai ChinaTelecom13 101.227.255.34 34.57 ms AS4812 China Shanghai ChinaTelecom14 180.153.28.5 70.87 ms AS4812 China Shanghai ChinaTelecom
电信去程:cn2 gia线路
移动回程走的cn2线路
Traceroute to China, Shanghai CM (TCP Mode, Max 30 Hop)============================================================traceroute to 221.183.55.22 (221.183.55.22), 30 hops max, 60 byte packets 1 43.243.74.126 8.76 ms AS38197 China Hong Kong snw.hk 2 * 3 63.140.7.57 1.52 ms AS4809 China Hong Kong ChinaTelecom 4 59.43.247.85 2.14 ms AS13030 China Guangdong Guangzhou ChinaTelecom 5 59.43.188.125 4.61 ms AS13030 China Guangdong Guangzhou ChinaTelecom 6 * 7 59.43.130.145 8.04 ms AS13030 China Guangdong Guangzhou ChinaTelecom 8 202.97.55.174 15.50 ms AS4134 China Guangdong Guangzhou ChinaTelecom 9 202.97.63.206 10.09 ms AS4134 China Guangdong Guangzhou ChinaTelecom10 *11 221.176.18.97 49.24 ms AS9808 China Guangdong Guangzhou ChinaMobile12 221.176.16.205 35.73 ms AS9808 China Shanghai ChinaMobile13 221.183.55.22 42.46 ms AS9808 China Shanghai ChinaMobile
Traceroute to China, Guangzhou CM (TCP Mode, Max 30 Hop)============================================================traceroute to 120.196.212.25 (120.196.212.25), 30 hops max, 60 byte packets 1 43.243.74.126 1.24 ms AS38197 China Hong Kong snw.hk 2 * 3 63.140.7.57 11.60 ms AS4809 China Hong Kong ChinaTelecom 4 59.43.247.93 1.00 ms AS13030 China Hong Kong ChinaTelecom 5 59.43.187.177 15.70 ms AS13030 China Guangdong Guangzhou ChinaTelecom 6 * 7 * 8 202.97.55.218 13.87 ms AS4134 China Guangdong Guangzhou ChinaTelecom 9 202.97.63.198 8.28 ms AS4134 China Guangdong Guangzhou ChinaTelecom10 221.183.54.117 8.24 ms AS9808 China Guangdong Guangzhou ChinaMobile11 221.176.22.185 46.70 ms AS9808 China Guangdong Guangzhou ChinaMobile12 111.24.4.241 46.23 ms AS9808 China Guangdong Guangzhou ChinaMobile13 211.136.214.130 49.71 ms AS56040 China Guangdong Guangzhou ChinaMobile14 211.139.180.106 13.26 ms AS56040 China Guangdong Guangzhou ChinaMobile15 120.196.212.25 9.82 ms AS56040 China Guangdong Guangzhou ChinaMobile
移动去程:走的cmi线路
联通回程:走的cn2 gia线路
Traceroute to China, Beijing CU (TCP Mode, Max 30 Hop)============================================================traceroute to 123.125.99.1 (123.125.99.1), 30 hops max, 60 byte packets 1 43.243.74.126 0.41 ms AS38197 China Hong Kong snw.hk 2 * 3 63.140.7.57 1.31 ms AS4809 China Hong Kong ChinaTelecom 4 59.43.247.93 1.55 ms AS13030 China Hong Kong ChinaTelecom 5 59.43.189.81 29.22 ms AS13030 China Shanghai ChinaTelecom 6 * 7 59.43.138.53 35.13 ms AS13030 China Shanghai ChinaTelecom 8 59.43.80.94 32.33 ms AS13030 China Shanghai ChinaTelecom 9 202.97.45.45 28.63 ms AS4134 China Shanghai ChinaTelecom10 202.97.17.194 34.32 ms AS4134 China Shanghai ChinaTelecom11 219.158.6.229 31.60 ms AS4837 China Shanghai ChinaUnicom12 219.158.6.169 49.83 ms AS4837 China Beijing ChinaUnicom13 125.33.186.22 46.65 ms AS4808 China Beijing ChinaUnicom14 124.65.63.38 59.31 ms AS4808 China Beijing ChinaUnicom15 61.148.159.30 72.44 ms AS4808 China Beijing ChinaUnicom16 61.148.158.102 70.29 ms AS4808 China Beijing ChinaUnicom17 61.135.113.158 71.53 ms AS4808 China Beijing ChinaUnicom18 *19 *20 123.125.99.1 83.89 ms AS4808 China Beijing ChinaUnicom
联通去程
7、掉包测试
测试时间:晚上23点,测试40分钟
8、内存性能测试
可能这里没调整好,4G内存,竟然可以跑到4840MB~~
4710MB allocated4720MB allocated4730MB allocated4740MB allocated4750MB allocated4760MB allocated4770MB allocated4780MB allocated4790MB allocated4800MB allocated4810MB allocated4820MB allocated4830MB allocated4840MB allocatedKilled
9、DB测试
- MyISAM引擎 100 并发查询时间: 1.386秒
- MyISAM引擎 1000并发查询时间:2.029秒
- InnoDB引擎 100 并发查询时间: 1.093秒
- InnoDB引擎 1000并发查询时间:1.95秒
BenchmarkRunning for engine myisamAverage number of seconds to run all queries: 1.378 secondsMinimum number of seconds to run all queries: 1.344 secondsMaximum number of seconds to run all queries: 1.438 secondsNumber of clients running queries: 100Average number of queries per client: 20BenchmarkRunning for engine myisamAverage number of seconds to run all queries: 2.026 secondsMinimum number of seconds to run all queries: 1.976 secondsMaximum number of seconds to run all queries: 2.086 secondsNumber of clients running queries: 1000Average number of queries per client: 2BenchmarkRunning for engine innodbAverage number of seconds to run all queries: 1.092 secondsMinimum number of seconds to run all queries: 1.070 secondsMaximum number of seconds to run all queries: 1.119 secondsNumber of clients running queries: 100Average number of queries per client: 20BenchmarkRunning for engine innodbAverage number of seconds to run all queries: 1.888 secondsMinimum number of seconds to run all queries: 1.668 secondsMaximum number of seconds to run all queries: 2.295 secondsNumber of clients running queries: 1000Average number of queries per client: 2
10、并发测试
50KB静态页面测试 并发 ≈ 2000
请求服务器:腾讯云重庆云服务器延迟50毫秒
Server Software: nginxServer Hostname: ***Server Port:80Document Path: /50kb.htmlDocument Length: 51276 bytesConcurrency Level: 2000Time taken for tests: 95.562 secondsComplete requests: 2000Failed requests: 162 (Connect: 0, Receive: 0, Length: 162, Exceptions: 0)Write errors: 0Total transferred: 50001600 bytesHTML transferred: 49749600 bytesRequests per second: 10.46 [#/sec] (mean)Time per request: 95562.204 [ms] (mean)Time per request: 95.562 [ms] (mean, across all concurrent requests)Transfer rate: 510.97 [Kbytes/sec] receivedConnection Times (ms) min mean[+/-sd] median maxConnect: 41 53 4.8 54 66Processing: 190 48434 17302.8 49469 95415Waiting: 43 4486 10806.9 711 80115Total: 237 48487 17302.9 49512 95461Percentage of the requests served within a certain time (ms) 50% 49512 66% 56441 75% 60386 80% 62632 90% 71801 95% 76680 98% 82183 99% 84973 100% 95461 (longest request)
11、最后
1)线路不错,电信双线,移动和联通回城都走了cn2 gia线路,线路总体稳定,国内访问良好。就是不知道,这么好的线路可以维持多久*^____^*
2)带宽限制的还是很严格的,最低200G流量起步,这个很大程度上可以限制滥用。
3)建站,如果一直这么稳定,建站是可以的。
4)产品定位,感觉定位是比腾讯,阿里的的轻量产品的位置。不过,线路要更好一点,而且带宽和流量都做了严格的限制。不是那种,一上来就是各种无限流量忽悠人的哪种商家。
5)如果购买有点担心啥的,可以选择月付,毕竟最便宜的20几块钱,还是cn2 gia线路,用一个月也回本了。
评论前必须登录!
注册