geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.29k stars 448 forks source link

Gigabit Speed test issue #494

Closed NicerDicerPlus15 closed 1 year ago

NicerDicerPlus15 commented 1 year ago

Grafana shows a speed of about 600 Mb/s, which is far below my internet speed. When I run the speedtest from the Pi directly with the CLI from speedtest.net I get the promised ~1000 Mb/s. Where does the difference come from since both were done from the same device?

With the speedtest I did, it took a bit until the maximum speed was reached. Maybe that is the problem?

Screenshot_20230224_111355

Screenshot_20230224_111505

Maxxxel commented 1 year ago

The problem is the Speedtest itself, you can read about it... I have the same problems..... It can't handle gigabit connection.

Maxxxel commented 1 year ago

Maybe PR#475 can fix that?

NicerDicerPlus15 commented 1 year ago

I have tried it with Cloudflare as in PR#475, but it doesn't get any better. The error is probably not due to the speedtest, but rather to Docker or Prometheus.

Maxxxel commented 1 year ago

Maybe check this out: https://ubidots.com/community/t/speedtest-cli-with-raspberry-pi-4-and-ubidots-for-gigabit-internet-testing/3044

NicerDicerPlus15 commented 1 year ago

I use https://pimylifeup.com/raspberry-pi-internet-speed-monitor/ with influxdb for the speedtest and let the rest of the functions continue to run via the docker container with prometheus. This is how it works now and shows the correct values.

image

Maxxxel commented 1 year ago

Are the results in the dashboard?

Maxxxel commented 1 year ago

I mean the same dashboard of internet-pi

NicerDicerPlus15 commented 1 year ago

Yes, I connected Grafana from the internet-pi to influxdb and adjusted the dashboard. The data is now displayed on the internet-pi Grafana dashboard.

Maxxxel commented 1 year ago

Great, I'll try to replicate it 😁

Maxxxel commented 1 year ago

Confirmed working