Slow speed through ethernet on RaspberryPi 4

Jul 20, 2024 Last reply: 1 year ago 10 Replies

I've recently upgraded my internet to fiber to get 1G.



I've moved some of my machines to ethernet connections, to gain more speed. On my windows 11 machine I can get 800/900 Mbps. But on my Pi I'm getting much slower speed.



Any ideas why, and if I could improve the throughput to the ethernet to take advantage of the higher speed internet ?



Getting 203 down / 273 up this morning :-(



Better than what I got with my previous provider; but I should be able to do even better.


Speedtest.net. I'll get iperf and see what performance I have between hosts.

The test is also with test was with web browser version of speed net not cli or platform specific. But the 800/800 on windows 11 was with same tool and test site.

Is it not the case that the Pi uses USB to talk to the ethernet chip?

A chain is only as strong as its weakest link: ping and traceroute will reveal where it is

That's why I cant be arsed to go beyond 40Mbps. I seldom achieve that download speed with remote sites

How did you test that?

I just plugged in my Pi 4, upgraded to current OS (bookworm) and ran iperf3 between the PI and my desktop PC - the PI gets consistent 949Mbps (in both directions).

cu Michael

Maybe the software you are using needs more CPU power than the Pi 4 has to give if you want it to go faster?

What software are you using on the Pi 4?

The Pi 4B has a true gigabit Ethenet interface, and is close saturating the connection (900Mb/s+) to other local machines in both directions using the command line iperf tool.

[The Pi 3B+ had gigabit Ethernet, but used the internal USB interface and so was limited to 300Mb/s, where as the 3B and all previous Pi's were 100Mb]

However, if you use browser based speed page, these are heavily javascript laden which will put quite a load on a 1.4GHz 4 core chip with limited memory, and may well not reflect the fastest possible speed obtainable.

---druck

Re: Re: Slow speed through ethernet on RaspberryPi 4 By: Brian Gregory to Amessyroom on Sun Jul 21 2024 05:06 pm

BG> On 20/07/2024 21:17, Amessyroom wrote: >> I've recently upgraded my internet to fiber to get 1G.

BG> Maybe the software you are using needs more CPU power than the Pi 4 has to BG> give if you want it to go faster?

BG> What software are you using on the Pi 4?

Raspbian GNU/Linux 11 (bullseye)

I have had issues trying to run proton-mail. Seems like the decryption just kills the CPU.

Re: Re: Slow speed through ethernet on RaspberryPi 4 By: druck to Errol Casey on Sun Jul 21 2024 09:21 pm

dr> The Pi 4B has a true gigabit Ethenet interface, and is close saturating dr> the connection (900Mb/s+) to other local machines in both directions using dr> the command line iperf tool. dr> However, if you use browser based speed page, these are heavily javascript dr> laden which will put quite a load on a 1.4GHz 4 core chip with limited dr> memory, and may well not reflect the fastest possible speed obtainable.

dr> ---druck

That is the throughput I expected. I got iperf3 for my work laptop win11 and home pc rasppi. Unfortunately, cannot run on win 11 due to not having admin rights. But I found a iperf3 server in Charlotte, NC . I'm in Fayetteville, NC.

Upload/Download tests with TCP show expected throughput approaching 900Mb/s.

So it looks like it is performing, just not with the web based tool on the rp 4b :-(

Thanks for your explanations.

That is good information.

I used to ftp to one of my remote dark office server and transfer a few megabytes to /dev/null to get a decent speed analysis

You might find some file online and download it using curl etc.

Those web based speedometers were designed in the days of 5Mbps ADSL...

The CLI version is pretty good on FTTH - but not all the test sites round here can keep up.

Not the RPi 4. Gigabit Ethernet is baked into the SoC. There are also carrier boards for the Compute Module 4 (which uses the same SoC) that put a second GigE controller on the PCIe port. I have such a setup running as my home router (running OpenWRT), and it'll max out my cable-modem connection. I've seen inbound speeds through it up to about 600 Mbps.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required