我们买国外VPS服务器测试网络通常会用到speedtest,speedtest默认是测试到最近的节点,那么到国内速度如何呢?虽然可以指定服务器编号,但是一个个测试还是比较麻烦的,这里推荐一个脚本整合了几个国内的测试点,还是比较方便的。Superspeed已更新为SuperBench.sh,整合了teddysun大佬的 bench.sh 脚本。
更新
- 新增 Virt 检测服务器类型参数,常见 openvz,kvm,独服都能检测出来
- 新增独服通电时间检测。
- 修复,speedtest 延迟飘逸,飘逸延迟统一改为 000.000 ms
- 修改 I/O 测试块大小
- 统一字符为英文,解决乱码问题
一、使用方法
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
附带linode最低配云主机运行superbench.sh测试结果:
———————————————————————- |
Superbench.sh — https://www.oldking.net/350.html |
Mode : Standard Version : 1.1.4 |
Usage : wget -qO- git.io/superbench.sh | bash |
———————————————————————- |
which: no dmidecode in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) |
CPU Model : Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz |
CPU Cores : 1 Cores @ 2299.998 MHz x86_64 |
CPU Cache : 16384 KB |
OS : CentOS 6.8 (64 Bit) KVM |
Kernel : 4.18.16-x86_64-linode118 |
Total Space : 0.9 GB / 25.0 GB |
Total RAM : 214 MB / 970 MB (6 MB Buff) |
Total SWAP : 0 MB / 511 MB |
Uptime : 0 days 0 hour 2 min |
Load Average : 0.12, 0.03, 0.01 |
TCP CC : cubic |
ASN & ISP : AS63949, Linode, LLC |
Organization : Linode |
Location : Tokyo, Japan / JP |
Region : Tokyo |
———————————————————————- |
I/O Speed( 1.0GB ) : 50.2 MB/s |
I/O Speed( 1.0GB ) : 1.0 GB/s |
I/O Speed( 1.0GB ) : 1.0 GB/s |
Average I/O Speed : 699.4 MB/s |
———————————————————————- |
Node Name Upload Speed Download Speed Latency |
Speedtest.net 189.76 Mbit/s 606.88 Mbit/s 27.475 ms |
Fast.com 0.00 Mbit/s 100.1 Mbit/s – |
Nanjing CT 2.33 Mbit/s 31.34 Mbit/s – |
Xiangyang CT 2.07 Mbit/s 2.35 Mbit/s – |
Hangzhou CT 70.87 Mbit/s 35.81 Mbit/s – |
Chongqing CT 1.37 Mbit/s 0.47 Mbit/s – |
Shanghai CU 3.05 Mbit/s 14.57 Mbit/s – |
Xi’an CU 41.91 Mbit/s 26.12 Mbit/s – |
Chongqing CU 36.43 Mbit/s 18.29 Mbit/s – |
Chengdu CM 2.50 Mbit/s 4.91 Mbit/s – |
Kunming CM 4.82 Mbit/s 126.62 Mbit/s – |
Guangzhou CM 13.55 Mbit/s 74.14 Mbit/s – |
———————————————————————- |
Finished in : 6 min 11 sec |
Timestamp : 2019-03-07 11:08:53 GMT+8 |