Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-16348: OSLAT latency spikes due to tsc karg setting #756

Merged
merged 3 commits into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/performanceprofile/tuned/openshift-node-performance
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ cmdline_isolation=+isolcpus=managed_irq,${isolated_cores}
{{end}}

{{if .RealTimeHint}}
cmdline_realtime=+nohz_full=${isolated_cores} tsc=nowatchdog nosoftlockup nmi_watchdog=0 mce=off skew_tick=1 rcutree.kthread_prio=11
cmdline_realtime=+nohz_full=${isolated_cores} tsc=reliable nosoftlockup nmi_watchdog=0 mce=off skew_tick=1 rcutree.kthread_prio=11
{{end}}

{{if .HighPowerConsumption}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
cmdlineCPUsPartitioning = "+nohz=on rcu_nocbs=${isolated_cores} tuned.non_isolcpus=${not_isolated_cpumask} systemd.cpu_affinity=${not_isolated_cores_expanded} intel_iommu=on iommu=pt"
cmdlineWithStaticIsolation = "+isolcpus=domain,managed_irq,${isolated_cores}"
cmdlineWithoutStaticIsolation = "+isolcpus=managed_irq,${isolated_cores}"
cmdlineRealtime = "+nohz_full=${isolated_cores} tsc=nowatchdog nosoftlockup nmi_watchdog=0 mce=off skew_tick=1 rcutree.kthread_prio=11"
cmdlineRealtime = "+nohz_full=${isolated_cores} tsc=reliable nosoftlockup nmi_watchdog=0 mce=off skew_tick=1 rcutree.kthread_prio=11"
cmdlineHighPowerConsumption = "+processor.max_cstate=1 intel_idle.max_cstate=0"
cmdlineIdlePoll = "+idle=poll"
cmdlineHugepages = "+ default_hugepagesz=1G hugepagesz=1G hugepages=4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters := []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1"}
kernelParameters := []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1"}

wg := sync.WaitGroup{}
By("Waiting for TuneD to start on nodes")
Expand Down Expand Up @@ -163,7 +163,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters := []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1"}
kernelParameters := []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1"}

wg := sync.WaitGroup{}
By("Waiting for TuneD to start on nodes")
Expand Down Expand Up @@ -281,7 +281,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters := []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1",
kernelParameters := []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1",
"processor.max_cstate=1", "intel_idle.max_cstate=0", "intel_pstate=disable", "idle=poll"}

wg := sync.WaitGroup{}
Expand Down Expand Up @@ -398,7 +398,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters := []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1",
kernelParameters := []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1",
"processor.max_cstate=1", "intel_idle.max_cstate=0", "intel_pstate=disable", "idle=poll"}

wg := sync.WaitGroup{}
Expand Down Expand Up @@ -463,7 +463,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters = []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1", "intel_pstate=passive"}
kernelParameters = []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1", "intel_pstate=passive"}

wg = sync.WaitGroup{}
By("Waiting for TuneD to start on nodes")
Expand Down Expand Up @@ -534,7 +534,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters := []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1", "intel_pstate=passive"}
kernelParameters := []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1", "intel_pstate=passive"}

wg := sync.WaitGroup{}
By("Waiting for TuneD to start on nodes")
Expand Down Expand Up @@ -598,7 +598,7 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific
"kernel.sched_rt_runtime_us": "-1",
"vm.stat_interval": "10",
}
kernelParameters = []string{noHzParam, "tsc=nowatchdog", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1",
kernelParameters = []string{noHzParam, "tsc=reliable", "nosoftlockup", "nmi_watchdog=0", "mce=off", "skew_tick=1",
"processor.max_cstate=1", "intel_idle.max_cstate=0", "intel_pstate=disable", "idle=poll"}

wg = sync.WaitGroup{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
overrides cpu-partitioning cmdline\ncmdline_cpu_part=+nohz=on rcu_nocbs=${isolated_cores}
tuned.non_isolcpus=${not_isolated_cpumask} systemd.cpu_affinity=${not_isolated_cores_expanded}
intel_iommu=on iommu=pt\n\n\ncmdline_isolation=+isolcpus=managed_irq,${isolated_cores}\n\n\n\ncmdline_realtime=+nohz_full=${isolated_cores}
tsc=nowatchdog nosoftlockup nmi_watchdog=0 mce=off skew_tick=1 rcutree.kthread_prio=11\n\n\n\n\n\n\n\ncmdline_hugepages=+
tsc=reliable nosoftlockup nmi_watchdog=0 mce=off skew_tick=1 rcutree.kthread_prio=11\n\n\n\n\n\n\n\ncmdline_hugepages=+
default_hugepagesz=1G hugepagesz=2M hugepages=128 \n\n\n\n\ncmdline_pstate=+intel_pstate=disable\n\n"
name: openshift-node-performance-manual
recommend:
Expand Down