can't disable packet signing / performance tuning under mac osx

  • I got slow write at 24MB/s but OK read at 80MB/s on macOS Mojave. After some googling I realize this can be tuned.


    I first started with these extra options, but it doesn't help.

    Code
    socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
    read raw = yes
    write raw = yes
    max xmit = 65535
    dead time = 15
    getwd cache = yes
    min protocol = SMB2


    Many others recommending to disable packet signing. I tried both setting at server end and client end, but all failed even after proper rebooting both server and client. Here are what I did at both ends.


    Server: I added this option under OMV UI.

    Code
    client signing = disabled


    macOS client: I created config file /etc/nsmb.conf with below content

    Code
    [default]
    signing_required=no


    Result from macOS, packet signing is still ON.

    I'm looking for hints here. Thanks a lot.

  • semson

    Changed the title of the thread from “can't disable packet signing / performance tuning” to “can't disable packet signing / performance tuning under mac osx”.
  • Thanks a lot @malibu for the explanation, much clearer now.


    Besides smb encrypt = off, I applied strict sync = no. SMB speed is much improved. Not sure if there's any risk of disabling strict sync.

Participate now!

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