Advertisement
Guest User

Untitled

a guest
Jul 27th, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. # Members of group my-hugetlbfs(1001) can allocate "huge" Shared memory segment
  2. vm.hugetlb_shm_group = 1001
  3.  
  4. fs.inotify.max_user_watches=524288
  5.  
  6. #https://blog.cloudflare.com/http-2-prioritization-with-nginx/
  7. net.ipv4.tcp_notsent_lowat = 16384
  8. net.core.default_qdisc = fq_codel
  9. net.ipv4.tcp_congestion_control = bbr
  10.  
  11. #http://rudd-o.com/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that
  12. vm.swappiness=1
  13. vm.vfs_cache_pressure=50
  14. vm.stat_interval=10
  15.  
  16. #from redhat's latency guide pdf
  17. #https://access.redhat.com/sites/default/files/attachments/201501-perf-brief-low-latency-tuning-rhel7-v1.1.pdf
  18. kernel.nmi_watchdog=0
  19.  
  20. #network stuff
  21. net.core.busy_read=50
  22. net.core.busy_poll=50
  23. net.ipv4.tcp_fastopen=3
  24. vm.dirty_ratio=10
  25. vm.dirty_background_ratio=3
  26.  
  27. #https://sites.google.com/site/mytechnotesproject/home/announce/vmdirtyratioandvmdirtybackgroundratio
  28. #vm.dirty_ratio=5
  29. #vm.dirty_background_ratio=5
  30.  
  31. #https://github.com/hamadmarri/cacule-cpu-scheduler/issues/39
  32. ##Network-Settings
  33. net.core.netdev_max_backlog = 16384
  34. net.core.somaxconn = 8192
  35. net.core.rmem_default = 1048576
  36. net.core.rmem_max = 16777216
  37. net.core.wmem_default = 1048576
  38. net.core.wmem_max = 16777216
  39. net.core.optmem_max = 65536
  40. net.ipv4.tcp_rmem = 4096 1048576 2097152
  41. net.ipv4.tcp_wmem = 4096 65536 16777216
  42. net.ipv4.udp_rmem_min = 8192
  43. net.ipv4.udp_wmem_min = 8192
  44. net.ipv4.tcp_keepalive_time = 60
  45. net.ipv4.tcp_keepalive_intvl = 10
  46. net.ipv4.tcp_keepalive_probes = 6
  47. net.ipv4.conf.default.log_martians = 1
  48. net.ipv4.conf.all.log_martians = 1
  49. net.ipv4.tcp_mtu_probing = 1
  50. net.ipv4.tcp_syncookies = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement