引言
有时候我们想测试一下自己的带宽,或者梯子的速度。又或者我们想看看我们服务器的速度到底有多快?那么就需要一个大文件来支撑我们进行这样的测试。
而这样的测速文件需要有两个特性:
- 不受速率限制,也就是说能把你的带宽拉到满。
- 稳定性强,这能保证你持续的下载而不会断点。
来源
Internet Speed Test – Measure Network Performance | Cloudflare
来自于cloudflare,稳定性毋庸置疑。
测速链接
从中进行提取下载链接,会发现如下规律
https://speed.cloudflare.com/__down?bytes={size}
其中size的单位为Bytes,比如 1MB = 1024KB = 1048576Bytes
常见的单位:
100MB = 104857600Bytes
200MB = 209715200Bytes
500MB = 524288000Bytes
1GB = 1073741824Byte
HTMLCopy
举例:
100MB测速链接:https://speed.cloudflare.com/__down?bytes=104857600
500MB测速链接:https://speed.cloudflare.com/__down?bytes=524288000
1GB测速链接:https://speed.cloudflare.com/__down?bytes=1073741824
另外附上其他云厂商对外的测速文件地址:
CacheFly
Location: CDN
wget -O /dev/null http://cachefly.cachefly.net/100mb.test
SoftLayer
Location: USA and Amsterdam
wget -O /dev/null http://speedtest.dal01.softlayer.com/downloads/test100.zip
wget -O /dev/null http://speedtest.sea01.softlayer.com/downloads/test100.zip
wget -O /dev/null http://speedtest.ams01.softlayer.com/downloads/test500.zip
Linode
Location: USA, UK, and Japan
wget -O /dev/null http://speedtest.tokyo.linode.com/100MB-tokyo.bin
wget -O /dev/null http://speedtest.london.linode.com/100MB-london.bin
wget -O /dev/null http://speedtest.newark.linode.com/100MB-newark.bin
wget -O /dev/null http://speedtest.atlanta.linode.com/100MB-atlanta.bin
wget -O /dev/null http://speedtest.dallas.linode.com/100MB-dallas.bin
wget -O /dev/null http://speedtest.fremont.linode.com/100MB-fremont.bin
Leaseweb
Location: USA and Netherlands
wget -O /dev/null http://mirror.nl.leaseweb.net/speedtest/1000mb.bin
wget -O /dev/null http://mirror.us.leaseweb.net/speedtest/1000mb.bin
FDCServer
Location: USA
wget -O /dev/null http://lg.denver.fdcservers.net/100MBtest.zip
OVH
Location: France
wget -O /dev/null http://proof.ovh.net/files/100Mb.dat