OMV Samba speed is capped at ~8MBps

  • I have been trying to resolve a problem with the SMB service, I have tried multiple different configurations I have found on this forum as well as others and none of them have increased the speed. I have OMV running on an Odroid XU4 which should have gigabit ethernet, I am trying to transfer a large number of files onto the server and I am being capped at around 8MBps. I have transferred files from my laptop to my tower using both my router which has gigabit ethernet and a switch (also gigabit) and the speed is around 113MBps. Do I need to restart the OMV server every time I do a new configuration? I should note that my samba shares are connected to a union filesystem so that I have a software "raid" however all of the drives are USB 3.0 and connected to a powered USB 3.0 hub connected to the XU4, I expect there to be some speed loss I would accept just 30MBps because of all of the interconnections. I don't believe it's the drives either as when I sync snapraid I get around 80MBps throughput from all of them.


    This is the current configuration I have on SMB

    Code
    read raw = yes
    write raw = yes
    socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
    max protocol = SMB1
    max xmit = 65535


    Thanks for the help in advance

  • Do I need to restart the OMV server every time I do a new configuration?

    No


    union filesystem so that I have a software "raid"

    Pool not raid :)


    max protocol = SMB1

    This should be SMB2.


    Did you use the xu3/4 image from sourceforge and fully update it? What is the output of: ethtool eth0

    omv 5.5.1 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Did you use the xu3/4 image from sourceforge and fully update it?

    I did. When flashed the image I went into the web client and a SSH terminal to do the updates. It is currently reading 2.2.13 (stoneburner) from the web client.

    What is the output of: ethtool eth0

  • Well, try the samba config change that I recommended. If that doesn't help, try iperf to see if it is a networking issue with the xu4

    omv 5.5.1 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I tried changing the setting to what you recommended, it did not have any change to the samba speed

    Well, try the samba config change that I recommended. If that doesn't help, try iperf to see if it is a networking issue with the xu4

    I did try iperf connected on my WIFI connection on Ethernet obviously has a faster throughput,


    here is the output for the client


    Code
    user@NAME:/mnt/c/Windows/System32$ iperf -c 192.168.x.x
    ------------------------------------------------------------
    Client connecting to 192.168.x.x, TCP port 5001
    TCP window size: 512 KByte (default)
    ------------------------------------------------------------
    [ 3] local 192.168.x.y port 50013 connected with 192.168.x.x port 5001
    [ ID] Interval Transfer Bandwidth
    [ 3] 0.0-10.0 sec 196 MBytes 165 Mbits/sec


    and for the server

    Code
    root@192.168.x.x:~# iperf -s
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------
    [ 4] local 192.168.x.x port 5001 connected with 192.168.x.y port 50013
    [ ID] Interval Transfer Bandwidth
    [ 4] 0.0-10.0 sec 196 MBytes 165 Mbits/sec

Participate now!

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