librespeed / speedtest

Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more
https://librespeed.org
GNU Lesser General Public License v3.0
11.96k stars 2.17k forks source link

server 78 seems to report an incorrect location (maybe anycasted?) #572

Closed moeller0 closed 10 months ago

moeller0 commented 1 year ago

Description

librespeed reports impossible server locations. Here is the output of automated once-per-night librespeed runs:

Virginia, United States, OVH    9/2/2023 3:01 AM    92.45   42.74   1.62    18
Virginia, United States, OVH    9/1/2023 3:01 AM    92.49   42.75   0.38    17
Frankfurt, Germany (Clouvider)  8/31/2023 3:01 AM   96.56   42.52   0.25    17.64
Frankfurt, Germany (Clouvider)  8/30/2023 7:21 PM   92.96   42.61   0.14    19

Note how the upper two pretend to be located in Virgina over the atlantic ocean, since I am located in the middle of Germany, getting an RTT of 18ms to Virginia in the US is not believable… The distance is ~ 6.590 Km, so with 10006590000/300000000 = 22 ms one way delay or 44ms RTT , assuming we could get a direct evacuated path between both locations in actual fiber more like 10006590000/(0.67*300000000) = 33 ms OWD or 66ms RTT.

Server

This is using automatically selected servers the client auto selects.

Client

This is under turris OS 6 (a derivative of OpenWrt 21).

Steps to reproduce

