Improve SMB performance (Not too slow but can be improved I hope)

  • Hello there,


    OMV Setup:

    CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz

    RAM: 8GB.

    MOBO: Gigabyte GA-H61M-DS2

    NIC: 1x Intel Corporation 82574L 1Gigabit Ethernet.

    Disks: 4x 1TB ST1000DM010 7200RPM 64MB Cache.

    File Syste: ZFS RAIDZ1 (also tried RAID0 equivalent of ZFS)


    OMV connected to a Layer 2 Gigabit SW and Windows PC (has 1 Gigabit Eth.) connected to this SW.

    When I copy files from Windows to OMV via SMB max transfer rate is 85MB/s.

    But when I connect one of 1TB ST1000DM010 drives to Windows via Sata or USB and write file to it, transfer rate is around 200MB/s.


    I know that I can't reach 200MB/s on a 1G network but at least it should be 100MB/s.


    There's nothing else on this network just WinPC + OMV NAS + SW.


    I tried some SMB manual settings that I found on this forum but non worked.


    Also got a Fedora laptop with 1G eth. tried NFS again it hit to 85MB/s transfer rate.


    Anyone got an idea how can I improve performance? OR is this the max I can get with this setup?

  • macom

    Approved the thread.
  • Theoretical max xfer rate over 1Gbe is 125MB/s. Real-world is typically less and depends if you're transferring a single large file or multiple small dir/files. The overhead of writing both data & parity to a raidz1 array further reduces the max xfer rate. A xfer rate of 85MB/s for SMB is about right for your kit. NFS will be slower than SMB for ZFS due to sync writes, unless you set zfs property sync=disable.

  • Thank you for the answer.


    So if I get 2.5 or 10Gbe NICs do you think I can squeeze more performance?

    Yes. I get close to 280 MB/s (peak) using 2.5 Ghz dongles. Real world is about 200 MB/s over SMB when transferring a variety of file sizes.

    7.0.5-1 (Sandworm)

    Processor Raspberry Pi 4 Model B Rev 1.5

    Linux 6.6.20+rpt-rpi-v8

    • Official Post

    So if I get 2.5 or 10Gbe NICs do you think I can squeeze more performance?

    Yes, but keep in mind that the speed of the network will be equal to the speed of the slowest element on the network. If you want a 2.5 gigabit network all elements on the network will have to be 2.5 gigabit. It is not enough to change the network interface of the server, you will also have to change the network interface of the PC and the intermediate switch if it exists.

  • Installed 2 x 10Gbe Fiber server NICs (Sun Intel Pro, Dual Port 10GbE PCI-E NIC, 375-3586-01)


    Transfer rate hits up to 450MB/s then drops to 180-200MB/s with Snapraid + MergerFS. IMO pretty decent for a simple home setup.


    BTW these server NICs get really hot. I don't have to a tool to measure the heat but they got "really" hot. Careful if you use them on a regular PC.

Participate now!

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