From 8b7fc7d24dc20455617e742f14201f9e44913ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 29 Jun 2026 17:55:04 +0200 Subject: [PATCH] sap-hana forced latency to 70 us Resolves: RHEL-184274 --- ...d-2.21.0-sap-hana-latency-force-70us.patch | 32 +++++++++++++++++++ tuned.spec | 8 ++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 tuned-2.21.0-sap-hana-latency-force-70us.patch diff --git a/tuned-2.21.0-sap-hana-latency-force-70us.patch b/tuned-2.21.0-sap-hana-latency-force-70us.patch new file mode 100644 index 0000000..5178473 --- /dev/null +++ b/tuned-2.21.0-sap-hana-latency-force-70us.patch @@ -0,0 +1,32 @@ +From 90d0aee4d2d9ca6d1084f39a3c874e35d6f9fb76 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= +Date: Mon, 2 Feb 2026 16:59:27 +0100 +Subject: [PATCH] sap-hana: force latency to 70 us, not to C-states +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Resolves: RHEL-142285 +Resolves: #808 + +Signed-off-by: Jaroslav Škarvada +--- + profiles/sap-hana/tuned.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/profiles/sap-hana/tuned.conf b/profiles/sap-hana/tuned.conf +index 80cebe0..daea3df 100644 +--- a/profiles/sap-hana/tuned.conf ++++ b/profiles/sap-hana/tuned.conf +@@ -6,7 +6,7 @@ + summary=Optimize for SAP HANA + + [cpu] +-force_latency=cstate.id_no_zero:3|70 ++force_latency=70 + governor=performance + energy_perf_bias=performance + min_perf_pct=100 +-- +2.54.0 + diff --git a/tuned.spec b/tuned.spec index f0e089f..df34f78 100644 --- a/tuned.spec +++ b/tuned.spec @@ -35,7 +35,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned Version: 2.22.1 -Release: 6%{?prerel1}%{?dist} +Release: 7%{?prerel1}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz # RHEL-8 specific recommend.conf: @@ -106,6 +106,8 @@ Patch4: tuned-2.21.1-CVE-2024-52337.patch Patch5: tuned-2.22.1-use-hdparm-lazily.patch # Disable the amd.scheduler plug-in instance in the postgresql profile (see RHEL-70470 for details) Patch6: tuned-2.22.1-postgresql-disable-amd-instance.patch +# sap-hana force latency to 70 us (see RHEL-184274 for details) +Patch7: tuned-2.21.0-sap-hana-latency-force-70us.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -578,6 +580,10 @@ fi %config(noreplace) %{_sysconfdir}/tuned/ppd.conf %changelog +* Mon Jun 29 2026 Jaroslav Škarvada - 2.22.1-7 +- sap-hana forced latency to 70 us + Resolves: RHEL-184274 + * Mon Jan 06 2025 Pavol Žáčik - 2.22.1-6 - Make hdparm device checks lazy Resolves: RHEL-71457