MarkSomethingDownLLS
MarkSomethingDownLLS copied to clipboard
msmbps
简介
msmbps 可以测量本地到多个云服务的速度,用来选择机房非常方便。
- 测试地址:https://www.msmbps.com/
- 项目地址:https://github.com/msmbps/msmbps
还有另外一个 copy 了 msmbps 的项目(基本上只是调整了 Web UI 上显示的内容而已)
- 测试地址:https://cloudping.github.io/
- 项目地址:https://github.com/cloudping/cloudping.github.io
效果图
Page 1 - More Popular Cloud Providers
Page 2 - Less Popular Cloud Providers
Page 3 - Amazon Web Services EC2 S3
Page 4 - Microsoft Azure & Google GCE
读图:
- Test latency(ms) and download(MBps) of many cloud service providers. DNS latency is excluded. You should click interesting datacenter, for its server and download, to test it further.
原理分析
- 测试整体
- 针对每个测试点进行 5 次测试
- 测试点定义于 targets.js
Page 1 - More Popular Cloud Providers
针对 Vultr
从 targets.js 配置中可知,Vultr 提供了 15 个测试点
- Frankfurt
- Amsterdam
- Paris
- London
- Singapore
- Tokyo
- New Jersey
- Chicago
- Seattle
- Atlanta
- Miami
- Dallas
- Silicon Valley
- Los Angeles
- Sydney
以 Frankfurt 为例
{
name: "Frankfurt",
url: "http://fra-de-ping.vultr.com/",
download: "http://fra-de-ping.vultr.com/vultr.com.100MB.bin"
}
读图:
- 这个工具可以用于测试全球任意位置到 Vultr 指定测试点的 latency 信息;
通过 dig
可以进一步确定 fra-de-ping.vultr.com
的地址为 108.61.210.117
[#4#root@ubuntu-1604 ~]$dig fra-de-ping.vultr.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> fra-de-ping.vultr.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40064
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;fra-de-ping.vultr.com. IN A
;; ANSWER SECTION:
fra-de-ping.vultr.com. 13 IN A 108.61.210.117
;; Query time: 12 msec
;; SERVER: 10.0.2.3#53(10.0.2.3)
;; WHEN: Thu Dec 20 16:42:33 CST 2018
;; MSG SIZE rcvd: 55
[#5#root@ubuntu-1604 ~]$
ping
测试
mtr
测试
traceroute
测试
此外,还支持 IPv6 测试,以及文件下载测试;
针对 Linode
从 targets.js 配置中可知,Linode 提供了 8 个测试点
- Newark
- Atlanta
- Dallas
- Fremont
- Frankfurt
- London
- Singapore
- Tokyo 2
也可以在 https://www.linode.com/speedtest 这里确认
以 Newark 为例
{
name: "Newark",
url: "http://speedtest.newark.linode.com/",
download: "http://speedtest.newark.linode.com/100MB-newark.bin"
}
标准 URL 会返回 403 Forbidden
实际测试时增加了一个随机字符串,会返回 404 Not Found
仅支持下载测试;
针对 DigitalOcean
从 targets.js 配置中可知,DigitalOcean 提供了 12 个测试点
- NYC1
- NYC2
- NYC3
- AMS2
- AMS3
- SFO1
- SFO2
- SGP1
- LON1
- FRA1
- TOR1
- BLR1
以 NYC1 为例
{
name: "NYC1",
url: "http://speedtest-nyc1.digitalocean.com/",
download: "http://speedtest-nyc1.digitalocean.com/100mb.test"
}
读图:
- 支持测试上传速度
- 支持测试下载速度
- 支持基于 ping 测试 latency
针对 VirMach
从 targets.js 配置中可知,VirMach 提供了 11 个测试点
- Frankfurt
- Amsterdam
- Buffalo
- Piscataway (NYC)
- Dallas
- Phoenix
- Los Angeles
- DDoS-Protected Los Angeles
- Chicago
- Seattle
- Atlanta
以 Frankfurt 为例
{
name: "Frankfurt",
url: "http://ffm.lg.virmach.com/",
download: "http://ffm.lg.virmach.com/100MB.test"
}
读取:
- 这个工具可以用于测试全球任意位置到 VirMach 指定测试点的访问情况;
通过 dig
进行确认
[#8#root@ubuntu-1604 ~]$dig ffm.lg.virmach.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> ffm.lg.virmach.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24562
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ffm.lg.virmach.com. IN A
;; ANSWER SECTION:
ffm.lg.virmach.com. 154 IN A 50.3.68.2
;; Query time: 7 msec
;; SERVER: 10.0.2.3#53(10.0.2.3)
;; WHEN: Fri Dec 21 13:56:29 CST 2018
;; MSG SIZE rcvd: 52
[#9#root@ubuntu-1604 ~]$
ping
测试
mtr
测试
traceroute
测试
host
测试
针对 BandwagonHost
Official test URLs of BandwagonHost
- BandwagonHost does not publicly provide test URLs)
- These are obtained by directly asking BandwagonHost)
从 targets.js 配置中可知,BandwagonHost 提供了 11 个测试点
- Los Angeles DC9 CN2 GIA KVM
- Los Angeles DC3 CN2 KVM
- Los Angeles DC8 CN2 KVM
- Los Angeles DC2 QNET KVM
- Los Angeles DC2 QNET OpenVZ
- Los Angeles DC4 MCOM
- Phoenix
- Fremont
- New York
- Netherlands
- Vancouver
以 Los Angeles DC9 CN2 GIA KVM 为例
{
name: "Los Angeles DC9 CN2 GIA KVM",
url: "http://65.49.131.102/"
}
部分提供下载测试,部分仅提供连通性测试;
针对 RamNode
从 targets.js 配置中可知,RamNode 提供了 5 个测试点
- New York City
- Atlanta
- Seattle
- Los Angeles
- Netherlands
以 New York City 为例
{
name: "New York City",
url: "http://lg.nyc.ramnode.com/",
download: "http://lg.nyc.ramnode.com/static/100MB.test"
}
ping
测试
mtr
测试
偶尔出现 502 ,怀疑是策略
traceroute
测试
针对 Host1Plus
在 https://www.host1plus.com/data-centers/ 提供了针对如下测试点的下载测试按钮
从 targets.js 配置中可知,Host1Plus 提供了 5 个测试点
- Los Angeles
- Chicago
- São Paulo
- Frankfurt
- Johannesburg
以 Los Angeles 为例
{
name: "Los Angeles",
url: "http://191.101.236.61/",
download: "http://191.101.236.61/100mb"
}
Page 2 - Less Popular Cloud Providers
针对 HiFormance
从 targets.js 配置中可知,HiFormance 提供了 5 个测试点
- Los Angeles
- Dallas
- Chicago
- Buffalo
- Atlanta
以 Los Angeles 为例
{
name: "Los Angeles",
url: "http://lg.losangeles.ca.hiformance.net/",
download: "http://lg.losangeles.ca.hiformance.net/100MB.test"
}
针对 BudgetVM
从 targets.js 配置中可知,BudgetVM 提供了 4 个测试点
- Chicago
- Dallas
- Los Angeles
- Miami
以 Chicago 为例
{
name: "Chicago",
url: "http://199.231.208.6/",
download: "http://199.231.208.6/1GB.test"
}
针对 INIZ
从 targets.js 配置中可知,INIZ 提供了 5 个测试点
- London
- Amsterdam
- Ashburn
- Los Angeles
- Singapore
以 London 为例
{
name: "London",
url: "http://lon-uk.lg.iniz.com/",
download: "http://lon-uk.lg.iniz.com/100MB.test"
}
针对 UltraVPS.eu
从 targets.js 配置中可知,UltraVPS.eu 提供了 5 个测试点
- Amsterdam
- Duesseldorf
- Dallas
- London
- Los Angeles
以 Amsterdam 为例
{
name: "Amsterdam",
url: "http://lg.ams.nl.ultravps.eu/",
download: "http://lg.ams.nl.ultravps.eu/100MB.test"
}
针对 HudsonValleyHost
从 targets.js 配置中可知,HudsonValleyHost 提供了 5 个测试点
- Dallas
- Buffalo
- Los Angeles
- Chicago
- Atlanta
以 Dallas 为例
{
name: "Dallas",
url: "http://lg-dal.hudsonvalleyhost.com/",
download: "http://lg-dal.hudsonvalleyhost.com/100MB.test"
}
针对 HostWinds
从 targets.js 配置中可知,HostWinds 提供了 2 个测试点
- Dallas
- Seattle
以 Dallas 为例
{
name: "Dallas",
url: "http://108.174.193.107/",
download: "http://108.174.193.107/100mb.zip"
}
针对 Kdatacenter
从 targets.js 配置中可知,Kdatacenter 提供了 1 个测试点
- Korea
以 Korea 为例
{
name: "Korea",
url: "http://downloadtest.kdatacenter.com/",
download: "http://downloadtest.kdatacenter.com/100MB"
}
Page 3 - Amazon Web Services EC2 S3
从页面上看,分类如下
- EC2
- EC2 (No Download)
- S3 (No Download)
针对 EC2
region | host |
---|---|
Asia Pacific (Singapore) | ap-southeast-1-ec2.cloudharmony.net |
Asia Pacific (Mumbai) | ap-south-1-ec2.cloudharmony.net |
Asia Pacific (Tokyo) | ap-northeast-1-ec2.cloudharmony.net |
Asia Pacific (Seoul) | ap-northeast-2-ec2.cloudharmony.net |
Asia Pacific (Sydney) | ap-southeast-2-ec2.cloudharmony.net |
US West (N. California) | us-west-1-ec2.cloudharmony.net |
US West (Oregon) | us-west-2-ec2.cloudharmony.net |
US East (N. Virginia) | us-east-1-ec2.cloudharmony.net |
EU (London) | eu-west-2-ec2.cloudharmony.net |
EU (Ireland) | eu-west-1-ec2.cloudharmony.net |
EU (Frankfurt) | eu-central-1-ec2.cloudharmony.net |
Canada (Central) | ca-central-1-ec2.cloudharmony.net |
South America (São Paulo) | sa-east-1-ec2.cloudharmony.net |
以上针对 AWS EC2 的测试数据来自 https://cloudharmony.com/
以 Asia Pacific (Singapore) 为例
AMI 提供的测试页
测试用的 URL
针对 EC2 (No Download)
region | host |
---|---|
Singapore | 13.228.0.251 |
London | 3.8.0.0 |
Mumbai | 13.126.0.252 |
Sydney | 13.54.63.252 |
Ireland | 18.202.0.0 |
North California | 13.52.0.0 |
Oregon | 18.236.0.0 |
Tokyo | 13.112.63.251 |
Osaka-Local | 13.208.32.253 |
North Virginia | 18.204.0.0 |
Canada Central | 35.182.0.251 |
Ohio | 3.16.0.0 |
Paris | 35.180.0.253 |
Seoul | 13.124.63.251 |
Frankfurt | 3.120.0.0 |
São Paulo | 18.228.0.0 |
以 Singapore 为例
针对 S3 (No Download)
region | host |
---|---|
Asia Pacific (Singapore) | s3.ap-southeast-1.amazonaws.com |
Asia Pacific (Mumbai) | s3.ap-south-1.amazonaws.com |
Asia Pacific (Osaka-Local) | s3.ap-northeast-3.amazonaws.com |
Asia Pacific (Tokyo) | s3.ap-northeast-1.amazonaws.com |
Asia Pacific (Sydney) | s3.ap-southeast-2.amazonaws.com |
EU (Paris) | s3.eu-west-3.amazonaws.com |
US West (N. California) | s3.us-west-1.amazonaws.com |
US West (Oregon) | s3.us-west-2.amazonaws.com |
US East (N. Virginia) | s3.amazonaws.com |
EU (Ireland) | s3.eu-west-1.amazonaws.com |
EU (Frankfurt) | s3.eu-central-1.amazonaws.com |
South America (São Paulo) | s3.sa-east-1.amazonaws.com |
以 Asia Pacific (Singapore) 为例
通过访问一个不存在的 Bucket 进行测试