# rpi tweaks vm.dirty_ratio = 75 vm.dirty_background_ratio = 35 #vm.dirty_expire_centisecs = 10000 #vm.dirty_writeback_centisecs = 1000 vm.min_free_kbytes = 8192 vm.swappiness=80 #vm.laptop_mode=0 #vm.overcommit_memory=0 #vm.page-cluster=0 #vm.vfs_cache_pressure=30 #kernel.msgmax = 65536 #kernel.msgmnb = 65536 #kernel.sem = 250 256000 32 1024 fs.file-max = 45000 #kernel.threads-max = 2300 net.ipv4.inet_peer_maxttl = 300 net.ipv4.inet_peer_minttl = 60 net.ipv4.tcp_keepalive_time = 400 net.ipv4.tcp_keepalive_intvl = 60 net.ipv4.tcp_keepalive_probes = 20 #kernel.sched_latency_ns = 8000000 #kernel.sched_rr_timeslice_ms = 150 #kernel.sched_rt_runtime_us = 990000