-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commenting out an invalid sysctl setting
- Loading branch information
1 parent
e480022
commit 9617f46
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
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
43 changes: 43 additions & 0 deletions
43
vendor/google/gke/node-pool/config/core-pool-sysctl.yaml.bak
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
kubeletConfig: | ||
cpuManagerPolicy: static | ||
# kubeletExtraConfig: | ||
# allowedUnsafeSysctls: 'net.core.*,net.ipv4.*' | ||
linuxConfig: | ||
sysctl: | ||
# tune the ipv4 settings to not cause nginx to use all of the tcp memory | ||
# addresses: https://jira-secure.berkeley.edu/browse/DH-3 | ||
# | ||
# following this process: | ||
# https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config | ||
# | ||
# man page: | ||
# https://man7.org/linux/man-pages/man7/tcp.7.html | ||
# | ||
# figures below are measured in units of system page size (4096B), | ||
# and gleaned from the following articles: | ||
# https://cromwell-intl.com/open-source/performance-tuning/tcp.html | ||
# https://www.ibm.com/docs/en/linux-on-systems?topic=tuning-tcpip-ipv4-settings | ||
# https://www.ibm.com/docs/en/linux-on-systems?topic=tuning-network-stack-settings | ||
# | ||
# net.ipv4.tcp_mem seems to be automagically generated from the supplied tcp_rmem | ||
# and tcp_wmem settings. i believe? | ||
# | ||
# here be dragons. | ||
# | ||
# original values (as of 2023-19-04): | ||
# net.core.netdev_max_backlog=1000 | ||
# net.core.rmem_max=212992 | ||
# net.core.wmem_max=212992 | ||
# net.ipv4.tcp_rmem=4096 87380 6291456 | ||
# net.ipv4.tcp_wmem=4096 16384 4194304 | ||
# | ||
# https://fasterdata.es.net/host-tuning/linux/#toc-anchor-2 | ||
net.core.netdev_max_backlog: '30000' | ||
net.ipv4.tcp_max_syn_backlog: '8192' | ||
net.core.rmem_default: | ||
net.core.rmem_max: '67108864' | ||
net.core.wmem_max: '67108864' | ||
net.ipv4.tcp_rmem: '4096 87380 33554432' | ||
net.ipv4.tcp_wmem: '4096 87380 33554432' | ||
# http://simonhf.wordpress.com/2010/10/01/node-js-versus-sxe-hello-world-complexity-speed-and-memory-usage/ | ||
net.core.somaxconn: '65535' |