OMV Samba speed is capped at ~8MBps

    • OMV 2.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • 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

      Source Code

      1. read raw = yes
      2. write raw = yes
      3. socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
      4. max protocol = SMB1
      5. max xmit = 65535

      Thanks for the help in advance
    • Jeansburger wrote:

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

      Jeansburger wrote:

      union filesystem so that I have a software "raid"
      Pool not raid :)

      Jeansburger wrote:

      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 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      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.

      ryecoaaron wrote:

      What is the output of: ethtool eth0

      Source Code

      1. root@dinglenas:~# ethtool eth0
      2. Settings for eth0:
      3. Supported ports: [ MII ]
      4. Supported link modes: 10baseT/Half 10baseT/Full
      5. 100baseT/Half 100baseT/Full
      6. 1000baseT/Full
      7. Supported pause frame use: No
      8. Supports auto-negotiation: Yes
      9. Advertised link modes: 10baseT/Half 10baseT/Full
      10. 100baseT/Half 100baseT/Full
      11. 1000baseT/Full
      12. Advertised pause frame use: Symmetric Receive-only
      13. Advertised auto-negotiation: Yes
      14. Link partner advertised link modes: 10baseT/Half 10baseT/Full
      15. 100baseT/Half 100baseT/Full
      16. 1000baseT/Full
      17. Link partner advertised pause frame use: No
      18. Link partner advertised auto-negotiation: Yes
      19. Speed: 1000Mb/s
      20. Duplex: Full
      21. Port: MII
      22. PHYAD: 32
      23. Transceiver: internal
      24. Auto-negotiation: on
      25. Supports Wake-on: pumbg
      26. Wake-on: g
      27. Current message level: 0x00007fff (32767)
      28. drv probe link timer ifdown ifup rx_err tx_err tx _queued intr tx_done rx_status pktdata hw wol
      29. Link detected: yes
      Display All
    • 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 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.10
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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

      ryecoaaron wrote:

      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

      Brainfuck Source Code

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


      and for the server

      Brainfuck Source Code

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

      The post was edited 1 time, last by Jeansburger ().