sysctl.conf and network tuning

Discussion in 'macOS Sierra (10.12)' started by iizmoo, Nov 24, 2016.

  1. iizmoo macrumors 6502

    Joined:
    Jan 8, 2014
    #1
    I usually put network tuning configuration directives in /etc/sysctl.conf , have found that SMB suffered pretty badly on default configurations and with the tuning, I can get around 200% performance out of it. However, since OSX Sierra, it appeared that directives in sysctl.conf are no longer being picked up. Anyone know of a way to get around this? Or if I'm missing some permission or setting somewhere to get it working?
     
  2. fivenotrump macrumors 6502

    Joined:
    Apr 15, 2009
    Location:
    Central England
    #2
    What settings are you trying to change? Have you tested using sysctl?
     
  3. iizmoo thread starter macrumors 6502

    Joined:
    Jan 8, 2014
    #3
    I can change it with sysctl -w, but it's not persistent on restart like OSX used to load the sysctl config file.
     
  4. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #4
    sudo visudo put the sysctl command in there for passwordless access to the command, make script to set it how you want add that script to your login items and it will be set every time you login into the machine.
     

Share This Page