Created
June 7, 2020 02:33
-
-
Save linuxmalaysia/d03f0b7a9d960b704b3b02fcda642c15 to your computer and use it in GitHub Desktop.
sysctl.conf for elasticsearch node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm.max_map_count=262144 | |
net.core.default_qdisc = fq | |
net.ipv4.tcp_congestion_control = bbr | |
net.ipv4.tcp_notsent_lowat = 16384 | |
net.core.somaxconn = 4096 | |
# Increase size of file handles and inode cache | |
fs.file-max = 20971520 | |
# Do less swapping | |
vm.swappiness = 1 | |
vm.dirty_ratio = 60 | |
vm.dirty_background_ratio = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reading about Google BBR :-
https://cloud.google.com/blog/products/gcp/tcp-bbr-congestion-control-comes-to-gcp-your-internet-just-got-faster
https://blog.cloudflare.com/http-2-prioritization-with-nginx/