-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTUNING
More file actions
31 lines (21 loc) · 721 Bytes
/
TUNING
File metadata and controls
31 lines (21 loc) · 721 Bytes
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
Linux:
For Raspberry Pi:
/boot/cmdline.txt:
smsc95xx.turbo_mode=N"
/etc/sysctl.conf:
vm.min_free_kbytes = 16384
/etc/limits.conf:
krmx soft nofile 12288
krmx hard nofile 24576
Make sure you have loaded pam_limits.so under login file:
# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
session required pam_limits.so
FreeBSD:
Apply these settings under loader.conf:
net.inet.tcp.syncache.hashsize=4096
net.inet.tcp.syncache.bucketlimit=100
kern.maxfiles=204800
kern.maxfilesperproc=200000
net.inet.tcp.fast_finwait2_recycle=1
net.inet.tcp.maxtcptw=409