From 0a927ebb127f028cb0e6664dadaf333db398e62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 12 Mar 2024 21:55:44 +0100 Subject: [PATCH] profiles: added epyc-eda profile resolves: RHEL-27528 --- tuned-2.22.1-profile-epyc-eda.patch | 54 +++++++++++++++++++++++++++++ tuned.spec | 8 ++++- 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 tuned-2.22.1-profile-epyc-eda.patch diff --git a/tuned-2.22.1-profile-epyc-eda.patch b/tuned-2.22.1-profile-epyc-eda.patch new file mode 100644 index 0000000..bf0a7b6 --- /dev/null +++ b/tuned-2.22.1-profile-epyc-eda.patch @@ -0,0 +1,54 @@ +From 7557cf975282326cdbfe55b7b803d8075ff37cba Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= +Date: Tue, 12 Mar 2024 20:25:43 +0100 +Subject: [PATCH] epyc-eda: added new profile for EDA compute workloads on AMD + EPYC CPUs +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Jaroslav Škarvada +--- + man/tuned-profiles.7 | 4 ++++ + profiles/epyc-eda/tuned.conf | 14 ++++++++++++++ + 2 files changed, 18 insertions(+) + create mode 100644 profiles/epyc-eda/tuned.conf + +diff --git a/man/tuned-profiles.7 b/man/tuned-profiles.7 +index 10cad7b..600e8bb 100644 +--- a/man/tuned-profiles.7 ++++ b/man/tuned-profiles.7 +@@ -141,6 +141,10 @@ profiles (e.g. throughput\-performance profile), example: + Profile optimized for AWS EC2 instances. It is based on the + throughput\-performance profile. + ++.TP ++.BI "epyc-eda" ++Profile optimized for EDA compute workloads on AMD EPYC CPUs. ++ + .SH "FILES" + .nf + .I /etc/tuned/* +diff --git a/profiles/epyc-eda/tuned.conf b/profiles/epyc-eda/tuned.conf +new file mode 100644 +index 0000000..482d404 +--- /dev/null ++++ b/profiles/epyc-eda/tuned.conf +@@ -0,0 +1,14 @@ ++# ++# tuned configuration ++# ++ ++[main] ++summary=Optimize for EDA compute workloads on AMD EPYC CPUs ++description=Configures virtual memory, CPU governors, and network settings for EDA compute workloads. ++include=throughput-performance ++ ++# AMD ++[scheduler.amd] ++type=scheduler ++#Allow processes to rapidly move between cores to avoid idle time and maximize CPU usage ++sched_migration_cost_ns=10000 +-- +2.44.0 + diff --git a/tuned.spec b/tuned.spec index af1b0fa..7fb1893 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: 1%{?prerel1}%{?dist} +Release: 2%{?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: @@ -97,6 +97,8 @@ Requires: python3-syspurpose Patch0: tuned-2.22.0-rhel-8-profiles.patch # Revert no balancing cores to use SD_LOAD_BALANCE (see rhbz#1874596 for details) Patch1: tuned-2.21.0-sd-load-balance.patch +# epyc-eda TuneD profile only for RHEL-8 (see RHEL-27528 for details) +Patch2: tuned-2.22.1-profile-epyc-eda.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -569,6 +571,10 @@ fi %config(noreplace) %{_sysconfdir}/tuned/ppd.conf %changelog +* Tue Mar 12 2024 Jaroslav Škarvada - 2.22.1-2 +- profiles: added epyc-eda profile + resolves: RHEL-27528 + * Thu Feb 22 2024 Jaroslav Škarvada - 2.22.1-1 - new release - rebased tuned to latest upstream