Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Members of group my-hugetlbfs(1001) can allocate "huge" Shared memory segment
- vm.hugetlb_shm_group = 1001
- fs.inotify.max_user_watches=524288
- #https://blog.cloudflare.com/http-2-prioritization-with-nginx/
- net.ipv4.tcp_notsent_lowat = 16384
- net.core.default_qdisc = fq_codel
- net.ipv4.tcp_congestion_control = bbr
- #http://rudd-o.com/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that
- vm.swappiness=1
- vm.vfs_cache_pressure=50
- vm.stat_interval=10
- #from redhat's latency guide pdf
- #https://access.redhat.com/sites/default/files/attachments/201501-perf-brief-low-latency-tuning-rhel7-v1.1.pdf
- kernel.nmi_watchdog=0
- #network stuff
- net.core.busy_read=50
- net.core.busy_poll=50
- net.ipv4.tcp_fastopen=3
- vm.dirty_ratio=10
- vm.dirty_background_ratio=3
- #https://sites.google.com/site/mytechnotesproject/home/announce/vmdirtyratioandvmdirtybackgroundratio
- #vm.dirty_ratio=5
- #vm.dirty_background_ratio=5
- #https://github.com/hamadmarri/cacule-cpu-scheduler/issues/39
- ##Network-Settings
- net.core.netdev_max_backlog = 16384
- net.core.somaxconn = 8192
- net.core.rmem_default = 1048576
- net.core.rmem_max = 16777216
- net.core.wmem_default = 1048576
- net.core.wmem_max = 16777216
- net.core.optmem_max = 65536
- net.ipv4.tcp_rmem = 4096 1048576 2097152
- net.ipv4.tcp_wmem = 4096 65536 16777216
- net.ipv4.udp_rmem_min = 8192
- net.ipv4.udp_wmem_min = 8192
- net.ipv4.tcp_keepalive_time = 60
- net.ipv4.tcp_keepalive_intvl = 10
- net.ipv4.tcp_keepalive_probes = 6
- net.ipv4.conf.default.log_martians = 1
- net.ipv4.conf.all.log_martians = 1
- net.ipv4.tcp_mtu_probing = 1
- net.ipv4.tcp_syncookies = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement