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.

  • marv99@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Maybe you want to test the performance of your HDD first. My suggestion is to connect HDD to your Laptop and Raspi and perform the following tests to get a first picture. In following commands replace /dev/sda with your actual device.

    Test with cache: sudo hdparm -tT /dev/sda

    Test without cache: sudo hdparm -tT --direct /dev/sda

    Taken from here [German]