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

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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
  • where are those configurations located?
    i can't find them in my /etc/samba/smb.conf

  • @kamilmirza
    They are advanced options to speed up Samba transfer. Most of the time they result in slower speeds than the default settings. To see all the settings in your smb.conf. file enter "testparm -vvv" in a terminal shell.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!