Fast Write - Slow Read (NFS, SMB, SFTP)

  • I have just set up a fresh omv installation and network write speeds look fine enough with more then 70 MB/s - however i dont get more then 30 MB/s Read speed. NFS or SMB dont make a difference, neither to different disks. Any clue what i can do?



    mount:

    Code
    /dev/sdb1 on /sharedfolders/smbtest type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)


    ifconfig:

    Code
    root@openmediavault:/dev# ifconfig
    
    
    enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.59  netmask 255.255.255.0  broadcast 192.168.0.255
            ether 14:da:e9:67:fc:61  txqueuelen 1000  (Ethernet)
            RX packets 49797736  bytes 69119334794 (64.3 GiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 13111850  bytes 12808080978 (11.9 GiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


    ethtool:


    ethtool -i enp4s0


    Code
    driver: r8169
    version: 2.3LK-NAPI
    firmware-version: rtl_nic/rtl8168e-2.fw
    expansion-rom-version:
    bus-info: 0000:04:00.0
    supports-statistics: yes
    supports-test: no
    supports-eeprom-access: no
    supports-register-dump: yes
    supports-priv-flags: no


    uname -v


    Code
    #1 SMP Debian 4.14.13-1~bpo9+1 (2018-01-14)


    omv-sysinfo


  • additional info - i only have 2GB ram installed currently because its a test setup. i can rule out the switch as an issue because i have multiple gigabit devices that run fine on the very same switch - also uploading speeds are as expected. i tried multiple disks so its not the disk. the cpu does hit about 80% but never more. i tried multiple clients from linux to windows - same behaviour. kinda lost where to start with debugging the issue. i can submit further outputs if needed. i can rule out the clients aswell because I have other NFS shares that work as expected

  • i can rule out network issues:


    Bash
    root@openmediavault:~# iperf -s -p 12345
    ------------------------------------------------------------
    Server listening on TCP port 12345
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------
    [  4] local 192.168.0.59 port 12345 connected with 192.168.0.100 port 33825
    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0- 0.9 sec   100 MBytes   886 Mbits/sec
    [  5] local 192.168.0.59 port 12345 connected with 192.168.0.100 port 33831
    [  5]  0.0- 9.4 sec  1000 MBytes   889 Mbits/sec
  • No clue what might be wrong at the moment, just a question:
    Did you upgrade your installation to the lastest packages (via webgui or apt cli)?


    My box is running on kernel 4.18.x and my AMD E1-2100, which seems to have a similar performance than slightly the older E-350, easily goes above 100MB/s for CIFS and FTP.


    CPU-usage seems a bit high for me for reading from disk, do you use an encrypted volume or have the antivirus plugin with on-access-scan enabled?

    Einmal editiert, zuletzt von guzzisti ()

Jetzt mitmachen!

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