本文搜集了一些可用于VPS/服务器的下载测速文件,从100MB
到10GB
。测速文件来源较为丰富,包括Cloudflare
、Vultr
、OVH
、Hivelocity
等国外厂商的测试文件,同时为了方便中国大陆用户测试,文章也列举了由QQ
、Apple
等提供的在中国大陆有CDN节点的测速文件。可以说,下列的文件可以满足大部分的下载测速场景。需要注意的是,Vultr
的测速文件有一定限制,多次重复下载可能会返回错误代码。
真延迟测试
苹果
https://www.apple.com/library/test/success.html
谷歌
https://www.google.com/generate_204
curl
分析网络延迟
curl -o /dev/null -s -w "DNS lookup: %{time_namelookup}s\nTCP connect: %{time_connect}s\nSSL handshake: %{time_appconnect}s\nServer processing: %{time_starttransfer}s\nTotal time: %{time_total}s\n" \
-H "Cache-Control: no-cache, no-store, must-revalidate" \
-H "Pragma: no-cache" \
-H "Expires: 0" \
--resolve www.apple.com:443:$(dig +short www.apple.com | head -n1) \
https://www.apple.com/library/test/success.html
这个命令会禁用缓存并输出如下参数:
DNS lookup: 0.050s
TCP connect: 0.200s
SSL handshake: 0.350s
Server processing: 0.900s
Total time: 1.500s
介绍:
DNS lookup
:DNS 解析时间
TCP connect
:网络连接时间
SSL handshake
:TLS 握手时间
Server processing
:服务器响应时间
Total time
:整个请求的时间,也就是真连接延迟
查看解析的IP和状态码
curl -o /dev/null -s --resolve docker-cf.mrs.1ms.run:443:$(dig +short docker-cf.mrs.1ms.run | head -n1) \
-w "Remote IP: %{remote_ip}\nHTTP Status: %{http_code}\n" \
https://docker-cf.mrs.1ms.run
清理DNS缓存
sudo systemctl restart systemd-resolved
下载速度测试
- 使用
wget
测速的话部分链接需要加双引号
推荐国外使用(Cloudflare Anycast)。
100MB
https://speed.cloudflare.com/__down?during=download&bytes=104857600
1GB
https://speed.cloudflare.com/__down?during=download&bytes=1073741824
10GB
https://speed.cloudflare.com/__down?during=download&bytes=10737418240
中国大陆推荐
200MB(QQ)
腾讯CDN加速。
https://dldir1.qq.com/qqfile/qq/PCQQ9.7.17/QQ9.7.17.29225.exe
300MB(阿里CDN)
https://wirelesscdn-download.xuexi.cn/publish/xuexi_android/latest/xuexi_android_10002068.apk
1000MB (教育网)
http://speedtest.zju.edu.cn/1000M
1GB/10GB(电信)
http://vipspeedtest8.wuhan.net.cn:8080/download?size=1073741824
http://vipspeedtest8.wuhan.net.cn:8080/download?size=10737418240
亚洲
中国香港
100MB (Datapacket/CDN77)
http://hkg.download.datapacket.com/100mb.bin
1000MB(Datapacket/CDN77)
http://hkg.download.datapacket.com/1000mb.bin
10000MB(Datapacket/CDN77)
http://hkg.download.datapacket.com/10000mb.bin
新加坡
100/1000/10000MB (Datapacket/CDN77)
http://sgp.download.datapacket.com/100mb.bin
http://sgp.download.datapacket.com/1000mb.bin
http://sgp.download.datapacket.com/10000mb.bin
100MB(OVH)
https://sgp.proof.ovh.net/files/100Mb.dat
100MB(Vultr)
https://sgp-ping.vultr.com/vultr.com.100MB.bin
1GB(OVH)
https://sgp.proof.ovh.net/files/1Gb.dat
1GB(Vultr)
https://sgp-ping.vultr.com/vultr.com.1000MB.bin
10GB(OVH)
https://sgp.proof.ovh.net/files/10Gb.dat
日本东京
100/1000/10000MB (Datapacket/CDN77)
http://tyo.download.datapacket.com/100mb.bin
http://tyo.download.datapacket.com/1000mb.bin
http://tyo.download.datapacket.com/10000mb.bin
100MB/1GB(Vultr)
https://hnd-jp-ping.vultr.com/vultr.com.100MB.bin
https://hnd-jp-ping.vultr.com/vultr.com.1000MB.bin
欧洲
德国
推荐使用Hetzner的测速文件。
100MB(Nuremberg-Hetzner)
https://nbg1-speed.hetzner.com/100MB.bin
100MB(Frankfurt-Vultr)
https://fra-de-ping.vultr.com/vultr.com.100MB.bin
1GB(Nuremberg-Hetzner)
https://nbg1-speed.hetzner.com/1GB.bin
1GB(Frankfurt-Vultr)
https://fra-de-ping.vultr.com/vultr.com.1000MB.bin
10GB(Nuremberg-Hetzner)
https://nbg1-speed.hetzner.com/10GB.bin
10GB(Frankfurt-Hivelocity)
https://speedtest.fra1.hivelocity.net/10GiB.file
法国
100/1000/10000MB (Datapacket/CDN77)
http://par.download.datapacket.com/100mb.bin
http://par.download.datapacket.com/1000mb.bin
http://par.download.datapacket.com/10000mb.bin
100MB(OVH)
https://gra.proof.ovh.net/files/100Mb.dat
1GB(OVH)
https://gra.proof.ovh.net/files/1Gb.dat
10GB(OVH)
https://gra.proof.ovh.net/files/10Gb.dat
北美
美西
100/1000/10000MB (Datapacket/CDN77 洛杉矶)
http://lax.download.datapacket.com/100mb.bin
http://lax.download.datapacket.com/1000mb.bin
http://lax.download.datapacket.com/10000mb.bin
100MB(Oregon-OVH)
https://hil.proof.ovh.us/files/100Mb.dat
100MB(LA-Vultr)
https://lax-ca-us-ping.vultr.com/vultr.com.100MB.bin
1GB(Oregon-OVH)
https://hil.proof.ovh.us/files/1Gb.dat
1GB(LA-Vultr)
https://lax-ca-us-ping.vultr.com/vultr.com.1000MB.bin
10GB(Oregon-OVH)
https://hil.proof.ovh.us/files/10Gb.dat
10GB (Oregon-Hetzner)
https://hil-speed.hetzner.com/10GB.bin
美东
100/1000/10000MB (Datapacket/CDN77 阿什本)
http://ash.download.datapacket.com/100mb.bin
http://ash.download.datapacket.com/1000mb.bin
http://ash.download.datapacket.com/10000mb.bin
100MB(Virginia-OVH)
https://vin.proof.ovh.us/files/100Mb.dat
100MB(New Jersey-Vultr)
https://nj-us-ping.vultr.com/vultr.com.100MB.bin
1GB(Virginia-OVH)
https://vin.proof.ovh.us/files/1Gb.dat
1GB(New Jersey-Vultr)
https://nj-us-ping.vultr.com/vultr.com.1000MB.bin
10GB(Virginia-OVH)
https://vin.proof.ovh.us/files/10Gb.dat
10GB(Virginia-Hetzner)
https://ash-speed.hetzner.com/10GB.bin