root@turris:~# librespeed-cli --list
Retrieving server list from https://librespeed.org/backend-servers/servers.php
51: Amsterdam, Netherlands (Clouvider) (http://ams.speedtest.clouvider.net/backend)  [Sponsor: Clouvider @ https://www.clouvider.co.uk/]
53: Atlanta, United States (Clouvider) (http://atl.speedtest.clouvider.net/backend)  [Sponsor: Clouvider @ https://www.clouvider.co.uk/]
75: Bangalore, India (DigitalOcean) (http://in1.backend.librespeed.org/)  [Sponsor: DigitalOcean @ https://www.digitalocean.com]
33: Bari, Italy (GARR) (https://st-be-ba1.infra.garr.it)  [Sponsor: Consortium GARR @ https://garr.it]
34: Bologna, Italy (GARR) (https://st-be-bo1.infra.garr.it)  [Sponsor: Consortium GARR @ https://garr.it]
50: Frankfurt, Germany (Clouvider) (http://fra.speedtest.clouvider.net/backend)  [Sponsor: Clouvider @ https://www.clouvider.co.uk/]
86: Frankfurt, Germany (FRA01) (https://speedtest.lumischvps.cloud/)  [Sponsor: LumischVPS @ https://discord.gg/GxYzPwJmA2]
77: Ghom, Iran (Amin IDC) (https://fastme.ir/)  [Sponsor: Bardia Moshiri @ https://bardia.tech/]
22: Helsinki, Finland (3) (Hetzner) (http://finew.openspeed.org/)  [Sponsor: Daily Health Insurance Group @ https://dhig.net/]
24: Helsinki, Finland (5) (Hetzner) (http://fast.kabi.tk/)  [Sponsor: KABI.tk @ https://kabi.tk]
70: Johannesburg, South Africa (Host Africa) (http://za1.backend.librespeed.org/)  [Sponsor: HOSTAFRICA @ https://www.hostafrica.co.za]
49: London, England (Clouvider) (http://lon.speedtest.clouvider.net/backend)  [Sponsor: Clouvider @ https://www.clouvider.co.uk/]
54: Los Angeles, United States (1) (Clouvider) (http://la.speedtest.clouvider.net/backend)  [Sponsor: Clouvider @ https://www.clouvider.co.uk/]
52: New York, United States (2) (Clouvider) (http://nyc.speedtest.clouvider.net/backend)  [Sponsor: Clouvider @ https://www.clouvider.co.uk/]
43: Nottingham, England (LayerIP) (https://uk1.backend.librespeed.org)  [Sponsor: fosshost.org @ https://fosshost.org]
28: Nuremberg, Germany (1) (Hetzner) (http://de1.backend.librespeed.org)  [Sponsor: Snopyta @ https://snopyta.org]
27: Nuremberg, Germany (2) (Hetzner) (http://de4.backend.librespeed.org)  [Sponsor: LibreSpeed @ https://librespeed.org]
30: Nuremberg, Germany (3) (Hetzner) (http://de3.backend.librespeed.org)  [Sponsor: LibreSpeed @ https://librespeed.org]
31: Nuremberg, Germany (4) (Hetzner) (http://de5.backend.librespeed.org)  [Sponsor: LibreSpeed @ https://librespeed.org]
46: Nuremberg, Germany (6) (Hetzner) (http://librespeed.lukas-heinrich.com/)  [Sponsor: luki9100 @ https://lukas-heinrich.com/]
74: Poznan, Poland (INEA) (https://speedtest.kamilszczepanski.com)  [Sponsor: Kamil Szczepański @ https://kamilszczepanski.com]
79: Prague, Czech Republic (CESNET) (http://speedtest.cesnet.cz)  [Sponsor: CESNET @ https://www.cesnet.cz]
85: Prague, Czech Republic (Turris) (http://librespeed.turris.cz)  [Sponsor: Turris @ https://www.turris.com]
35: Roma, Italy (GARR) (https://st-be-rm2.infra.garr.it)  [Sponsor: Consortium GARR @ https://garr.it]
68: Singapore (Salvatore Cahyo) (https://speedtest.dsgroupmedia.com)  [Sponsor: Salvatore Cahyo @ https://salvatorecahyo.my.id]
76: Tehran, Iran (Fanava) (https://speedme.ir/)  [Sponsor: Bardia Moshiri @ https://bardia.tech]
80: Tehran, Iran (Faraso) (https://st.bardia.tech)  [Sponsor: Bardia Moshiri @ https://bardia.tech/]
82: Tokyo, Japan (A573) (https://librespeed.a573.net/)  [Sponsor: A573 @ https://mirror.a573.net/]
69: Vilnius, Lithuania (RackRay) (http://lt1.backend.librespeed.org/)  [Sponsor: Time4VPS @ https://www.time4vps.com]
78: Virginia, United States, OVH (https://speed.riverside.rocks/)  [Sponsor: Riverside Rocks @ https://riverside.rocks]
root@turris:~# librespeed-cli --server 78
Retrieving server list from https://librespeed.org/backend-servers/servers.php
Selected server: Virginia, United States, OVH [speed.riverside.rocks]
Sponsored by: Riverside Rocks @ https://riverside.rocks
You're testing from: {"processedString":"193.169.154.231 - Unknown ISP","rawIspInfo":""}
Ping: 19.09 ms  Jitter: 2.28 ms
Download rate:  91.79 Mbps
Upload rate:    42.47 Mbps

Server 78's name implies a location in the US, but its RTT is not consistent with that claim.

Expected behaviour

The Virgina server should have reported a "Ping" in line with a cross-atlantic network path, so likely >> 100ms, as can be seen for the Atlanta and New York servers:

root@turris:~# librespeed-cli --server 53
Retrieving server list from https://librespeed.org/backend-servers/servers.php
Selected server: Atlanta, United States (Clouvider) [atl.speedtest.clouvider.net]
Sponsored by: Clouvider @ https://www.clouvider.co.uk/
You're testing from: 2a01:c23:9012:7900::1 - Unknown ISP
Ping: 115.00 ms Jitter: 0.73 ms
Download rate:  13.53 Mbps
Upload rate:    13.29 Mbps
root@turris:~# librespeed-cli --server 52
Retrieving server list from https://librespeed.org/backend-servers/servers.php
Selected server: New York, United States (2) (Clouvider) [nyc.speedtest.clouvider.net]
Sponsored by: Clouvider @ https://www.clouvider.co.uk/
You're testing from: 2a01:c23:9012:7900::1 - Unknown ISP
Ping: 213.73 ms Jitter: 0.39 ms
Download rate:  20.74 Mbps
Upload rate:    6.28 Mbps
root@turris:~# 

Screenshots

If necessary, add screenshots of the test. F12 > Network screenshots can be particularly useful

sstidl commented 10 months ago

Sorry, but I think this issue doesn't belong in this repository. Here is the source of the self-hosted code anyone can use as a server.