File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
ztp/kube-compare-reference/required/node-tuning-operator Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1010 {{- if and (.spec.profile) (contains "max_perf_pct" (index .spec.profile 0).data) }}
1111 {{- $powersaveSysfs = "[sysfs]\n/sys/devices/system/cpu/intel_pstate/max_perf_pct=(?<max_perf_pct>[0-9]+)" }}
1212 {{- end }}
13+ {{- $timer_migration := "" }}
14+ {{- if and (.spec.profile) (contains "timer_migration=0" (index .spec.profile 0).data) }}
15+ {{- $timer_migration = "[sysctl]\nkernel.timer_migration=0" }}
16+ {{- end }}
1317 profile :
1418 - name : performance-patch
1519 # Please note:
3236 {{- if $powersaveSysfs }}
3337 {{- $powersaveSysfs | nindent 8 }}
3438 {{- end }}
39+ {{- if $timer_migration }}
40+ {{- $timer_migration | nindent 8 }}
41+ {{- end }}
3542 recommend :
3643 {{- range .spec.recommend }}
3744 - machineConfigLabels :
You can’t perform that action at this time.
0 commit comments