Hi, I’m trying to understand what could be the culprit of “low” speeds (for gigabit connection) on my pi <-> macbook.
Here’s the scenario: my pi is connected through USB 3.0 to a NAS drive, as well as to a SSD (for OS). When I download stuff from the internet to the pi (which goes directly into the NAS drive) it caps my provider speed (~ 22 MB/s writing), so that’s ok here.
However, when downloading something to my MacBook Pro from the pi (NAS drive as well) it can’t go over 20 MB/s. Everything is connected with Cat6 cables and 20 MB/s is quite below the gigabit speed. I don’t see what’s causing the bottleneck here.
Edit: I also noticed that when copying from the NAS drive to the Mac the pi temperature gets around 60º and keeps there (is the pi throttling the speed to prevent warming up? and why when downloading form the internet doesn’t it get that warm since the speeds are the same?)
What’s more strange is that it gets quite warm when copying from the storage to somewhere else in the network (my mbp) whereas it doesn’t when downloading from the internet into the storage.
I’m getting it only with -R only. Maybe a pi limitation the other way around? I don’t know, at least the cabling is good, so it wouldn’t ever get 900+ in any way I’d say.
When I don’t have the -R and the server is the pi, it doesn’t go beyond 500 mbps. Does that mean that the pi can’t handle this write speeds? Where is storing the data being download from the client?
On which device you start the server with iperf3 -s?
By default it writes to memory, not on disk. To write to disk you would need to use the -F flag and specify a file.
On the raspberry. Somehow, today, I can’t go past 500 Mbps either way, but yesterday it was going beyond 900.
CPU usage seems ok.
Edit: it was using the wifi IP instead of lan when I couldn’t go past the 500 Mbps. That explains the speed cap of 500 Mbps, however it doesn’t explain why the speed goes above 900 Mbps in on way but not reverse. So: