arevindh / pihole-speedtest

Pihole Speedtest Mod
https://arevindh.github.io/pihole-speedtest/
MIT License
215 stars 22 forks source link

Both official client and python client show slow speeds #42

Closed PJGitHub9 closed 4 years ago

PJGitHub9 commented 4 years ago

For some reason i cant get proper speeds on my pihole. Ive tried restarting, changing from official to python and the speeds have been consistently very slow (I have 100mbps download). Not sure why they are like this.

Picture

arevindh commented 4 years ago

Which device are you running it on?

PJGitHub9 commented 4 years ago

Raspberry Pi 3B, running dietpi

arevindh commented 4 years ago

Try running a simple download via wget or curl and check the speeds.

Get test files from http://speedtest-nyc1.digitalocean.com/ (choose nearby server from the list first).

PJGitHub9 commented 4 years ago

Im not too sure how to do that at all sorry, any commands I can copy via ssh?

arevindh commented 4 years ago

Which location is nearby you ?

image

PJGitHub9 commented 4 years ago

TOR1, I ran the code: wget -O /dev/null http://speedtest-tor1.digitalocean.com/100mb.test

Speed is showing 500-800KB/s

arevindh commented 4 years ago

Download the same file using PC or MAC

PJGitHub9 commented 4 years ago

My desktop shows 80-90Mbps

arevindh commented 4 years ago

If wget is showing lower speeds it might be due to some configurations on firewall .

PJGitHub9 commented 4 years ago

The pi's firewall? Dietpi doesnt come preinstalled with any, im not sure what settings to check on the pi either

arevindh commented 4 years ago

No, do you have one on your network ?

PJGitHub9 commented 4 years ago

No, i have another pi running the exact same setup (just no speedtest) and that one runs the Wget command at 8MB/s

arevindh commented 4 years ago

Is it running same diet pi ? Speed test does not modify your system wget speed

PJGitHub9 commented 4 years ago

yeah, i uninstalled the speedtest (using your uninstall file commands) and now running the wget command bumps me up to 8MB/s (~ 64mpbs, still much slower than my actual speed)

arevindh commented 4 years ago

yeah, i uninstalled the speedtest (using your uninstall file commands) and now running the wget command bumps me up to 8MB/s (~ 64mpbs, still much slower than my actual speed)

That's weird it shouldn't affect speeds, there might be other reasons.About 8 Mb/s, Pi SD card might have write speed limits.

arevindh commented 4 years ago

You might still have official speed test, try running speedtest from terminal.

PJGitHub9 commented 4 years ago

54Mbit/s down and 10Mbit/s upload. Download is still like 50% of my actual, upload is exactly the right speed

arevindh commented 4 years ago

Which server is used for the test in pc and pi? I am running it on a Pi 2B+ getting upto 89 on my 125 Mbps connection.

PJGitHub9 commented 4 years ago

Instead of going through all this struggle, i might just wipe the pi and install raspbian OS instead, it may be the OS thats causing the issue. Ill try that tomorrow and will update the post :)