Slow SMB write speeds, Normal read speeds?

  • I just setup OMV on a new Minisforum UN100D with 2.5GBe networking.


    Version: 7.4.0-1 (Sandworm)

    Processor: Intel(R) N100

    Kernel: Linux 6.1.0-22-amd64


    If I transfer files "from" OMV to my Win10 computer, I get transfer speeds around 250-260Mbs (occasionally higher).


    If I transfer those same files back "to" OMV from my Win10 computer, I only get around 140-150Mbps?


    I tried different ethernet cables, no change.


    I tried the tips I saw in the "tuning SMB" threads. No change.


    I was getting around 250Mbps both ways transferring to and from my other Win10 laptop, so I don't think it's my Win10 computer, the cables, or the network switch.


    Any ideas to improve the slow write speeds?

  • KM0201

    Approved the thread.
  • Don't know if I will have any answers for you, but some more info could help.


    Brand of NIC in the OMV system? (Realtek NICs perform bad as a rule)

    If your NIC supports it, you could try increasing the buffers

    Example and instructions at this link

    https://www.24x7serversupport.…20and%2For%208192%20bytes.


    Is the OMV system running a software RAID and if do what kind? (a RAID will usually offer slower write speeds, particularly if it's not on a RAID controller that handles the checksum work.


    You could try using iperf between the machines to rule out any network issues.


    You could also try using dd to test the drive speeds (example and instructions at this link)

    https://www.cyberciti.biz/faq/howto-linux-unix-test-disk-performance-with-dd-command/

  • I don't know what brand of NIC is in the Minisforum UN100D, but I tried connecting through a 2.5GBe USB to Ethernet adapter and got the same results (around 150Mbps writes, 250Mbps reads).


    I have NVME SSD's on both systems, so I doubt it's a drive issue. Simple file serving from a single drive, no RAID setup.

  • I don't know what brand of NIC is in the Minisforum UN100D, but I tried connecting through a 2.5GBe USB to Ethernet adapter and got the same results (around 150Mbps writes, 250Mbps reads).


    I have NVME SSD's on both systems, so I doubt it's a drive issue. Simple file serving from a single drive, no RAID setup.

    The nvme drives themselves may not be a bottleneck, but the controller on the motherboard may be, so it could still be an issue.


    Here are a few ways to find out what NIC's you have.


    lspci | grep Ethernet


    hwinfo --netcard


    or install inxi and run

    inxi -N


    I personally like inxi just because it shows the card and driver in one simple, clean display. hwinfo, will show more info, but does show the driver as well.


    If they are realtk based cards, you may not be able to do much to improve the speeds.

Participate now!

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