profiles: added epyc-eda profile
resolves: RHEL-27528
This commit is contained in:
parent
be61c18f0c
commit
0a927ebb12
54
tuned-2.22.1-profile-epyc-eda.patch
Normal file
54
tuned-2.22.1-profile-epyc-eda.patch
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
From 7557cf975282326cdbfe55b7b803d8075ff37cba Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
|
||||||
|
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 <jskarvad@redhat.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
Summary: A dynamic adaptive system tuning daemon
|
Summary: A dynamic adaptive system tuning daemon
|
||||||
Name: tuned
|
Name: tuned
|
||||||
Version: 2.22.1
|
Version: 2.22.1
|
||||||
Release: 1%{?prerel1}%{?dist}
|
Release: 2%{?prerel1}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
|
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
|
||||||
# RHEL-8 specific recommend.conf:
|
# RHEL-8 specific recommend.conf:
|
||||||
@ -97,6 +97,8 @@ Requires: python3-syspurpose
|
|||||||
Patch0: tuned-2.22.0-rhel-8-profiles.patch
|
Patch0: tuned-2.22.0-rhel-8-profiles.patch
|
||||||
# Revert no balancing cores to use SD_LOAD_BALANCE (see rhbz#1874596 for details)
|
# Revert no balancing cores to use SD_LOAD_BALANCE (see rhbz#1874596 for details)
|
||||||
Patch1: tuned-2.21.0-sd-load-balance.patch
|
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
|
%description
|
||||||
The tuned package contains a daemon that tunes system settings dynamically.
|
The tuned package contains a daemon that tunes system settings dynamically.
|
||||||
@ -569,6 +571,10 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/tuned/ppd.conf
|
%config(noreplace) %{_sysconfdir}/tuned/ppd.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 12 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-2
|
||||||
|
- profiles: added epyc-eda profile
|
||||||
|
resolves: RHEL-27528
|
||||||
|
|
||||||
* Thu Feb 22 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-1
|
* Thu Feb 22 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-1
|
||||||
- new release
|
- new release
|
||||||
- rebased tuned to latest upstream
|
- rebased tuned to latest upstream
|
||||||
|
Loading…
Reference in New Issue
Block a user