Slow SMB Read Speed, Fast Write | ZFS on Linux | Ubuntu 18.10

Discussion in 'Linux Admins, Storage and Virtualization' started by Legotan, Nov 4, 2018.

  1. Legotan

    Legotan New Member

    Joined:
    Jul 27, 2018
    Messages:
    18
    Likes Received:
    2
    Hello Guys,

    I got some strange problems with a new ZFS-Setup and SMB-Share:

    when copying files from a client machine to the server, I see around 400 - 500 MB/s transfer speeds. If I copy the same file from the server to the client, I only reach 150 MB/s. That seems way too low...

    On the client machine I use a ramdisk for testing. Client and Server are connect via Connect-X2 10Gbit cards.

    On the server side I got a Dell R710 with dual-socket quad cores and 144GB RAM. The server runs on Ubuntu 18.10 and has 10 4tb hdd's in raidz2.


    Any hints or suggestions how to increase the Server to Client transfer speed?

    If you need any configurations files or infos, just ask :)

    Thank you very much!

    Alex



    Client-to-Server.PNG Server-to-Client.PNG
     
    #1
  2. Monoman

    Monoman Active Member

    Joined:
    Oct 16, 2013
    Messages:
    261
    Likes Received:
    64
    Please use fio for file transfer tests. It will present better results for us to help you. I believe it's client, but fio will say .
     
    #2
  3. Legotan

    Legotan New Member

    Joined:
    Jul 27, 2018
    Messages:
    18
    Likes Received:
    2
    Thank you for your response.

    I now ran fio on the client machine, but still have the same problem: The reads are way slower than the writes..


    fio2.PNG
     
    #3
    gigatexal likes this.
  4. RTM

    RTM Active Member

    Joined:
    Jan 26, 2014
    Messages:
    341
    Likes Received:
    111
    Sorry I don't have a magic quickfix.
    Have you tried narrowing down the possible issues by reducing components involved?

    Why not start by removing the network, and benchmark the local disk array's performance?
    If that works, you could try mounting the share locally on the server (I have never done this, but I assume it will work), and do the same again.
    If that works, limit the amount of network equipment between server and client to ideally just a single cable.

    Other random ideas: look into whether server and client use the same MTU
     
    #4
  5. acquacow

    acquacow Active Member

    Joined:
    Feb 15, 2017
    Messages:
    245
    Likes Received:
    93
    #5
Similar Threads: Slow Read
Forum Title Date
Linux Admins, Storage and Virtualization Slow NFS Jan 19, 2018
Linux Admins, Storage and Virtualization Need help with slow samba file copy speeds Nov 7, 2016
Linux Admins, Storage and Virtualization Sanity check: iotop actual vs total disk reads Sep 22, 2017
Linux Admins, Storage and Virtualization My favorite thread so far in the proxmox forums Jan 9, 2017

Share This Page