Low read speed on Samba server

  • Hi !
    I built a NAS with Raspberry Pi 4 and OpenMediaVault and I am not satisfied with its performance.

    My configuration is as follows:
    - ASUS Vivobook 15X laptop with Intel WiFi6 AX200 (1200 Mbps link-speed)
    - TP-Link AX20 router (1200 Mbps link-speed)
    - Raspberry Pi 4 B, 4 GB RAM, SanDisk Ultra 64GB A1 SD card, Linux raspberrypi 5.15.76-v8+, OpenMediaVault 6.1.1-1 (Shaitan)
    - TP-Link UH700 USB 3.0 7 port hub
    - 3 x 2TB WD Elements HDD, 1 x 1TB WD Blue with Segate SATA to USB adapter.

    The problem is the read speed. I get about 35 MB/s with those 3 HDD and 55 MB/s with the other one with Seagate adapter.

    I measured the read speed after every node, starting with the HDDs conected directly to my laptop USB. They are capable of 90-100 MB/s read speed. The hub is perfectly transparent. And the data arrive in my Raspberry with about the same speed I had on my laptop, 86-105 MB/s (tested with 'dd' command in terminal). But when I try to read data from the Rapberry Samba server (made with OpenMediaVault) to my laptop I get only 35-55 MB/s (regardless of whether I'm on LAN or WiFi).

    screenshot-10.png


    So I assumed thet OpenMediaVault is not doing its job properly (sending the data to the router) if the data reaches the Raspberry at the right speed then it is limited in some way... Or, the Samba server is part of the Raspberry Pi operating system, and OpenMediaVault is just an interface through which this server is configured ? If it is so, it means that any software I try will run at the same speed...

    Could I make special settings in OMV to improve reading speed ? What else could I check to identify the problem ?


    Thank you !



  • what file systems do you use?

    Keep in mind that it is a raspberry pi. I have used one in the past as a nas as well. My speeds where better but still not max of the gigabit ethernet because the raspberry pi isn't fast enough.

    Have you tried tweaking smb a little?

    OMV 7

    Plugins - omvExtras | LVM2 | Compose plugin | SFTP | ...

    System - x86 intel - 2*4TB WD Red plus - 500GB WD Blue SSD

    Docker - Nextcloud | wg-easy | swag | vaultwarden | syncthing | gitea

  • Read these threads - Tunning Samba for more speed and Tuning Samba for more speed 2. These threads should not be necessary when using the pre-built arm images available on sourceforge since they already have optimized settings.

    Let me add!

    For WiFi, I would say that the speed is just fine.

    Some rule is that in real use WiFi speed is 1/3 of what it says.


    So it follows:

    1200/3 = 400 Mbit

    400Mbit÷8 = 50MB


    It is also questionable how saturated the WiFi spectrum is (use the channel with the least interference)

    - the width of the channel 20GhHz or 40GHz and so on is also important.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!