最近在测试 VPS 网络时发现一个非常离谱的情况,本以为圣何塞到洛杉矶很近,延迟应该很低,结果实测却高达 80ms,而洛杉矶到国内的延迟反而只有 120ms 左右,简直令人震惊。
我使用了 ping 和 mtr 进行测试,整理了数据如下
Ping 测试
ping 洛杉矶服务器
root@****:~# ping ****PING **** (****) 56(84) bytes of data.64 bytes from ****: icmp_seq=1 ttl=48 time=88.0 ms64 bytes from ****: icmp_seq=2 ttl=48 time=87.7 ms64 bytes from ****: icmp_seq=3 ttl=48 time=87.8 ms64 bytes from ****: icmp_seq=4 ttl=48 time=88.2 ms64 bytes from ****: icmp_seq=5 ttl=48 time=87.8 ms64 bytes from ****: icmp_seq=6 ttl=48 time=87.7 ms64 bytes from ****: icmp_seq=7 ttl=48 time=87.7 ms64 bytes from ****: icmp_seq=8 ttl=48 time=87.8 ms64 bytes from ****: icmp_seq=9 ttl=48 time=91.5 ms64 bytes from ****: icmp_seq=10 ttl=48 time=87.7 ms64 bytes from ****: icmp_seq=11 ttl=48 time=88.4_MTR 路由测试
root@****:~# mtr -rw ****Start: 2025-12-06T23:36:44+0800HOST: **** Loss% Snt Last Avg Best Wrst StDev 1.|-- ****-host.colocrossing.com 0.0% 10 1.9 1.4 1.1 1.9 0.2 2.|-- 10.5.0.121 0.0% 10 0.9 0.9 0.7 1.0 0.1 3.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 4.|-- be8315.ccr82.sjc13.atlas.cogentco.com 0.0% 10 1.4 2.1 1.2 2.9 0.6 5.|-- be5991.ccr22.sfo01.atlas.cogentco.com 0.0% 10 2.8 2.6 2.4 2.8 0.1 6.|-- be2077.ccr22.sea02.atlas.cogentco.com 0.0% 10 20.9 19.8 19.6 20.9 0.4 7.|-- 38.142.51.82 0.0% 10 19.0 19.0 18.9 19.1 0.1 8.|-- po8.chi-eqxch1-cr7.globalsecurelayer.com 0.0% 10 61.8 61.8 61.5 62.6 0.3 9.|-- po20.lax-csla2-bb5.globalsecurelayer.com 0.0% 10 87.7 87.7 87.6 87.9 0.1 10.|-- unknown.globalsecurelayer.com 0.0% 10 87.6 87.6 87.5 87.8 0.1 11.|-- po3.lax-csla2-sw4.globalsecurelayer.com 0.0% 10 87.7 87.7 87.6 87.9 0.1 12.|-- uscala-csla2-e1-irb409-gsl.it7.net 0.0% 10 87.9 89.7 87.7 106.4 5.9 13.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 14.|-- ****.16clouds.com 0.0% 10 87.8 88.4 87.8 90.6 0.9可以看到,虽然物理距离很近,但流量却走了 SJC → SFO → SLC → DEN → DFW → ELP → PHX → LAX 的绕行线路,这绕得也太离谱了。
物理距离近 ≠ 网络延迟低
大家有没有遇到过类似情况?有解吗?
评论 (0)