This is my first time setting up a Raspberry Pi4 (8GB). Before, I have used a RPi 3B for some other things. From what i have read is, that IO performance should be a lot better on the RPi4, as with the RPi3B. But i get the same speeds as before. I have setup the following:
- Installed Raspbian Lite (64bit)
- enabled SFTP/SSH
- Setup a user for SFTP only access, with home on a connected USB HDD
- the USB HDD is connected to one of the USB3 ports
- This is the same setup on the RPi3B
When I now try to start to copy a 2GB file from my Laptop via LAN, i get in both cases a max of 11.6 or 11,5MB/s. But according to articles like this (https://www.jeffgeerling.com/blog/2021/raspberry-pi-25-gbps-16-tb-omv-nas-setup-and-performance), it should be much faster. Is there some secret, or whats the problem?
BTW: The Laptop runs on Manjaro Linux, where i start the transfer, there is no Windows available.
From the speed you mention this looks a lot like 100mbit, is there perhaps any device in the chain that only has a 100mb lan port? The pi should have gigabit
Not really. There is only a Switch with GBit and standard FritzBox 7590 as a Router. The Switch is connected to the Router on the WAN Port as it should be (if i remember right) and the RPi4 to one of the Switch ports. The Laptop is directly connected to the router. The cable is a standard GBit cable. There should be nothing with 100MBit.
Versuch Mal einen anderen LAN Port für deinen Switch an der Fritzbox, es muss nicht WAN sein - der Port wird in diesem Fall sowieso nur einfach als normaler LAN Port fungieren. Ich habe schonmal gelesen das es da manchmal Probleme gibt:
https://www.computerbase.de/forum/threads/fritzbox-7590-wan-port-als-lan-port-nur-100mbit-s.1997430/
Sorry ich gehe davon aus du sprichst deutsch, da du eine Fritzbox einsetzt :D
Alles gut :-) Das Problem ist gelöst. Die Dachdecker haben das LAN Kabel beschädigt. Werd mal ein Neues am Montag ordern. Ich hasse es nur, das Kabel zu verlegen. Das liegt teilweise unter dem Laminat im Flur, was ich mühsam verlegt habe. Was solls, da muss ich wohl durch.
Haha ja gut, immerhin ist dann klar woran es liegt. Kann so trivial sein...