summaryrefslogblamecommitdiffstats
path: root/sysctl_x220_jun22
blob: 0d2517f91ed717cdacbfbc20bf6075b9383f5212 (plain) (tree)





















                                                       

# from https://www.c0ffee.net/blog/openbsd-on-a-laptop/
# shared memory limits (chrome needs a ton)
kern.shminfo.shmall=3145728
kern.shminfo.shmmax=2147483647
kern.shminfo.shmmni=1024

# semaphores
kern.shminfo.shmseg=1024
kern.seminfo.semmns=4096
kern.seminfo.semmni=1024

kern.maxproc=32768
kern.maxfiles=65535
kern.bufcachepercent=90
kern.maxvnodes=262144
kern.somaxconn=2048

kern.audio.record=1
kern.video.record=1

net.inet.ip.forwarding=1