-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low speed values with selected server in config.yml #35
Comments
This might be related to docker networking, can you try running the container on the host network? Looks like an issue was opened on the original repo too henrywhitaker3/Speedtest-Tracker#919 (comment) |
I'm experiencing this as well. Messing with docker networking doesn't seem to improve anything. Speeds are consistently 8-10 times lower than expected. I have a container with the original repo running alongside - here i don't have any problems maxing my connection. |
Tried with host network, made no difference. My suspicion is that it's not using the server I configured, or something related to the version of speedtest-cli, I remember I had this problem on the original project version, shelled in the container and updated speedtest-cli manually, it used a very old version of it, and after the upgrade, speeds were fine. |
Yup, same for me. But I remember I had this issue with the old project too, and fixed it upgrading speedtest-cli. Since then, everything was ok. |
I've got family in town for a couple of days but I'll look into this ASAP. It's happening for me as well |
Glad you have the same issue, so you can trace it. No worries about timing, no emergency. |
I get the expected results when i run the speedtest directly inside the container. Same server for both tests and the test themselves are run pretty much back to back. The current version of the speedtest binary (1.2.0.84) also seems to be the latest version available from Ookla, so probably no issues there. |
My suspect is that the scheduled tests are not run against the configured server. From the UI there's no column indicating which server ID has been used for each test.
Yes 1.2.0.84 is the latest. Thanks for reporting this, at least we can exclude that problem. |
There is in the database though (i use MariaDB) and the server_id/server_name columns do match with the value i provided in the config.yml - at least for me. |
Thanks. So that's weird...I hope Alex finds the issue. |
Next release will contain the server info in the results table #38. Still working on the speed issue |
I've also confirmed speed tests are running slow from within the container, not a clue why just yet but documenting results below... Internet plan CLI from WSL Speedtest by Ookla
Server: Frontier - Wallingford, CT (id: 14235)
ISP: Frontier Communications
Idle Latency: 5.66 ms (jitter: 0.54ms, low: 5.03ms, high: 6.41ms)
Download: 937.26 Mbps (data used: 1.3 GB)
11.83 ms (jitter: 1.23ms, low: 4.36ms, high: 19.07ms)
Upload: 922.49 Mbps (data used: 497.1 MB)
6.97 ms (jitter: 1.05ms, low: 4.67ms, high: 10.50ms)
Packet Loss: 0.0% CLI from within the containerSpeedtest by Ookla
Server: Frontier - Wallingford, CT (id: 14235)
ISP: Frontier Communications
Idle Latency: 5.77 ms (jitter: 0.21ms, low: 5.67ms, high: 5.99ms)
Download: 238.27 Mbps (data used: 212.5 MB)
6.25 ms (jitter: 1.49ms, low: 4.34ms, high: 15.75ms)
Upload: 237.21 Mbps (data used: 390.4 MB)
6.26 ms (jitter: 1.94ms, low: 4.25ms, high: 33.07ms)
Packet Loss: 0.0% |
Although we are all referring to docker, it may be valuable to know which OS people are having issues with. I believe there are inherent performance issues with docker on Windows that this may involve. It could be useful to distinguish and/or isolate the issue with. |
Ubuntu 22.10 (Kinetic Kudu). In the past I used the old project container also on a docker for windows, no performance issues. |
from what I see in the docker-compose, you're using the old project container. We're discussing about the new one in this repo. |
Old repo is having the same issue it looks like so I directed @bverkron here so they can follow along with the new stuffs. |
Worth a shot... I am currently running this on Windows 11 version |
Ah, you're correct! I started this setup / journey with the original repo (as that's referenced in most places online) and didn't think to convert to migrate one this one when I found out about it. 😅. I did a fresh setup with the following but get
I'll do some troubleshooting and open a separate issues if necessary. |
OS:
Docker:
|
There's already an issue open for that: #33 Since that blocking issue is only relevant to sqlite, if you want to test it, switch to mysql instead. environment:
TZ: Europe/Rome
PHP_POOL_NAME: speedtest-tracker_php
DB_CONNECTION: mysql
DB_HOST: mariadb.axel.dom
DB_PORT: 3306
DB_DATABASE: speedtest_tracker
DB_USERNAME: *******
DB_PASSWORD: ******* |
I know, but I guess he wanted to test this new project. :)
I'm running it on Ubuntu: ❯ inxi -b
System:
Host: docker Kernel: 5.19.0-15-generic arch: x86_64 bits: 64 Console: pty pts/0 Distro: Ubuntu 22.10 (Kinetic Kudu) |
So I've spent on and off a couple weeks now trying to figure out why it seems like networking is slow. If anyone has any ideas that would be great, especially for a #hacktoberfest PR |
@alexjustesen did you confirm you are having this issue with Windows and Ubuntu? Are we tracking any demographics about this? Such as ISP, bandwidth limits, etc? I don't see any issues on my end (running on a Synology NAS) My bandwidth cap (w/Cox) is Maybe this issue only affecting people test higher-end bandwidths? Certain ISPs? Por que no los dos, etc. |
The only time I saw this with the old project, I upgraded speedtest-cli inside the container manually and since then I never experienced it anymore. Since your project already uses latest version, I don't know what else could cause it. Maybe something related to php performance in the container with highspeed connections? |
Are you using the -u flag when calling speedtest?
|
My understanding was this is only for |
You're right, machine-readable formats use bytes:
Question, how is it possible that @michealespinola reports correct values? |
They're using the one that seems to be abandoned right now |
That's what I thought. You should've changed the project name...it will create confusion for a while. :) |
Issue resolved, just a note Docker on wsl run slow so make sure you're not evaluating tests from there. |
I noticed really low speed values reported in the admin panel, I just did a manual test with the server 4302 I configured in
config.yml
:Is alpha.6 still using config.yml? If that's the case, I'm worried about the performance within docker, but the old speedtest-tracker worked fine in that regard. How do I check detailed info of a single test (server used, etc.)?
The text was updated successfully, but these errors were encountered: