阿里云轻量服务器speedtest测试

jimmy 2020年12月09日 668次浏览

安装speedtest

[root@izj6c0uo1c6bfgngwdvjf8z ~]# wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
--2020-12-09 14:00:21--  https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.76.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.76.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65018 (63K) [text/plain]
Saving to: ‘speedtest-cli’

100%[======================================================================================================================================================================================>] 65,018      --.-K/s   in 0.001s  

2020-12-09 14:00:21 (46.3 MB/s) - ‘speedtest-cli’ saved [65018/65018]

执行测试脚本

[root@izj6c0uo1c6bfgngwdvjf8z ~]# chmod +x speedtest-cli
[root@izj6c0uo1c6bfgngwdvjf8z ~]# ./speedtest-cli --share
Retrieving speedtest.net configuration...
Testing from Alibaba (47.242.163.1)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Pinpoint Communications (Gothenburg, NE) [12101.90 km]: 184.986 ms
Testing download speed................................................................................
Download: 76.34 Mbit/s
Testing upload speed................................................................................................
Upload: 3.64 Mbit/s
Share results: http://www.speedtest.net/result/10556934365.png

最便宜的$3.5每月的香港服务器,1C512M,4Mbps带宽,测试上传速度只有3.64 Mbit/s。