diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-10-10 12:54:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-10 12:54:03 -0700 |
commit | bb4df1cf799d66493b0679f0993cd0a1fe829a00 (patch) | |
tree | 180ed9708afe47b1c554bab0c70f7ec33007b828 /roles/tuned/templates/openshift | |
parent | 48126155eade2d030398f69dc5ee32838ec08480 (diff) | |
parent | 17e38ad8c62ac8f1c8f983e63181f69879a45d85 (diff) | |
download | openshift-bb4df1cf799d66493b0679f0993cd0a1fe829a00.tar.gz openshift-bb4df1cf799d66493b0679f0993cd0a1fe829a00.tar.bz2 openshift-bb4df1cf799d66493b0679f0993cd0a1fe829a00.tar.xz openshift-bb4df1cf799d66493b0679f0993cd0a1fe829a00.zip |
Merge pull request #5645 from jmencak/tuned-role-lb
Automatic merge from submit-queue.
Separate tuned daemon setup into a role.
Also adding support for the loadbalancer. It is important to raise ARP cache limits on HA setups with loadbalancers serving 1k+ nodes.
Diffstat (limited to 'roles/tuned/templates/openshift')
-rw-r--r-- | roles/tuned/templates/openshift/tuned.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/tuned/templates/openshift/tuned.conf b/roles/tuned/templates/openshift/tuned.conf new file mode 100644 index 000000000..68ac5dadb --- /dev/null +++ b/roles/tuned/templates/openshift/tuned.conf @@ -0,0 +1,24 @@ +# +# tuned configuration +# + +[main] +summary=Optimize systems running OpenShift (parent profile) +include=${f:virt_check:{{ openshift_tuned_guest_profile }}:throughput-performance} + +[selinux] +avc_cache_threshold=65536 + +[net] +nf_conntrack_hashsize=131072 + +[sysctl] +kernel.pid_max=131072 +net.netfilter.nf_conntrack_max=1048576 +fs.inotify.max_user_watches=65536 +net.ipv4.neigh.default.gc_thresh1=8192 +net.ipv4.neigh.default.gc_thresh2=32768 +net.ipv4.neigh.default.gc_thresh3=65536 +net.ipv6.neigh.default.gc_thresh1=8192 +net.ipv6.neigh.default.gc_thresh2=32768 +net.ipv6.neigh.default.gc_thresh3=65536 |