Slower download speeds with Rpi4b8gb

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Napaulm
Posts: 3
Joined: Tue Apr 06, 2021 5:31 pm

Slower download speeds with Rpi4b8gb

Post by Napaulm »

When downloading with SabNZB on my raspberry pi 4b 8gb (dietpi 7.2) with cable I get around 19mb/s.
This corresponds with a raw speedtest using:

Code: Select all

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -

Code: Select all

Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by ***** [***.50 km]: 33.61 ms
Testing download speed................................................................................
Download: 153.44 Mbit/s
Testing upload speed................................................................................................
Upload: 36.14 Mbit/s
However, my home internet connection is 600Mb and the raspberry is plugged directly into the router.
On my PC SabNZB peaks around 64mb/s.

Image

My questions is: Is this a limitation of my Rpi4b or am I missing something? I could not find a definitive answer on the forums and it seems like it should be able to get a higher speed.

Edit for clarification:
I don't use a VPN, Pi-hole or any alternate DNS config.
Last edited by Napaulm on Fri Jun 04, 2021 1:41 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Slower download speeds with Rpi4b8gb

Post by Joulinar »

just a short question. Do you use a VPN connection to connect to the internet?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Napaulm
Posts: 3
Joined: Tue Apr 06, 2021 5:31 pm

Re: Slower download speeds with Rpi4b8gb

Post by Napaulm »

Joulinar wrote: Fri Jun 04, 2021 12:54 pm just a short question. Do you use a VPN connection to connect to the internet?
No. No VPN or PiHole or alternate DNS config.
User avatar
Joulinar
Posts: 4783
Joined: Sat Nov 16, 2019 12:49 am

Re: Slower download speeds with Rpi4b8gb

Post by Joulinar »

do you have a 2nd Linux box close to your DietPi device? If yes, you could measure the network speed using iperf3. This should give an indication if the Pi4 is working as expected.

I did a small test between a RPi4B and a VM

Code: Select all

root@DietPiProd:~# iperf3 -c 192.168.0.13
Connecting to host 192.168.0.13, port 5201
[  5] local 192.168.0.11 port 48006 connected to 192.168.0.13 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   112 MBytes   937 Mbits/sec    0   1010 KBytes
[  5]   1.00-2.00   sec   112 MBytes   937 Mbits/sec    0   1.20 MBytes
[  5]   2.00-3.00   sec   109 MBytes   912 Mbits/sec    0   1.79 MBytes
[  5]   3.00-4.00   sec   110 MBytes   923 Mbits/sec    0   1.88 MBytes
[  5]   4.00-5.00   sec   112 MBytes   944 Mbits/sec    0   1.31 MBytes
[  5]   5.00-6.00   sec   112 MBytes   944 Mbits/sec    0   1.49 MBytes
[  5]   6.00-7.00   sec   111 MBytes   933 Mbits/sec    0   1.49 MBytes
[  5]   7.00-8.00   sec   109 MBytes   912 Mbits/sec    0   1.71 MBytes
[  5]   8.00-9.00   sec   111 MBytes   933 Mbits/sec    0   1.78 MBytes
[  5]   9.00-10.00  sec   111 MBytes   933 Mbits/sec    0   1.78 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.08 GBytes   931 Mbits/sec    0             sender
[  5]   0.00-10.01  sec  1.08 GBytes   928 Mbits/sec                  receiver

iperf Done.
root@DietPiProd:~#
For me it gives full speed

Code: Select all

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.08 GBytes   931 Mbits/sec    0             sender
[  5]   0.00-10.01  sec  1.08 GBytes   928 Mbits/sec                  receiver
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Napaulm
Posts: 3
Joined: Tue Apr 06, 2021 5:31 pm

Re: Slower download speeds with Rpi4b8gb

Post by Napaulm »

My apologies for the delayed answer.

I tested this using a second raspberry pi 4b (2gb) with the latest Dietpi.

Code: Select all

root@DietPi:~# iperf3 -c 192.168.1.137
Connecting to host 192.168.1.137, port 5201
[  5] local 192.168.1.30 port 37292 connected to 192.168.1.137 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   111 MBytes   934 Mbits/sec    0    465 KBytes
[  5]   1.00-2.00   sec   111 MBytes   928 Mbits/sec    0    465 KBytes
[  5]   2.00-3.00   sec   108 MBytes   902 Mbits/sec    0    386 KBytes
[  5]   3.00-4.00   sec   109 MBytes   911 Mbits/sec    0    404 KBytes
[  5]   4.00-5.00   sec   108 MBytes   908 Mbits/sec    0    462 KBytes
[  5]   5.00-6.00   sec   108 MBytes   905 Mbits/sec    0    462 KBytes
[  5]   6.00-7.00   sec   108 MBytes   908 Mbits/sec    0    484 KBytes
[  5]   7.00-8.00   sec  86.2 MBytes   723 Mbits/sec    1    525 KBytes
[  5]   8.00-9.00   sec   109 MBytes   911 Mbits/sec    0    525 KBytes
[  5]   9.00-10.00  sec   109 MBytes   912 Mbits/sec    0    525 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.04 GBytes   894 Mbits/sec    1             sender
[  5]   0.00-10.00  sec  1.04 GBytes   892 Mbits/sec                  receiver
As you can see the internal network speed should not be a problem.

Connecting from the 4b8gb to the 4b2gb resulted in the following:

Code: Select all

root@DietPi:~# iperf3 -c 192.168.1.30
Connecting to host 192.168.1.30, port 5201
[  5] local 192.168.1.137 port 37648 connected to 192.168.1.30 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   111 MBytes   935 Mbits/sec    0    406 KBytes
[  5]   1.00-2.00   sec   112 MBytes   937 Mbits/sec    0    406 KBytes
[  5]   2.00-3.00   sec   112 MBytes   943 Mbits/sec    0    486 KBytes
[  5]   3.00-4.00   sec   112 MBytes   940 Mbits/sec    0    486 KBytes
[  5]   4.00-5.00   sec   112 MBytes   939 Mbits/sec    0    486 KBytes
[  5]   5.00-6.00   sec   112 MBytes   940 Mbits/sec    0    486 KBytes
[  5]   6.00-7.00   sec   112 MBytes   939 Mbits/sec    0    486 KBytes
[  5]   7.00-8.00   sec   112 MBytes   939 Mbits/sec    0    486 KBytes
[  5]   8.00-9.00   sec   112 MBytes   940 Mbits/sec    0    486 KBytes
[  5]   9.00-10.00  sec   112 MBytes   939 Mbits/sec    0    486 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   939 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.09 GBytes   937 Mbits/sec                  receiver

iperf Done.
Speedtest for now on the 4b8gb is:

Code: Select all

root@DietPi:~# curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -
Retrieving speedtest.net configuration...
Testing from *** (**************)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by i3D.net (***********) [41.96 km]: 32.228 ms
Testing download speed................................................................................
Download: 276.90 Mbit/s
Testing upload speed................................................................................................
Upload: 40.72 Mbit/s
On the 4b2gb:

Code: Select all

root@DietPi:~# curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -
Retrieving speedtest.net configuration...
Testing from ******(**********)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by i3D.net (*****) [41.96 km]: 35.01 ms
Testing download speed................................................................................
Download: 281.49 Mbit/s
Testing upload speed................................................................................................
Upload: 41.41 Mbit/s
Although the speedtest is better than last time, it's still a lot slower than my PC connection.

Image
Post Reply