CLI results 2x higher RTT
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go
- Domain
- cli, networking
Research direction
Reproduce the issue with librespeed-cli --server 6 and compare its RTT with ping6 de1.backend.librespeed.org. Then inspect the CLI's RTT calculation and verify that the reported value matches the web test and ping result when the bug is fixed.
Written by the indexing model from the issue text.
Description
Hi,
I've noticed that CLI result 2x higher RTT than web speed test.
Here's my web speed test result:
https://librespeed.org/results/?id=17vfzh3

I performed a speed test using cli, strangely, it shows 2x higher RTT than web test.
% librespeed-cli --server 6
Retrieving LibreSpeed.org server list
Selected server: Nuremberg, Germany (1) (Hetzner) [de1.backend.librespeed.org]
Sponsored by: Snopyta @ https://snopyta.org
You're testing from: 2405:6586:2280:1200::dead:beef - Asahi Net, JP (9080 km)
Ping: 535 ms Jitter: 0 ms
Download rate: 5.82 Mbps
Upload rate: 2.22 Mbps
I also measured RTT using ping, the result is same as the web test.
% ping6 de1.backend.librespeed.org
PING6(56=40+8+8 bytes) 2405:6586:2280:1200::dead:beef --> 2a01:4f8:1c1c:93d6::1
16 bytes from 2a01:4f8:1c1c:93d6::1, icmp_seq=0 hlim=35 time=268.486 ms
16 bytes from 2a01:4f8:1c1c:93d6::1, icmp_seq=1 hlim=35 time=266.626 ms
16 bytes from 2a01:4f8:1c1c:93d6::1, icmp_seq=2 hlim=35 time=264.742 ms
16 bytes from 2a01:4f8:1c1c:93d6::1, icmp_seq=3 hlim=35 time=264.809 ms
I haven't dig up the code but I guess you forgot to divide some value by 2.
Best Regards,
- Dominant language
- Go
- Stars
- 845
- Forks
- 90
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from librespeed/speedtest-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
librespeed/speedtest-cli#121 ·
-
Add /api endpoint Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
librespeed/speedtest-cli#151 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
librespeed/speedtest-cli#120 · 2 comments · 1 reaction ·
-
Host image in ghcr Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
librespeed/speedtest-cli#118 · 5 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
librespeed/speedtest-cli#114 · 4 comments ·
All issues in librespeed/speedtest-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·