-
Notifications
You must be signed in to change notification settings - Fork 2
/
Library_LaunchDaemons_com.startup.sysctl.plist
42 lines (42 loc) · 1.94 KB
/
Library_LaunchDaemons_com.startup.sysctl.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- DISABLE SIP TO INSTALL PLIST: macOS Recovery > Utilities > Terminal > `csrutil disable` > Reboot -->
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.startup.sysctl</string>
<key>LaunchOnlyOnce</key>
<true/>
<key>StandardErrorPath</key>
<string>/private/tmp/sysctl.err</string>
<key>StandardOutPath</key>
<string>/private/tmp/sysctl.out</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/sysctl</string>
<string>-w</string>
<string>kern.maxfiles=524288</string>
<string>kern.maxfilesperproc=524288</string>
<string>net.inet.tcp.mssdflt=1300</string>
<string>net.inet.tcp.delayed_ack=3</string>
<string>net.inet.tcp.do_ack_compression=0</string>
<string>net.inet.tcp.tso=0</string>
<string>net.inet.tcp.cubic_fast_convergence=1</string>
<string>net.inet.tcp.cubic_tcp_friendliness=1</string>
<string>net.inet.tcp.win_scale_factor=8</string>
<string>net.inet.tcp.local_slowstart_flightsize=12</string>
<string>net.inet.tcp.randomize_ports=1</string>
<string>net.inet.ip.portrange.first=32768</string>
<string>net.inet.ip.portrange.hifirst=32768</string>
<string>net.inet.ip.redirect=0</string>
<string>net.inet.tcp.recvspace=262144</string>
<string>net.inet.tcp.sendspace=262144</string>
<string>net.inet.tcp.autorcvbufmax=33554432</string>
<string>net.inet.tcp.autosndbufmax=33554432</string>
<string>kern.ipc.maxsockbuf=8388608</string>
<string>kern.ipc.nmbclusters=262144</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>