summaryrefslogtreecommitdiffstats
path: root/sysctl_x220_jun22
diff options
context:
space:
mode:
Diffstat (limited to 'sysctl_x220_jun22')
-rw-r--r--sysctl_x220_jun2222
1 files changed, 22 insertions, 0 deletions
diff --git a/sysctl_x220_jun22 b/sysctl_x220_jun22
new file mode 100644
index 0000000..0d2517f
--- /dev/null
+++ b/sysctl_x220_jun22
@@ -0,0 +1,22 @@
+
+# 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