Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/tuned-2.22.1.tar.gz
|
||||
SOURCES/tuned-2.24.0.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
60e206fe73ea537e64141f92b331f65879766f97 SOURCES/tuned-2.22.1.tar.gz
|
||||
15e516facaececaa788c2decae4bcd9f46781ffc SOURCES/tuned-2.24.0.tar.gz
|
||||
|
@ -1,80 +0,0 @@
|
||||
diff --git a/profiles/cpu-partitioning/script.sh b/profiles/cpu-partitioning/script.sh
|
||||
index ec422ca..cb378b7 100755
|
||||
--- a/profiles/cpu-partitioning/script.sh
|
||||
+++ b/profiles/cpu-partitioning/script.sh
|
||||
@@ -2,6 +2,38 @@
|
||||
|
||||
. /usr/lib/tuned/functions
|
||||
|
||||
+no_balance_cpus_file=$STORAGE/no-balance-cpus.txt
|
||||
+
|
||||
+change_sd_balance_bit()
|
||||
+{
|
||||
+ local set_bit=$1
|
||||
+ local flags_cur=
|
||||
+ local file=
|
||||
+ local cpu=
|
||||
+
|
||||
+ for cpu in $(cat $no_balance_cpus_file); do
|
||||
+ for file in $(find /proc/sys/kernel/sched_domain/cpu$cpu -name flags -print); do
|
||||
+ flags_cur=$(cat $file)
|
||||
+ if [ $set_bit -eq 1 ]; then
|
||||
+ flags_cur=$((flags_cur | 0x1))
|
||||
+ else
|
||||
+ flags_cur=$((flags_cur & 0xfffe))
|
||||
+ fi
|
||||
+ echo $flags_cur > $file
|
||||
+ done
|
||||
+ done
|
||||
+}
|
||||
+
|
||||
+disable_balance_domains()
|
||||
+{
|
||||
+ change_sd_balance_bit 0
|
||||
+}
|
||||
+
|
||||
+enable_balance_domains()
|
||||
+{
|
||||
+ change_sd_balance_bit 1
|
||||
+}
|
||||
+
|
||||
start() {
|
||||
mkdir -p "${TUNED_tmpdir}/etc/systemd"
|
||||
mkdir -p "${TUNED_tmpdir}/usr/lib/dracut/hooks/pre-udev"
|
||||
@@ -9,6 +41,9 @@ start() {
|
||||
cp 00-tuned-pre-udev.sh "${TUNED_tmpdir}/usr/lib/dracut/hooks/pre-udev/"
|
||||
setup_kvm_mod_low_latency
|
||||
disable_ksm
|
||||
+
|
||||
+ echo "$TUNED_no_balance_cores_expanded" | sed 's/,/ /g' > $no_balance_cpus_file
|
||||
+ disable_balance_domains
|
||||
return "$?"
|
||||
}
|
||||
|
||||
@@ -18,6 +53,7 @@ stop() {
|
||||
teardown_kvm_mod_low_latency
|
||||
enable_ksm
|
||||
fi
|
||||
+ enable_balance_domains
|
||||
return "$?"
|
||||
}
|
||||
|
||||
diff --git a/profiles/cpu-partitioning/tuned.conf b/profiles/cpu-partitioning/tuned.conf
|
||||
index 11f03cf..a682c9c 100644
|
||||
--- a/profiles/cpu-partitioning/tuned.conf
|
||||
+++ b/profiles/cpu-partitioning/tuned.conf
|
||||
@@ -35,8 +35,6 @@ no_balance_cores_expanded=${f:cpulist_unpack:${no_balance_cores}}
|
||||
# Fail if isolated_cores contains CPUs which are not online
|
||||
assert2=${f:assertion:isolated_cores contains online CPU(s):${isolated_cores_expanded}:${isolated_cores_online_expanded}}
|
||||
|
||||
-cmd_isolcpus=${f:regex_search_ternary:${no_balance_cores}:\s*[0-9]: isolcpus=${no_balance_cores}:}
|
||||
-
|
||||
[sysfs]
|
||||
/sys/bus/workqueue/devices/writeback/cpumask = ${not_isolated_cpumask}
|
||||
/sys/devices/virtual/workqueue/cpumask = ${not_isolated_cpumask}
|
||||
@@ -62,4 +60,4 @@ priority=10
|
||||
initrd_remove_dir=True
|
||||
initrd_dst_img=tuned-initrd.img
|
||||
initrd_add_dir=${tmpdir}
|
||||
-cmdline_cpu_part=+nohz=on${cmd_isolcpus} nohz_full=${isolated_cores} rcu_nocbs=${isolated_cores} tuned.non_isolcpus=${not_isolated_cpumask} intel_pstate=disable nosoftlockup
|
||||
+cmdline_cpu_part=+nohz=on nohz_full=${isolated_cores} rcu_nocbs=${isolated_cores} tuned.non_isolcpus=${not_isolated_cpumask} intel_pstate=disable nosoftlockup
|
@ -1,88 +0,0 @@
|
||||
diff --git a/profiles/latency-performance/tuned.conf b/profiles/latency-performance/tuned.conf
|
||||
index 1dec690..e592138 100644
|
||||
--- a/profiles/latency-performance/tuned.conf
|
||||
+++ b/profiles/latency-performance/tuned.conf
|
||||
@@ -35,3 +35,17 @@ vm.dirty_background_ratio=3
|
||||
# 100 tells the kernel to aggressively swap processes out of physical memory
|
||||
# and move them to swap cache
|
||||
vm.swappiness=10
|
||||
+
|
||||
+[scheduler]
|
||||
+runtime=0
|
||||
+# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
|
||||
+#
|
||||
+# Minimal preemption granularity for CPU-bound tasks:
|
||||
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
|
||||
+sched_min_granularity_ns = 3000000
|
||||
+sched_wakeup_granularity_ns = 4000000
|
||||
+
|
||||
+# The total time the scheduler will consider a migrated process
|
||||
+# "cache hot" and thus less likely to be re-migrated
|
||||
+# (system default is 500000, i.e. 0.5 ms)
|
||||
+sched_migration_cost_ns = 5000000
|
||||
diff --git a/profiles/sap-hana/tuned.conf b/profiles/sap-hana/tuned.conf
|
||||
index aeecf53..1b15ea3 100644
|
||||
--- a/profiles/sap-hana/tuned.conf
|
||||
+++ b/profiles/sap-hana/tuned.conf
|
||||
@@ -20,3 +20,8 @@ kernel.numa_balancing = 0
|
||||
vm.dirty_ratio = 40
|
||||
vm.dirty_background_ratio = 10
|
||||
vm.swappiness = 10
|
||||
+
|
||||
+[scheduler]
|
||||
+runtime=0
|
||||
+sched_min_granularity_ns = 3000000
|
||||
+sched_wakeup_granularity_ns = 4000000
|
||||
diff --git a/profiles/throughput-performance/tuned.conf b/profiles/throughput-performance/tuned.conf
|
||||
index e4e832f..3d9c42f 100644
|
||||
--- a/profiles/throughput-performance/tuned.conf
|
||||
+++ b/profiles/throughput-performance/tuned.conf
|
||||
@@ -67,9 +67,33 @@ vm.swappiness=10
|
||||
# on older kernels
|
||||
net.core.somaxconn=>2048
|
||||
|
||||
+[scheduler]
|
||||
+runtime=0
|
||||
+# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
|
||||
+#
|
||||
+# Minimal preemption granularity for CPU-bound tasks:
|
||||
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
|
||||
+sched_min_granularity_ns = 10000000
|
||||
+
|
||||
+# SCHED_OTHER wake-up granularity.
|
||||
+# (default: 1 msec# (1 + ilog(ncpus)), units: nanoseconds)
|
||||
+#
|
||||
+# This option delays the preemption effects of decoupled workloads
|
||||
+# and reduces their over-scheduling. Synchronous workloads will still
|
||||
+# have immediate wakeup/sleep latencies.
|
||||
+sched_wakeup_granularity_ns = 15000000
|
||||
+
|
||||
# Marvell ThunderX
|
||||
[sysctl.thunderx]
|
||||
type=sysctl
|
||||
uname_regex=aarch64
|
||||
cpuinfo_regex=${thunderx_cpuinfo_regex}
|
||||
kernel.numa_balancing=0
|
||||
+
|
||||
+# AMD
|
||||
+[scheduler.amd]
|
||||
+type=scheduler
|
||||
+uname_regex=x86_64
|
||||
+cpuinfo_regex=${amd_cpuinfo_regex}
|
||||
+runtime=0
|
||||
+sched_migration_cost_ns=5000000
|
||||
diff --git a/profiles/virtual-host/tuned.conf b/profiles/virtual-host/tuned.conf
|
||||
index 5301d9f..24d0fb4 100644
|
||||
--- a/profiles/virtual-host/tuned.conf
|
||||
+++ b/profiles/virtual-host/tuned.conf
|
||||
@@ -14,3 +14,10 @@ vm.dirty_background_ratio = 5
|
||||
[cpu]
|
||||
# Setting C3 state sleep mode/power savings
|
||||
force_latency=cstate.id_no_zero:3|70
|
||||
+
|
||||
+[scheduler]
|
||||
+runtime=0
|
||||
+# The total time the scheduler will consider a migrated process
|
||||
+# "cache hot" and thus less likely to be re-migrated
|
||||
+# (system default is 500000, i.e. 0.5 ms)
|
||||
+sched_migration_cost_ns = 5000000
|
@ -1,54 +0,0 @@
|
||||
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
|
||||
|
@ -1,28 +0,0 @@
|
||||
From 04ead944fdf640ed986331179e533542efc934c7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
|
||||
Date: Mon, 8 Apr 2024 11:03:47 +0200
|
||||
Subject: [PATCH] sap-netweaver: increased vm.max_map_count
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Resolves: RHEL-31757
|
||||
|
||||
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
|
||||
---
|
||||
profiles/sap-netweaver/tuned.conf | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/profiles/sap-netweaver/tuned.conf b/profiles/sap-netweaver/tuned.conf
|
||||
index a1cfd17..81c4d44 100644
|
||||
--- a/profiles/sap-netweaver/tuned.conf
|
||||
+++ b/profiles/sap-netweaver/tuned.conf
|
||||
@@ -10,4 +10,4 @@ include=throughput-performance
|
||||
kernel.sem = 32000 1024000000 500 32000
|
||||
kernel.shmall = 18446744073692774399
|
||||
kernel.shmmax = 18446744073692774399
|
||||
-vm.max_map_count = 2000000
|
||||
+vm.max_map_count = 2147483647
|
||||
--
|
||||
2.44.0
|
||||
|
508
SOURCES/tuned-2.24.0-revert-profile-migration.patch
Normal file
508
SOURCES/tuned-2.24.0-revert-profile-migration.patch
Normal file
@ -0,0 +1,508 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index f73f572..1f30598 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -47,8 +47,8 @@ $(error Failed to determine python library directory)
|
||||
endif
|
||||
KERNELINSTALLHOOKDIR = /usr/lib/kernel/install.d
|
||||
TUNED_SYSTEM_DIR = /usr/lib/tuned
|
||||
-TUNED_PROFILES_DIR = $(TUNED_SYSTEM_DIR)/profiles
|
||||
-TUNED_RECOMMEND_DIR = $(TUNED_SYSTEM_DIR)/recommend.d
|
||||
+TUNED_PROFILES_DIR = /usr/lib/tuned
|
||||
+TUNED_RECOMMEND_DIR = $(TUNED_PROFILES_DIR)/recommend.d
|
||||
TUNED_USER_RECOMMEND_DIR = $(SYSCONFDIR)/tuned/recommend.d
|
||||
BASH_COMPLETIONS = $(DATADIR)/bash-completion/completions
|
||||
|
||||
@@ -68,7 +68,7 @@ release-cp: release-dir
|
||||
tuned-adm.bash dbus.conf recommend.conf tuned-main.conf 00_tuned \
|
||||
92-tuned.install bootcmdline modules.conf com.redhat.tuned.policy \
|
||||
tuned-gui.py tuned-gui.glade tuned-ppd.py \
|
||||
- tuned-gui.desktop functions $(VERSIONED_NAME)
|
||||
+ tuned-gui.desktop $(VERSIONED_NAME)
|
||||
cp -a doc experiments libexec man profiles systemtap tuned contrib icons \
|
||||
tests $(VERSIONED_NAME)
|
||||
|
||||
@@ -135,7 +135,6 @@ install-dirs:
|
||||
mkdir -p $(DESTDIR)/run/tuned
|
||||
mkdir -p $(DESTDIR)$(DOCDIR)
|
||||
mkdir -p $(DESTDIR)$(SYSCONFDIR)
|
||||
- mkdir -p $(DESTDIR)$(SYSCONFDIR)/tuned/profiles
|
||||
mkdir -p $(DESTDIR)$(TUNED_RECOMMEND_DIR)
|
||||
mkdir -p $(DESTDIR)$(TUNED_USER_RECOMMEND_DIR)
|
||||
|
||||
diff --git a/doc/manual/modules/performance/con_inheritance-between-tuned-profiles.adoc b/doc/manual/modules/performance/con_inheritance-between-tuned-profiles.adoc
|
||||
index d72cc98..63517ac 100644
|
||||
--- a/doc/manual/modules/performance/con_inheritance-between-tuned-profiles.adoc
|
||||
+++ b/doc/manual/modules/performance/con_inheritance-between-tuned-profiles.adoc
|
||||
@@ -15,7 +15,7 @@ include=[replaceable]_parent_
|
||||
|
||||
All settings from the [replaceable]_parent_ profile are loaded in this _child_ profile. In the following sections, the _child_ profile can override certain settings inherited from the [replaceable]_parent_ profile or add new settings not present in the [replaceable]_parent_ profile.
|
||||
|
||||
-You can create your own _child_ profile in the [filename]`/etc/tuned/profiles/` directory based on a pre-installed profile in [filename]`/usr/lib/tuned/profiles/` with only some parameters adjusted.
|
||||
+You can create your own _child_ profile in the [filename]`/etc/tuned/` directory based on a pre-installed profile in [filename]`/usr/lib/tuned/` with only some parameters adjusted.
|
||||
|
||||
If the [replaceable]_parent_ profile is updated, such as after a *TuneD* upgrade, the changes are reflected in the _child_ profile.
|
||||
|
||||
diff --git a/doc/manual/modules/performance/con_the-location-of-tuned-profiles.adoc b/doc/manual/modules/performance/con_the-location-of-tuned-profiles.adoc
|
||||
index 4cd35b3..678ff6a 100644
|
||||
--- a/doc/manual/modules/performance/con_the-location-of-tuned-profiles.adoc
|
||||
+++ b/doc/manual/modules/performance/con_the-location-of-tuned-profiles.adoc
|
||||
@@ -5,17 +5,17 @@
|
||||
[role="_abstract"]
|
||||
*TuneD* stores profiles in the following directories:
|
||||
|
||||
-[filename]`/usr/lib/tuned/profiles/`::
|
||||
-Distribution-specific profiles are stored in the [filename]`/usr/lib/tuned/profiles/` directory. Each profile has its own directory. The profile consists of the main configuration file called `tuned.conf`, and optionally other files, for example helper scripts.
|
||||
+[filename]`/usr/lib/tuned/`::
|
||||
+Distribution-specific profiles are stored in the [filename]`/usr/lib/tuned/` directory. Each profile has its own directory. The profile consists of the main configuration file called `tuned.conf`, and optionally other files, for example helper scripts.
|
||||
|
||||
-[filename]`/etc/tuned/profiles/`::
|
||||
-If you need to customize a profile, copy the profile directory into the [filename]`/etc/tuned/profiles/` directory, which is used for custom profiles, and then adjust it. If there is a system profile and a custom profile of the same name, the custom profile located in [filename]`/etc/tuned/profiles` is used.
|
||||
+[filename]`/etc/tuned/`::
|
||||
+If you need to customize a profile, copy the profile directory into the [filename]`/etc/tuned/` directory, which is used for custom profiles, and then adjust it. If there is a system profile and a custom profile of the same name, the custom profile located in [filename]`/etc/tuned/` is used.
|
||||
|
||||
.User-defined profile directories
|
||||
====
|
||||
-If you want to make TuneD load profiles from a directory other than [filename]`/usr/lib/tuned/profiles/` and [filename]`/etc/tuned/profiles/`, you can list it in [filename]`/etc/tuned/tuned-main.conf` as follows:
|
||||
+If you want to make TuneD load profiles from a directory other than [filename]`/usr/lib/tuned/` and [filename]`/etc/tuned/`, you can list it in [filename]`/etc/tuned/tuned-main.conf` as follows:
|
||||
----
|
||||
-profile_dirs=/usr/lib/tuned/profiles,/etc/tuned/profiles,/my/custom/profiles
|
||||
+profile_dirs=/usr/lib/tuned,/etc/tuned,/my/custom/profiles
|
||||
----
|
||||
In this example, profiles are loaded also from [filename]`/my/custom/profiles/`. If two directories contain profiles with the same names, the one that is listed later takes precedence.
|
||||
====
|
||||
diff --git a/doc/manual/modules/performance/proc_creating-new-tuned-profiles.adoc b/doc/manual/modules/performance/proc_creating-new-tuned-profiles.adoc
|
||||
index 114e83a..36ea120 100644
|
||||
--- a/doc/manual/modules/performance/proc_creating-new-tuned-profiles.adoc
|
||||
+++ b/doc/manual/modules/performance/proc_creating-new-tuned-profiles.adoc
|
||||
@@ -17,11 +17,11 @@ endif::[]
|
||||
|
||||
.Procedure
|
||||
|
||||
-. In the [filename]`/etc/tuned/profiles/` directory, create a new directory named the same as the profile that you want to create:
|
||||
+. In the [filename]`/etc/tuned/` directory, create a new directory named the same as the profile that you want to create:
|
||||
+
|
||||
[subs=+quotes]
|
||||
----
|
||||
-# mkdir /etc/tuned/profiles/[replaceable]_my-profile_
|
||||
+# mkdir /etc/tuned/[replaceable]_my-profile_
|
||||
----
|
||||
|
||||
. In the new directory, create a file named [filename]`tuned.conf`. Add a `[main]` section and plug-in definitions in it, according to your requirements.
|
||||
diff --git a/doc/manual/modules/performance/proc_modifying-existing-tuned-profiles.adoc b/doc/manual/modules/performance/proc_modifying-existing-tuned-profiles.adoc
|
||||
index ba413fe..4447a3f 100644
|
||||
--- a/doc/manual/modules/performance/proc_modifying-existing-tuned-profiles.adoc
|
||||
+++ b/doc/manual/modules/performance/proc_modifying-existing-tuned-profiles.adoc
|
||||
@@ -17,11 +17,11 @@ endif::[]
|
||||
|
||||
.Procedure
|
||||
|
||||
-. In the [filename]`/etc/tuned/profiles/` directory, create a new directory named the same as the profile that you want to create:
|
||||
+. In the [filename]`/etc/tuned/` directory, create a new directory named the same as the profile that you want to create:
|
||||
+
|
||||
[subs=+quotes]
|
||||
----
|
||||
-# mkdir /etc/tuned/profiles/[replaceable]_modified-profile_
|
||||
+# mkdir /etc/tuned/[replaceable]_modified-profile_
|
||||
----
|
||||
|
||||
. In the new directory, create a file named [filename]`tuned.conf`, and set the `[main]` section as follows:
|
||||
@@ -75,13 +75,13 @@ See TuneD log file ('/var/log/tuned/tuned.log') for details.
|
||||
----
|
||||
|
||||
// .An alternative approach
|
||||
-// . Alternatively, copy the directory with a system profile from /usr/lib/tuned/profiles/ to /etc/tuned/profiles/. For example:
|
||||
+// . Alternatively, copy the directory with a system profile from /user/lib/tuned/ to /etc/tuned/. For example:
|
||||
// +
|
||||
// ----
|
||||
-// # cp -r /usr/lib/tuned/profiles/throughput-performance /etc/tuned/profiles
|
||||
+// # cp -r /usr/lib/tuned/throughput-performance /etc/tuned
|
||||
// ----
|
||||
//
|
||||
-// . Then, edit the profile in /etc/tuned/profiles/ according to your needs. Note that if there are two profiles of the same name, the profile located in /etc/tuned/profiles/ is loaded. The disadvantage of this approach is that if a system profile is updated after a TuneD upgrade, the changes will not be reflected in the now-outdated modified version.
|
||||
+// . Then, edit the profile in /etc/tuned according to your needs. Note that if there are two profiles of the same name, the profile located in /etc/tuned/ is loaded. The disadvantage of this approach is that if a system profile is updated after a TuneD upgrade, the changes will not be reflected in the now-outdated modified version.
|
||||
|
||||
[role="_additional-resources"]
|
||||
.Additional resources
|
||||
diff --git a/doc/manual/modules/performance/proc_setting-the-disk-scheduler-using-tuned.adoc b/doc/manual/modules/performance/proc_setting-the-disk-scheduler-using-tuned.adoc
|
||||
index 3314717..72a3e66 100644
|
||||
--- a/doc/manual/modules/performance/proc_setting-the-disk-scheduler-using-tuned.adoc
|
||||
+++ b/doc/manual/modules/performance/proc_setting-the-disk-scheduler-using-tuned.adoc
|
||||
@@ -64,7 +64,7 @@ $ tuned-adm active
|
||||
+
|
||||
[subs=+quotes]
|
||||
----
|
||||
-# mkdir /etc/tuned/profiles/[replaceable]__my-profile__
|
||||
+# mkdir /etc/tuned/[replaceable]__my-profile__
|
||||
----
|
||||
|
||||
. Find the system unique identifier of the selected block device:
|
||||
@@ -83,7 +83,7 @@ ID_SERIAL_SHORT=_20120501030900000_
|
||||
The command in the this example will return all values identified as a World Wide Name (WWN) or serial number associated with the specified block device. Although it is preferred to use a WWN, the WWN is not always available for a given device and any values returned by the example command are acceptable to use as the _device system unique ID_.
|
||||
====
|
||||
|
||||
-. Create the `/etc/tuned/profiles/[replaceable]_my-profile_/tuned.conf` configuration file. In the file, set the following options:
|
||||
+. Create the `/etc/tuned/_my-profile_/tuned.conf` configuration file. In the file, set the following options:
|
||||
|
||||
.. Optional: Include an existing profile:
|
||||
+
|
||||
diff --git a/man/tuned-adm.8 b/man/tuned-adm.8
|
||||
index 972f8b6..f29966d 100644
|
||||
--- a/man/tuned-adm.8
|
||||
+++ b/man/tuned-adm.8
|
||||
@@ -31,8 +31,8 @@ This command line utility allows you to switch between user definable tuning
|
||||
profiles. Several predefined profiles are already included. You can even
|
||||
create your own profile, either based on one of the existing ones by copying
|
||||
it or make a completely new one. The distribution provided profiles are stored
|
||||
-in subdirectories below \fI/usr/lib/tuned/profiles/\fP and the user defined profiles in
|
||||
-subdirectories below \fI/etc/tuned/profiles/\fP. If there are profiles with the same name
|
||||
+in subdirectories below \fI/usr/lib/tuned\fP and the user defined profiles in
|
||||
+subdirectories below \fI/etc/tuned\fP. If there are profiles with the same name
|
||||
in both places, user defined profiles have precedence.
|
||||
|
||||
.SH "OPTIONS"
|
||||
diff --git a/man/tuned-profiles.7 b/man/tuned-profiles.7
|
||||
index c710da9..10cad7b 100644
|
||||
--- a/man/tuned-profiles.7
|
||||
+++ b/man/tuned-profiles.7
|
||||
@@ -30,9 +30,9 @@ performance optimizations but there are also profiles targeted to
|
||||
low power consumption, low latency and others. You can mostly deduce the
|
||||
purpose of the profile by its name or you can see full description below.
|
||||
|
||||
-The profiles are stored in subdirectories below \fI/usr/lib/tuned/profiles/\fP. If you
|
||||
-need to customize the profiles, you can copy them to \fI/etc/tuned/profiles/\fP and modify
|
||||
-them as you need. When loading profiles with the same name, \fI/etc/tuned/profiles/\fP takes
|
||||
+The profiles are stored in subdirectories below \fI/usr/lib/tuned\fP. If you
|
||||
+need to customize the profiles, you can copy them to \fI/etc/tuned\fP and modify
|
||||
+them as you need. When loading profiles with the same name, the /etc/tuned takes
|
||||
precedence. In such case you will not lose your customized profiles between
|
||||
TuneD updates.
|
||||
|
||||
@@ -143,8 +143,8 @@ throughput\-performance profile.
|
||||
|
||||
.SH "FILES"
|
||||
.nf
|
||||
-.I /etc/tuned/profiles/*
|
||||
-.I /usr/lib/tuned/profiles/*
|
||||
+.I /etc/tuned/*
|
||||
+.I /usr/lib/tuned/*
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR tuned (8)
|
||||
diff --git a/man/tuned.conf.5 b/man/tuned.conf.5
|
||||
index c319130..464b6be 100644
|
||||
--- a/man/tuned.conf.5
|
||||
+++ b/man/tuned.conf.5
|
||||
@@ -3,8 +3,8 @@
|
||||
tuned.conf - TuneD profile definition
|
||||
.SH DESCRIPTION
|
||||
This man page documents format of TuneD 2.0 profile definition files.
|
||||
-The profile definition is stored in /etc/tuned/profiles/<profile_name>/tuned.conf or in
|
||||
-/usr/lib/tuned/profiles/<profile_name>/tuned.conf file where the /etc/tuned/profiles/ directory has
|
||||
+The profile definition is stored in /etc/tuned/<profile_name>/tuned.conf or in
|
||||
+/usr/lib/tuned/<profile_name>/tuned.conf file where the /etc/tuned/ directory has
|
||||
higher priority.
|
||||
|
||||
The \fBtuned.conf\fR configures the profile and it is in ini-file format.
|
||||
diff --git a/tests/beakerlib/Traceback-caused-by-scheduler-plugin-with/runtest.sh b/tests/beakerlib/Traceback-caused-by-scheduler-plugin-with/runtest.sh
|
||||
index d5cce71..559bb02 100755
|
||||
--- a/tests/beakerlib/Traceback-caused-by-scheduler-plugin-with/runtest.sh
|
||||
+++ b/tests/beakerlib/Traceback-caused-by-scheduler-plugin-with/runtest.sh
|
||||
@@ -18,7 +18,7 @@
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="tuned"
|
||||
-PROFILE_DIR="/etc/tuned/profiles"
|
||||
+PROFILE_DIR="/usr/lib/tuned"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
diff --git a/tests/beakerlib/bz1798183-RFE-support-post-loaded-profile/runtest.sh b/tests/beakerlib/bz1798183-RFE-support-post-loaded-profile/runtest.sh
|
||||
index 4825ceb..5b871c7 100755
|
||||
--- a/tests/beakerlib/bz1798183-RFE-support-post-loaded-profile/runtest.sh
|
||||
+++ b/tests/beakerlib/bz1798183-RFE-support-post-loaded-profile/runtest.sh
|
||||
@@ -18,11 +18,10 @@
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="tuned"
|
||||
-SYSCONF_DIR=/etc/tuned
|
||||
-PROFILE_DIR=$SYSCONF_DIR/profiles
|
||||
-ACTIVE_PROFILE=$SYSCONF_DIR/active_profile
|
||||
-PROFILE_MODE=$SYSCONF_DIR/profile_mode
|
||||
-POST_LOADED_PROFILE=$SYSCONF_DIR/post_loaded_profile
|
||||
+PROFILE_DIR=/etc/tuned
|
||||
+ACTIVE_PROFILE=/etc/tuned/active_profile
|
||||
+PROFILE_MODE=/etc/tuned/profile_mode
|
||||
+POST_LOADED_PROFILE=/etc/tuned/post_loaded_profile
|
||||
SWAPPINESS=vm.swappiness
|
||||
DIRTY_RATIO=vm.dirty_ratio
|
||||
PID_FILE=/run/tuned/tuned.pid
|
||||
@@ -65,7 +64,7 @@ rlJournalStart
|
||||
rlImport "tuned/basic"
|
||||
tunedDisableSystemdRateLimitingStart
|
||||
rlRun "for PYTHON in $PYTHON_CHECK; do \$PYTHON --version 2>/dev/null && break; done" 0 "Detect python"
|
||||
- rlRun "rlFileBackup --clean $SYSCONF_DIR"
|
||||
+ rlRun "rlFileBackup --clean $PROFILE_DIR"
|
||||
rlRun "cp -r parent $PROFILE_DIR"
|
||||
rlRun "cp -r parent2 $PROFILE_DIR"
|
||||
rlRun "cp -r parent-vars $PROFILE_DIR"
|
||||
diff --git a/tests/beakerlib/bz2071418-TuneD-exits-on-duplicate-config-lines-new/runtest.sh b/tests/beakerlib/bz2071418-TuneD-exits-on-duplicate-config-lines-new/runtest.sh
|
||||
index 8ecda75..9354b7d 100755
|
||||
--- a/tests/beakerlib/bz2071418-TuneD-exits-on-duplicate-config-lines-new/runtest.sh
|
||||
+++ b/tests/beakerlib/bz2071418-TuneD-exits-on-duplicate-config-lines-new/runtest.sh
|
||||
@@ -18,7 +18,7 @@
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="tuned"
|
||||
-PROFILE_DIR=/etc/tuned/profiles
|
||||
+PROFILE_DIR="/usr/lib/tuned"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
diff --git a/tests/beakerlib/error-messages/runtest.sh b/tests/beakerlib/error-messages/runtest.sh
|
||||
index 12f535e..0a45da2 100755
|
||||
--- a/tests/beakerlib/error-messages/runtest.sh
|
||||
+++ b/tests/beakerlib/error-messages/runtest.sh
|
||||
@@ -18,7 +18,7 @@
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="tuned"
|
||||
-PROFILE_DIR="/usr/lib/tuned/profiles"
|
||||
+PROFILE_DIR="/usr/lib/tuned"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
diff --git a/tests/beakerlib/variables-support-in-profiles/runtest.sh b/tests/beakerlib/variables-support-in-profiles/runtest.sh
|
||||
index 145bd9e..d6d50f7 100755
|
||||
--- a/tests/beakerlib/variables-support-in-profiles/runtest.sh
|
||||
+++ b/tests/beakerlib/variables-support-in-profiles/runtest.sh
|
||||
@@ -18,7 +18,7 @@
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="tuned"
|
||||
-PROFILE_DIR="/usr/lib/tuned/profiles"
|
||||
+PROFILE_DIR="/usr/lib/tuned"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
diff --git a/tuned-adm.bash b/tuned-adm.bash
|
||||
index 18c716b..a4e6075 100644
|
||||
--- a/tuned-adm.bash
|
||||
+++ b/tuned-adm.bash
|
||||
@@ -9,7 +9,7 @@ _tuned_adm()
|
||||
if [[ "$cword" -eq 1 ]]; then
|
||||
COMPREPLY=( $(compgen -W "$commands" -- "$cur" ) )
|
||||
elif [[ "$cword" -eq 2 && ("$prev" == "profile" || "$prev" == "profile_info") ]]; then
|
||||
- COMPREPLY=( $(compgen -W "$(command find /usr/lib/tuned/profiles /etc/tuned/profiles -mindepth 1 -maxdepth 1 -type d -printf "%f\n")" -- "$cur" ) )
|
||||
+ COMPREPLY=( $(compgen -W "$(command find /usr/lib/tuned /etc/tuned -mindepth 1 -maxdepth 1 -type d -printf "%f\n")" -- "$cur" ) )
|
||||
else
|
||||
COMPREPLY=()
|
||||
fi
|
||||
diff --git a/tuned-main.conf b/tuned-main.conf
|
||||
index 1f1269f..86bca4d 100644
|
||||
--- a/tuned-main.conf
|
||||
+++ b/tuned-main.conf
|
||||
@@ -86,4 +86,4 @@ log_file_max_size = 1MB
|
||||
# Directories to search for profiles separated by , or ;
|
||||
# In case of conflicts in profile names, the later directory
|
||||
# takes precedence
|
||||
-# profile_dirs = /usr/lib/tuned/profiles,/etc/tuned/profiles
|
||||
+# profile_dirs = /usr/lib/tuned,/etc/tuned
|
||||
diff --git a/tuned.spec b/tuned.spec
|
||||
index fc3c5d4..3e4bf99 100644
|
||||
--- a/tuned.spec
|
||||
+++ b/tuned.spec
|
||||
@@ -329,14 +329,6 @@ if [ -r "%{_sysconfdir}/default/grub" ]; then
|
||||
%{_sysconfdir}/default/grub
|
||||
fi
|
||||
|
||||
-%if 0%{?fedora} || 0%{?rhel} >= 10
|
||||
-# migrate all user-defined profiles from /etc/tuned/ to /etc/tuned/profiles/
|
||||
-for f in %{_sysconfdir}/tuned/*; do
|
||||
- if [ -e "$f/tuned.conf" ]; then
|
||||
- mv -n "$f" %{_sysconfdir}/tuned/profiles/
|
||||
- fi
|
||||
-done
|
||||
-%endif
|
||||
|
||||
|
||||
%post ppd
|
||||
@@ -453,34 +445,33 @@ fi
|
||||
%exclude %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
|
||||
%exclude %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
|
||||
%exclude %{_sysconfdir}/tuned/cpu-partitioning-powersave-variables.conf
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/default
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/desktop-powersave
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/laptop-ac-powersave
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/server-powersave
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/laptop-battery-powersave
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/enterprise-storage
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/spindown-disk
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/sap-netweaver
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/sap-hana
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/sap-hana-kvm-guest
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/mssql
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/oracle
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/atomic-host
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/atomic-guest
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/realtime
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/realtime-virtual-guest
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/realtime-virtual-host
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/cpu-partitioning
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/cpu-partitioning-powersave
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/spectrumscale-ece
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/postgresql
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/openshift
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/openshift-control-plane
|
||||
-%exclude %{_prefix}/lib/tuned/profiles/openshift-node
|
||||
+%exclude %{_prefix}/lib/tuned/default
|
||||
+%exclude %{_prefix}/lib/tuned/desktop-powersave
|
||||
+%exclude %{_prefix}/lib/tuned/laptop-ac-powersave
|
||||
+%exclude %{_prefix}/lib/tuned/server-powersave
|
||||
+%exclude %{_prefix}/lib/tuned/laptop-battery-powersave
|
||||
+%exclude %{_prefix}/lib/tuned/enterprise-storage
|
||||
+%exclude %{_prefix}/lib/tuned/spindown-disk
|
||||
+%exclude %{_prefix}/lib/tuned/sap-netweaver
|
||||
+%exclude %{_prefix}/lib/tuned/sap-hana
|
||||
+%exclude %{_prefix}/lib/tuned/sap-hana-kvm-guest
|
||||
+%exclude %{_prefix}/lib/tuned/mssql
|
||||
+%exclude %{_prefix}/lib/tuned/oracle
|
||||
+%exclude %{_prefix}/lib/tuned/atomic-host
|
||||
+%exclude %{_prefix}/lib/tuned/atomic-guest
|
||||
+%exclude %{_prefix}/lib/tuned/realtime
|
||||
+%exclude %{_prefix}/lib/tuned/realtime-virtual-guest
|
||||
+%exclude %{_prefix}/lib/tuned/realtime-virtual-host
|
||||
+%exclude %{_prefix}/lib/tuned/cpu-partitioning
|
||||
+%exclude %{_prefix}/lib/tuned/cpu-partitioning-powersave
|
||||
+%exclude %{_prefix}/lib/tuned/spectrumscale-ece
|
||||
+%exclude %{_prefix}/lib/tuned/postgresql
|
||||
+%exclude %{_prefix}/lib/tuned/openshift
|
||||
+%exclude %{_prefix}/lib/tuned/openshift-control-plane
|
||||
+%exclude %{_prefix}/lib/tuned/openshift-node
|
||||
%{_prefix}/lib/tuned
|
||||
%dir %{_sysconfdir}/tuned
|
||||
%dir %{_sysconfdir}/tuned/recommend.d
|
||||
-%dir %{_sysconfdir}/tuned/profiles
|
||||
%dir %{_libexecdir}/tuned
|
||||
%{_libexecdir}/tuned/defirqaffinity*
|
||||
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/active_profile
|
||||
@@ -534,40 +525,40 @@ fi
|
||||
%{_mandir}/man8/scomes.*
|
||||
|
||||
%files profiles-sap
|
||||
-%{_prefix}/lib/tuned/profiles/sap-netweaver
|
||||
+%{_prefix}/lib/tuned/sap-netweaver
|
||||
%{_mandir}/man7/tuned-profiles-sap.7*
|
||||
|
||||
%files profiles-sap-hana
|
||||
-%{_prefix}/lib/tuned/profiles/sap-hana
|
||||
-%{_prefix}/lib/tuned/profiles/sap-hana-kvm-guest
|
||||
+%{_prefix}/lib/tuned/sap-hana
|
||||
+%{_prefix}/lib/tuned/sap-hana-kvm-guest
|
||||
%{_mandir}/man7/tuned-profiles-sap-hana.7*
|
||||
|
||||
%files profiles-mssql
|
||||
-%{_prefix}/lib/tuned/profiles/mssql
|
||||
+%{_prefix}/lib/tuned/mssql
|
||||
%{_mandir}/man7/tuned-profiles-mssql.7*
|
||||
|
||||
%files profiles-oracle
|
||||
-%{_prefix}/lib/tuned/profiles/oracle
|
||||
+%{_prefix}/lib/tuned/oracle
|
||||
%{_mandir}/man7/tuned-profiles-oracle.7*
|
||||
|
||||
%files profiles-atomic
|
||||
-%{_prefix}/lib/tuned/profiles/atomic-host
|
||||
-%{_prefix}/lib/tuned/profiles/atomic-guest
|
||||
+%{_prefix}/lib/tuned/atomic-host
|
||||
+%{_prefix}/lib/tuned/atomic-guest
|
||||
%{_mandir}/man7/tuned-profiles-atomic.7*
|
||||
|
||||
%files profiles-realtime
|
||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
|
||||
-%{_prefix}/lib/tuned/profiles/realtime
|
||||
+%{_prefix}/lib/tuned/realtime
|
||||
%{_mandir}/man7/tuned-profiles-realtime.7*
|
||||
|
||||
%files profiles-nfv-guest
|
||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
|
||||
-%{_prefix}/lib/tuned/profiles/realtime-virtual-guest
|
||||
+%{_prefix}/lib/tuned/realtime-virtual-guest
|
||||
%{_mandir}/man7/tuned-profiles-nfv-guest.7*
|
||||
|
||||
%files profiles-nfv-host
|
||||
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
|
||||
-%{_prefix}/lib/tuned/profiles/realtime-virtual-host
|
||||
+%{_prefix}/lib/tuned/realtime-virtual-host
|
||||
%{_mandir}/man7/tuned-profiles-nfv-host.7*
|
||||
|
||||
%files profiles-nfv
|
||||
@@ -576,32 +567,32 @@ fi
|
||||
%files profiles-cpu-partitioning
|
||||
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
|
||||
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-powersave-variables.conf
|
||||
-%{_prefix}/lib/tuned/profiles/cpu-partitioning
|
||||
-%{_prefix}/lib/tuned/profiles/cpu-partitioning-powersave
|
||||
+%{_prefix}/lib/tuned/cpu-partitioning
|
||||
+%{_prefix}/lib/tuned/cpu-partitioning-powersave
|
||||
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7*
|
||||
|
||||
%files profiles-spectrumscale
|
||||
-%{_prefix}/lib/tuned/profiles/spectrumscale-ece
|
||||
+%{_prefix}/lib/tuned/spectrumscale-ece
|
||||
%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
|
||||
|
||||
%files profiles-compat
|
||||
-%{_prefix}/lib/tuned/profiles/default
|
||||
-%{_prefix}/lib/tuned/profiles/desktop-powersave
|
||||
-%{_prefix}/lib/tuned/profiles/laptop-ac-powersave
|
||||
-%{_prefix}/lib/tuned/profiles/server-powersave
|
||||
-%{_prefix}/lib/tuned/profiles/laptop-battery-powersave
|
||||
-%{_prefix}/lib/tuned/profiles/enterprise-storage
|
||||
-%{_prefix}/lib/tuned/profiles/spindown-disk
|
||||
+%{_prefix}/lib/tuned/default
|
||||
+%{_prefix}/lib/tuned/desktop-powersave
|
||||
+%{_prefix}/lib/tuned/laptop-ac-powersave
|
||||
+%{_prefix}/lib/tuned/server-powersave
|
||||
+%{_prefix}/lib/tuned/laptop-battery-powersave
|
||||
+%{_prefix}/lib/tuned/enterprise-storage
|
||||
+%{_prefix}/lib/tuned/spindown-disk
|
||||
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||
|
||||
%files profiles-postgresql
|
||||
-%{_prefix}/lib/tuned/profiles/postgresql
|
||||
+%{_prefix}/lib/tuned/postgresql
|
||||
%{_mandir}/man7/tuned-profiles-postgresql.7*
|
||||
|
||||
%files profiles-openshift
|
||||
-%{_prefix}/lib/tuned/profiles/openshift
|
||||
-%{_prefix}/lib/tuned/profiles/openshift-control-plane
|
||||
-%{_prefix}/lib/tuned/profiles/openshift-node
|
||||
+%{_prefix}/lib/tuned/openshift
|
||||
+%{_prefix}/lib/tuned/openshift-control-plane
|
||||
+%{_prefix}/lib/tuned/openshift-node
|
||||
%{_mandir}/man7/tuned-profiles-openshift.7*
|
||||
|
||||
%files ppd
|
||||
diff --git a/tuned/consts.py b/tuned/consts.py
|
||||
index 5134684..76e5a42 100644
|
||||
--- a/tuned/consts.py
|
||||
+++ b/tuned/consts.py
|
||||
@@ -13,7 +13,7 @@ DBUS_INTERFACE = "com.redhat.tuned.control"
|
||||
DBUS_OBJECT = "/Tuned"
|
||||
DEFAULT_PROFILE = "balanced"
|
||||
DEFAULT_STORAGE_FILE = "/run/tuned/save.pickle"
|
||||
-SYSTEM_PROFILE_DIR = "/usr/lib/tuned/profiles"
|
||||
+SYSTEM_PROFILE_DIR = "/usr/lib/tuned"
|
||||
PERSISTENT_STORAGE_DIR = "/var/lib/tuned"
|
||||
PLUGIN_MAIN_UNIT_NAME = "main"
|
||||
# Magic section header because ConfigParser does not support "headerless" config
|
||||
@@ -174,7 +174,7 @@ CFG_FUNC_UNIX_SOCKET_CONNECTIONS_BACKLOG = "getint"
|
||||
# default rollback strategy
|
||||
CFG_DEF_ROLLBACK = "auto"
|
||||
# default profile directories
|
||||
-CFG_DEF_PROFILE_DIRS = [SYSTEM_PROFILE_DIR, "/etc/tuned/profiles"]
|
||||
+CFG_DEF_PROFILE_DIRS = [SYSTEM_PROFILE_DIR, "/etc/tuned"]
|
||||
|
||||
PATH_CPU_DMA_LATENCY = "/dev/cpu_dma_latency"
|
||||
|
548
SPECS/tuned.spec
548
SPECS/tuned.spec
@ -34,15 +34,20 @@
|
||||
|
||||
Summary: A dynamic adaptive system tuning daemon
|
||||
Name: tuned
|
||||
Version: 2.22.1
|
||||
Release: 4%{?prerel1}%{?dist}.1
|
||||
Version: 2.24.0
|
||||
Release: 1%{?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:
|
||||
# RHEL-9 specific recommend.conf:
|
||||
Source1: recommend.conf
|
||||
URL: http://www.tuned-project.org/
|
||||
BuildArch: noarch
|
||||
BuildRequires: systemd, desktop-file-utils
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: asciidoc
|
||||
%else
|
||||
BuildRequires: asciidoctor
|
||||
%endif
|
||||
Requires(post): systemd, virt-what
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
@ -93,14 +98,8 @@ Recommends: subscription-manager
|
||||
Requires: python3-syspurpose
|
||||
%endif
|
||||
%endif
|
||||
# Revert upstream profiles changes which have not been approved for RHEL-8 (yet)
|
||||
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
|
||||
# Update vm.max_map_count in the sap-netweaver profile (see RHEL-32124 for details)
|
||||
Patch3: tuned-2.22.1-sap-vm-max-map-count.patch
|
||||
# Revert default profile directory migration only applicable for RHEL-10+
|
||||
Patch0: tuned-2.24.0-revert-profile-migration.patch
|
||||
|
||||
%description
|
||||
The tuned package contains a daemon that tunes system settings dynamically.
|
||||
@ -265,6 +264,7 @@ Requires: %{name} = %{version}
|
||||
# The compatibility daemon is swappable for power-profiles-daemon
|
||||
Provides: ppd-service
|
||||
Conflicts: ppd-service
|
||||
Conflicts: power-profiles-daemon
|
||||
|
||||
%description ppd
|
||||
An API translation daemon that allows applications to easily transition
|
||||
@ -273,7 +273,7 @@ to TuneD from power-profiles-daemon (PPD).
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}%{?prerel2}
|
||||
|
||||
# Replace the upstream recommend.conf with a RHEL-8-specific one
|
||||
# Replace the upstream recommend.conf with a RHEL-9-specific one
|
||||
rm -f recommend.conf
|
||||
cp -p %{SOURCE1} recommend.conf
|
||||
|
||||
@ -329,6 +329,10 @@ if [ -r "%{_sysconfdir}/default/grub" ]; then
|
||||
fi
|
||||
|
||||
|
||||
%post ppd
|
||||
%systemd_post tuned-ppd.service
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_preun tuned.service
|
||||
if [ "$1" == 0 ]; then
|
||||
@ -339,6 +343,10 @@ if [ "$1" == 0 ]; then
|
||||
fi
|
||||
|
||||
|
||||
%preun ppd
|
||||
%systemd_preun tuned-ppd.service
|
||||
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart tuned.service
|
||||
|
||||
@ -378,12 +386,24 @@ if [ "$1" == 0 ]; then
|
||||
fi
|
||||
|
||||
|
||||
%postun ppd
|
||||
%systemd_postun_with_restart tuned-ppd.service
|
||||
|
||||
|
||||
%triggerun -- tuned < 2.0-0
|
||||
# remove ktune from old tuned, now part of tuned
|
||||
/usr/sbin/service ktune stop &>/dev/null || :
|
||||
/usr/sbin/chkconfig --del ktune &>/dev/null || :
|
||||
|
||||
|
||||
%triggerun ppd -- power-profiles-daemon
|
||||
# if swapping power-profiles-daemon for tuned-ppd, check whether it is active
|
||||
if systemctl is-active --quiet power-profiles-daemon; then
|
||||
mkdir -p %{_localstatedir}/lib/rpm-state/tuned
|
||||
touch %{_localstatedir}/lib/rpm-state/tuned/ppd-active
|
||||
fi
|
||||
|
||||
|
||||
%posttrans
|
||||
# conditional support for grub2, grub2 is not available on all architectures
|
||||
# and tuned is noarch package, thus the following hack is needed
|
||||
@ -394,6 +414,15 @@ if [ -d %{_sysconfdir}/grub.d ]; then
|
||||
fi
|
||||
|
||||
|
||||
%posttrans ppd
|
||||
# if power-profiles-daemon was active before installing tuned-ppd,
|
||||
# start tuned-ppd right away
|
||||
if [ -f %{_localstatedir}/lib/rpm-state/tuned/ppd-active ]; then
|
||||
systemctl start tuned-ppd
|
||||
rm -rf %{_localstatedir}/lib/rpm-state/tuned
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
%exclude %{docdir}/README.utils
|
||||
%exclude %{docdir}/README.scomes
|
||||
@ -573,188 +602,225 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/tuned/ppd.conf
|
||||
|
||||
%changelog
|
||||
* Fri May 3 2024 Pavol Žáčik <pzacik@redhat.com> - 2.22.1-4.1
|
||||
- sap-netweaver: increase vm.max_map_count
|
||||
resolves: RHEL-32124
|
||||
* Wed Aug 7 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.24.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: RHEL-50568
|
||||
- clear plugin repository when stopping tuning
|
||||
- man: add description of the balanced-battery profile
|
||||
|
||||
* Wed Mar 13 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-4
|
||||
- release bump due to broken c8s
|
||||
related: RHEL-27528
|
||||
* Fri Jul 26 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.24.0-0.2.rc1
|
||||
- fixed functions packaging and added explicit conflict with power-profiles-daemon
|
||||
related: RHEL-50568
|
||||
|
||||
* Wed Mar 13 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-3
|
||||
- release bump
|
||||
related: RHEL-27528
|
||||
|
||||
* Tue Mar 12 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-2
|
||||
- profiles: added epyc-eda profile
|
||||
resolves: RHEL-27528
|
||||
* Thu Jul 25 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.24.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: RHEL-50568
|
||||
- spec: create /etc/tuned/profiles directory
|
||||
- hotplug: wait for device initialization
|
||||
- sap-netweaver: increased vm.max_map_count
|
||||
resolves: RHEL-31757
|
||||
- daemon: buffer sighup signal
|
||||
resolves: RHEL-31180
|
||||
- added an option to configure profile directories
|
||||
resolves: RHEL-26157
|
||||
- api: added commands to dynamically create/destroy instances
|
||||
- functions: added 'intel_recommended_pstate'
|
||||
- functions: added 'log' which helps with debugging
|
||||
- functions: added 'package2cpus' and 'packages2uncores' matchers
|
||||
- functions: added 'lscpu' to list CPU details
|
||||
- plugins: added plugin_irq
|
||||
- plugin_video: added support for amdgpu `panel_power_savings` attribute
|
||||
- plugin_cpu: check that writes are necessary if they may cause redundant IPIs
|
||||
resolves: RHEL-25613
|
||||
- plugin_uncore: allow to configure frequency limits using percent
|
||||
- amd-pstate: added support for controlling core performance boost
|
||||
- plugin_scheduler: adjusted error logging in _set_affinity
|
||||
resolves: RHEL-46560
|
||||
- plugin_audio: enabled controller reset to fix suspend with NVIDIA
|
||||
- plugin_irq: fixed expansion of variables
|
||||
- plugin_irqbalance: switched to IRQBALANCE_BANNED_CPULIST
|
||||
|
||||
* Thu Feb 22 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: RHEL-17119
|
||||
related: RHEL-17121
|
||||
- renamed intel_uncore plugin to uncore
|
||||
- network-throughput: increased net.ipv4.tcp_rmem default value
|
||||
resolves: RHEL-25847
|
||||
|
||||
* Fri Feb 16 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: RHEL-17119
|
||||
- lower CPU usage by using runtime=0 in profiles using scheduler plugin
|
||||
resolves: RHEL-6869
|
||||
related: RHEL-17121
|
||||
|
||||
* Fri Feb 9 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: RHEL-17119
|
||||
resolves: RHEL-17121
|
||||
- print all arguments of failing commands in error messages
|
||||
resolves: RHEL-3689
|
||||
- plugin_sysctl: added support for sysctl names with slash
|
||||
resolves: RHEL-3707
|
||||
- tuned-adm: added support for moving devices between plugin instances
|
||||
resolves: RHEL-15141
|
||||
- api: added methods for retrieval of plugin instances and devices
|
||||
resolves: RHEL-15137
|
||||
- plugin_cpu: amd-pstate mentioned instead of just intel_pstate
|
||||
resolves: RHEL-16469
|
||||
- hotplug: do not report ENOENT errors on device remove
|
||||
resolves: RHEL-11342
|
||||
- plugin_sysctl: expand variables when reporting overrides
|
||||
resolves: RHEL-18972
|
||||
- plugin_acpi: new plugin which handles ACPI platform_profile
|
||||
resolves: RHEL-16966
|
||||
- plugin_bootloader: skip calling rpm-ostree kargs in no-op case
|
||||
resolves: RHEL-20767
|
||||
- plugin_cpu: support cstate settings of pm_qos_resume_latency_us
|
||||
resolves: RHEL-21129
|
||||
- scheduler: add option for ignoring IRQs affinity
|
||||
resolves: RHEL-21923
|
||||
- plugin_intel_uncore: new plugin for uncore setting
|
||||
|
||||
* Tue Aug 29 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 2.21.0-1
|
||||
- new release
|
||||
- api: fixed stop method not to require any parameter
|
||||
resolves: rhbz#2235638
|
||||
resolves: rhbz#2235637
|
||||
|
||||
* Sun Aug 20 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 2.21.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#2182119
|
||||
- sap-hana: new profile sap-hana-kvm-guest
|
||||
resolves: rhbz#2173740
|
||||
- serialized SIGHUP handler to prevent possible bootcmdline corruption
|
||||
resolves: rhbz#2215298
|
||||
resolves: rhbz#2182117
|
||||
- plugin_scheduler: fix perf fd leaks
|
||||
resolves: rhbz#2173938
|
||||
- allow skipping rollback when restarting TuneD or switching profile
|
||||
resolves: rhbz#2203142
|
||||
- function_calc_isolated_cores: no errors for offline CPUs
|
||||
resolves: rhbz#2217015
|
||||
|
||||
* Fri Feb 17 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#2133814
|
||||
related: rhbz#2133815
|
||||
|
||||
* Wed Feb 15 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20.0-0.2.rc1
|
||||
- post RC.1 fixes
|
||||
related: rhbz#2133814
|
||||
related: rhbz#2133815
|
||||
- fixed possible traceback on SIGHUP
|
||||
resolves: rhbz#2169712
|
||||
|
||||
* Wed Feb 8 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 2.20.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#2133814
|
||||
resolves: rhbz#2133815
|
||||
- systemd: relax polkit requirement
|
||||
resolves: rhbz#2065591
|
||||
- sysvinit: fixed path
|
||||
resolves: rhbz#2118301
|
||||
- plugin_cpu: added support for pm_qos_resume_latency_us
|
||||
resolves: rhbz#2118786
|
||||
- do not exit on duplicate config lines
|
||||
resolves: rhbz#2071418
|
||||
- profiles: new cpu-partitioning-powersave profile
|
||||
- profiles: new profile for AWS EC2
|
||||
- API: add support for moving devices between instances
|
||||
resolves: rhbz#2113925
|
||||
- D-Bus: send tracebacks through D-Bus only in debug mode
|
||||
resolves: rhbz#2159680
|
||||
- Makefile: added fix for python-3.12
|
||||
- throughput-performance: set net.core.somaxconn to at least 2048
|
||||
resolves: rhbz#1998310
|
||||
- plugin_scheduler: do not leak FDs from the perf
|
||||
resolves: rhbz#2080227
|
||||
- plugin_cpu: added support for intel_pstate scaling driver
|
||||
resolves: rhbz#2095829
|
||||
- added support for the API access through the Unix Domain Socket
|
||||
resolves: rhbz#2113900
|
||||
|
||||
* Fri Aug 19 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.19.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#2057602
|
||||
related: rhbz#2057609
|
||||
|
||||
* Tue Aug 9 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.19.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#2057602
|
||||
resolves: rhbz#2057609
|
||||
- fixed parsing of inline comments
|
||||
resolves: rhbz#2060138
|
||||
- added support for quotes in isolated_cores specification
|
||||
resolves: rhbz#1891036
|
||||
- recommend: preset balanced profile for notebook, laptop or portable if
|
||||
syspurpose is not defined
|
||||
resolves: rhbz#1896717
|
||||
- spec: reduced weak dependencies
|
||||
resolves: rhbz#2093841
|
||||
- recommend: do not ignore syspurpose_role if there is no syspurpose
|
||||
resolves: rhbz#2030580
|
||||
- added support for initial autosetup of isolated_cores
|
||||
resolves: rhbz#2093847
|
||||
|
||||
* Wed Jun 8 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-3
|
||||
- bootloader: do not hardcode device to initrd
|
||||
resolves: rhbz#2050246
|
||||
|
||||
* Thu Feb 10 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-2
|
||||
- openshift/atomic: increased nf_conntrack_hashsize
|
||||
resolves: rhbz#2052886
|
||||
* Thu May 19 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-2
|
||||
- realtime: set tsc as reliable
|
||||
resolves: rhbz#2086374
|
||||
|
||||
* Wed Feb 9 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#2003833
|
||||
related: rhbz#2003838
|
||||
- tuned-gui: fixed creation of new profile
|
||||
|
||||
* Wed Feb 2 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.18.0-0.1.rc1
|
||||
* Sun Jan 16 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.17.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#2003833
|
||||
- profiles: fix improper parsing of include directive
|
||||
resolves: rhbz#2017924
|
||||
- disk: added support for the nvme
|
||||
resolves: rhbz#1854816
|
||||
- cpu: extended cstate force_latency syntax to allow skipping zero latency
|
||||
resolves: rhbz#2002744
|
||||
- net: added support for the txqueuelen
|
||||
resolves: rhbz#2015044
|
||||
- bootloader: on s390(x) remove TuneD variables from the BLS
|
||||
resolves: rhbz#1978786
|
||||
- daemon: don't do full rollback on systemd failure
|
||||
resolves: rhbz#2011459
|
||||
related: rhbz#2003838
|
||||
|
||||
* Sun Jan 2 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.17.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#2003838
|
||||
- cpu-partitioning: fixed no_balance_cores on newer kernels
|
||||
resolves: rhbz#1874596
|
||||
|
||||
* Mon Dec 6 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-4
|
||||
- spec: do not require subscription-manager on CentOS
|
||||
Resolves: rhbz#2029405
|
||||
|
||||
* Wed Aug 18 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-3
|
||||
- scheduler: allow exclude of processes from the specific cgroup(s)
|
||||
Resolves: rhbz#1980715
|
||||
- Switched to the configparser from the configobj
|
||||
Resolves: rhbz#1936386
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.16.0-2
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Wed Jul 21 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#1936426
|
||||
resolves: rhbz#1944643
|
||||
- realtime: disabled kvm.nx_huge_page kernel module option in
|
||||
realtime-virtual-host profile
|
||||
resolves: rhbz#1976825
|
||||
- realtime: explicitly set 'irqaffinity=~<isolated_cpu_mask>' in kernel
|
||||
command line
|
||||
resolves: rhbz#1974820
|
||||
- scheduler: added abstraction for the sched_* and numa_* variables which
|
||||
were previously accessible through the sysctl
|
||||
resolves: rhbz#1952687
|
||||
- recommend: fixed wrong profile on ppc64le bare metal servers
|
||||
resolves: rhbz#1959889
|
||||
|
||||
* Wed Jul 7 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.16.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#1936426
|
||||
- realtime: "isolate_managed_irq=Y" should be mentioned in
|
||||
"/etc/tuned/realtime-virtual-*-variables.conf"
|
||||
resolves: rhbz#1817827
|
||||
- realtime: changed tuned default to "isolcpus=domain,managed_irq,X-Y"
|
||||
resolves: rhbz#1820626
|
||||
- applying a profile with multiple inheritance where parents include a common
|
||||
ancestor fails
|
||||
resolves: rhbz#1825882
|
||||
- failure in moving i40e IRQ threads to housekeeping CPUs from isolated CPUs
|
||||
resolves: rhbz#1933069
|
||||
- sort network devices before matching by regex
|
||||
resolves: rhbz#1939970
|
||||
- net: fixed traceback while adjusting the netdev queue count
|
||||
resolves: rhbz#1943291
|
||||
- net: fixed traceback if the first listed device returns netlink error
|
||||
resolves: rhbz#1944686
|
||||
- realtime: improve verification
|
||||
resolves: rhbz#1947858
|
||||
- bootloader: add support for the rpm-ostree
|
||||
resolves: rhbz#1950164
|
||||
- net: fixed traceback if a device channel contains n/a
|
||||
resolves: rhbz#1974071
|
||||
- mssql: updated the profile
|
||||
resolves: rhbz#1942733
|
||||
* Thu May 27 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15.0-6
|
||||
- Dropped python-schedutils
|
||||
Resolves: rhbz#1964680
|
||||
|
||||
* Wed Apr 21 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15.0-3
|
||||
- updated mssql profile
|
||||
resolves: rhbz#1942733
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.15.0-5
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Fri Feb 19 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15.0-2
|
||||
- realtime: added support for netdev_queue_count and extended plugin_net
|
||||
resolves: rhbz#1951992
|
||||
* Mon Apr 12 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15.0-4
|
||||
- updated syspurpose requirement for RHEL-9
|
||||
resolves: rhbz#1948764
|
||||
|
||||
* Mon Feb 08 2021 Jan Zerdik <jzerdik@redhat.com> - 2.15.0-3
|
||||
- used RHEL recommend.conf
|
||||
resolves: rhbz#1921016
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Dec 17 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15.0-1
|
||||
- new release
|
||||
@ -778,20 +844,16 @@ fi
|
||||
- bootloader: fixed cmdline duplication with BLS and grub2-mkconfig
|
||||
resolves: rhbz#1777874
|
||||
|
||||
* Thu Oct 1 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.0-4
|
||||
- realtime-virtual-host: remove lapic advancement calculation and
|
||||
related qemu-kvm-tools-rhev requirement
|
||||
Resolves: rhbz#1845717
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jul 3 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.0-3
|
||||
* Fri Jul 3 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.0-2
|
||||
- scheduler: fixed isolated_cores to work with cgroups
|
||||
related: rhbz#1784648
|
||||
|
||||
* Tue Jun 30 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.0-2
|
||||
- throughput-performance: fix performance regression on AMD platforms
|
||||
related: rhbz#1746957
|
||||
|
||||
* Mon Jun 15 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.0-1
|
||||
* Mon Jun 22 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.14.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#1792264
|
||||
@ -819,25 +881,14 @@ fi
|
||||
- scheduler: added support for cgroups
|
||||
resolves: rhbz#1784648
|
||||
|
||||
* Mon Mar 23 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-6
|
||||
- realtime: added conditional support for managed_irq
|
||||
Resolves: rhbz#1797025
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.13.0-4
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Wed Feb 12 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-5
|
||||
- profiles: renamed sst profile to intel-sst
|
||||
related: rhbz#1743879
|
||||
* Mon Apr 06 2020 Miro Hrončok <mhroncok@redhat.com> - 2.13.0-3
|
||||
- Build without unittest2
|
||||
|
||||
* Fri Feb 07 2020 Ondřej Lysoněk <olysonek@redhat.com> - 2.13.0-4
|
||||
- Add accelerator-performance profile
|
||||
- Resolves: rhbz#1795604
|
||||
|
||||
* Tue Jan 14 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-3
|
||||
- tuned-profiles-nfv-host: added ncat requirement
|
||||
resolves: rhbz#1779117
|
||||
|
||||
* Tue Jan 7 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-2
|
||||
- profiles: define variables before use
|
||||
resolves: rhbz#1788102
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Dec 11 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-1
|
||||
- new release
|
||||
@ -847,6 +898,8 @@ fi
|
||||
resolves: rhbz#1779821
|
||||
- latency-performance: updated tuning
|
||||
resolves: rhbz#1779759
|
||||
- added sst profile
|
||||
resolves: rhbz#1743879
|
||||
|
||||
* Sun Dec 1 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.13.0-0.1.rc1
|
||||
- new release
|
||||
@ -867,18 +920,19 @@ fi
|
||||
- realtime: added nowatchdog kernel command line option
|
||||
resolves: rhbz#1767614
|
||||
|
||||
* Fri Aug 16 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.12.0-3
|
||||
- used C-states in latency specification
|
||||
related: rhbz#1737628
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.12.0-4
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Fri Aug 16 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.12.0-2
|
||||
- plugin_cpu: latency can be now specified as C-state
|
||||
resolves: rhbz#1737628
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.12.0-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jun 27 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.12.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#1685585
|
||||
resolves: rhbz#1685585
|
||||
|
||||
* Wed Jun 12 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.12.0-0.1.rc1
|
||||
- new release
|
||||
@ -903,59 +957,78 @@ fi
|
||||
- fixed handling of devices that have been removed and re-attached
|
||||
resolves: rhbz#1677730
|
||||
|
||||
* Fri Feb 22 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-15
|
||||
* Thu Mar 21 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.11.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#1643654
|
||||
- used dmidecode only on x86 architectures
|
||||
resolves: rhbz#1688371
|
||||
- recommend: fixed to work without tuned daemon running
|
||||
resolves: rhbz#1687397
|
||||
- powertop2tuned: added support for wakeup tuning (powertop-2.10)
|
||||
resolves: rhbz#1690354
|
||||
|
||||
* Sun Mar 10 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.11.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#1643654
|
||||
- use online CPUs for cpusets calculations instead of present CPUs
|
||||
resolves: rhbz#1613478
|
||||
- realtime-virtual-guest: run script.sh
|
||||
related: rhbz#1616043
|
||||
- make python-dmidecode a weak dependency
|
||||
resolves: rhbz#1565598
|
||||
- make virtual-host identical to latency-performance
|
||||
resolves: rhbz#1588932
|
||||
- added support for Boot loader specification (BLS)
|
||||
resolves: rhbz#1576435
|
||||
- scheduler: keep polling file objects alive long enough
|
||||
resolves: rhbz#1659140
|
||||
- mssql: updated tuning
|
||||
resolves: rhbz#1660178
|
||||
- s2kb: fixed to be compatible with python3
|
||||
resolves: rhbz#1684122
|
||||
- profiles: fallback to the 'powersave' scaling governor
|
||||
resolves: rhbz#1679205
|
||||
- disable KSM only once, re-enable it only on full rollback
|
||||
resolves: rhbz#1622239
|
||||
- functions: reworked setup_kvm_mod_low_latency to count with kernel changes
|
||||
resolves: rhbz#1649408
|
||||
- updated virtual-host profile
|
||||
resolves: rhbz#1569375
|
||||
- added log message for unsupported parameters in plugin_net
|
||||
resolves: rhbz#1533852
|
||||
- added range feature for cpu exclusion
|
||||
resolves: rhbz#1533908
|
||||
- make a copy of devices when verifying tuning
|
||||
resolves: rhbz#1592743
|
||||
- fixed disk plugin/plugout problem
|
||||
resolves: rhbz#1595156
|
||||
- fixed unit configuration reading
|
||||
resolves: rhbz#1613379
|
||||
- reload profile configuration on SIGHUP
|
||||
resolves: rhbz#1631744
|
||||
- use built-in functionality to apply system sysctl
|
||||
resolves: rhbz#1663412
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jan 25 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-6
|
||||
- Fixed disk plugin to correctly match devices with python3
|
||||
Resolves: rhbz#1676513
|
||||
|
||||
* Tue Jan 8 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-14
|
||||
- Updated mssql tuning
|
||||
Resolves: rhbz#1660178
|
||||
|
||||
* Fri Dec 14 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.10.0-13
|
||||
- Fix excessive CPU usage in the scheduler plugin
|
||||
- Resolves: rhbz#1659140
|
||||
|
||||
* Mon Dec 10 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-12
|
||||
- Added workaround for s390x zipl not supporting multiple initrds
|
||||
Related: rhbz#1576435
|
||||
|
||||
* Sun Dec 9 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-11
|
||||
- Added support for BLS
|
||||
Resolves: rhbz#1576435
|
||||
|
||||
* Thu Dec 6 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-10
|
||||
- Reworked setup_kvm_mod_low_latency to count with kernel changes
|
||||
Resolves: rhbz#1653819
|
||||
|
||||
* Tue Nov 27 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-9
|
||||
- realtime-virtual-guest/host: start/stop rt-entsk daemon on
|
||||
initialization/shutdown
|
||||
resolves: rhbz#1619822
|
||||
|
||||
* Tue Nov 27 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-8
|
||||
- Disable ksm once, re-enable it on full rollback
|
||||
Resolves: rhbz#1652076
|
||||
|
||||
* Wed Oct 10 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.10.0-7
|
||||
- Make python3-dmidecode a weak dependency as it's x86_64 only
|
||||
- Resolves: rhbz#1565598
|
||||
|
||||
* Tue Oct 09 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.10.0-6
|
||||
- Fix rules for profile recommendation
|
||||
- Resolves: rhbz#1565598
|
||||
|
||||
* Wed Aug 8 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-5
|
||||
- use online CPUs for cpusets calculations instead of present CPUs
|
||||
resolves: rhbz#1613832
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jul 11 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.10.0-4
|
||||
- Fix a traceback in tuned-gui
|
||||
|
||||
* Tue Jul 10 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.10.0-3
|
||||
- tuned-adm: Fix a traceback when run without action specified
|
||||
- Used python intepreter path from the rpm macro
|
||||
|
||||
* Mon Jul 9 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-2
|
||||
- used python intepreter path from the rpm macro
|
||||
* Tue Jul 10 2018 Ondřej Lysoněk <olysonek@redhat.com> - 2.10.0-2
|
||||
- tuned-adm: Fix a traceback when run without action specified
|
||||
- Fixed compatibility with python-3.7
|
||||
|
||||
* Wed Jul 4 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-1
|
||||
- new release
|
||||
@ -964,20 +1037,30 @@ fi
|
||||
- IRQ affinity handled by scheduler plugin
|
||||
resolves: rhbz#1590937
|
||||
|
||||
* Mon Jun 25 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-0.1.rc1
|
||||
* Mon Jun 11 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#1546598
|
||||
- script: show stderr output in the log
|
||||
resolves: rhbz#1536476
|
||||
- realtime-virtual-host: script.sh: add error checking
|
||||
resolves: rhbz#1461509
|
||||
- man: improved tuned-profiles-cpu-partitioning.7
|
||||
resolves: rhbz#1548148
|
||||
- bootloader: check if grub2_cfg_file_name is None in _remove_grub2_tuning()
|
||||
resolves: rhbz#1571403
|
||||
- plugin_scheduler: whitelist/blacklist processed also for thread names
|
||||
resolves: rhbz#1512295
|
||||
- bootloader: patch all GRUB2 config files
|
||||
resolves: rhbz#1556990
|
||||
- profiles: added mssql profile
|
||||
resolves: rhbz#1442122
|
||||
- tuned-adm: print log excerpt when changing profile
|
||||
resolves: rhbz#1538745
|
||||
- cpu-partitioning: use no_balance_cores instead of no_rebalance_cores
|
||||
resolves: rhbz#1550573
|
||||
- sysctl: support assignment modifiers as other plugins do
|
||||
resolves: rhbz#1564092
|
||||
- oracle: fixed ip_local_port_range parity warning
|
||||
resolves: rhbz#1527219
|
||||
- Fix verifying cpumask on systems with more than 32 cores
|
||||
@ -985,20 +1068,93 @@ fi
|
||||
- oracle: updated the profile to be in sync with KCS 39188
|
||||
resolves: rhbz#1447323
|
||||
|
||||
* Fri Jun 8 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-10.20180430git5d0a9d91
|
||||
- Fixed python3-gobject-base requirement
|
||||
* Fri Mar 23 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-9
|
||||
- Used weak deps for tuned-profiles-nfv-host-bin
|
||||
|
||||
* Thu May 17 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-9.20180430git5d0a9d91
|
||||
- Bumped release to fix conflict caused by automerge
|
||||
* Wed Mar 21 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-8
|
||||
- Dropped tuned-profiles-nfv-host-bin, now provided by standalone package
|
||||
|
||||
* Mon Apr 30 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-1.20180430git5d0a9d91
|
||||
- New version
|
||||
- Dropped plugin-disk-traceback-fix patch (upstreamed)
|
||||
* Fri Mar 2 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-7
|
||||
- Dropped exlusive arch in tuned-profiles-nfv-host-bin (it seems it
|
||||
blocked all tuned packages on non x86 architectures)
|
||||
|
||||
* Fri Mar 23 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-6
|
||||
- Dropped qemu-kvm-tools-rhev requirement, now satisfied by
|
||||
tuned-profiles-nfv-host-bin
|
||||
Related: rhbz#1504681
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Feb 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.0-5
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Wed Jan 31 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-4
|
||||
- Fixed perf requirement, explicitly require python2-perf
|
||||
|
||||
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.0-3
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Mon Nov 13 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-2
|
||||
- added tscdeadline_latency.flat benchmark
|
||||
resolves: rhbz#1504680
|
||||
|
||||
* Sun Oct 29 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#1467576
|
||||
|
||||
* Fri Oct 20 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-0.2.rc2
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
related: rhbz#1467576
|
||||
- fixed expansion of the variables in the 'devices' section
|
||||
related: rhbz#1490399
|
||||
- cpu-partitioning: add no_rebalance_cores= option
|
||||
resolves: rhbz#1497182
|
||||
|
||||
* Thu Oct 12 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-0.1.rc1
|
||||
- new release
|
||||
- rebased tuned to latest upstream
|
||||
resolves: rhbz#1467576
|
||||
- added recommend.d functionality
|
||||
resolves: rhbz#1459146
|
||||
- recommend: added support for matching of processes
|
||||
resolves: rhbz#1461838
|
||||
- plugin_video: added support for the 'dpm' power method
|
||||
resolves: rhbz#1417659
|
||||
- list available profiles on 'tuned-adm profile'
|
||||
resolves: rhbz#988433
|
||||
- cpu-partitioning: used tuned instead of tuna for cores isolation
|
||||
resolves: rhbz#1442229
|
||||
- inventory: added workaround for pyudev < 0.18
|
||||
resolves: rhbz#1251240
|
||||
- realtime: used skew_tick=1 in kernel cmdline
|
||||
resolves: rhbz#1447938
|
||||
- realtime-virtual-guest: re-assigned kernel thread priorities
|
||||
resolves: rhbz#1452357
|
||||
- bootloader: splitted string for removal from cmdline
|
||||
resolves: rhbz#1461279
|
||||
- network-latency: added skew_tick=1 kernel command line parameter
|
||||
resolves: rhbz#1451073
|
||||
- bootloader: accepted only certain values for initrd_remove_dir
|
||||
resolves: rhbz#1455161
|
||||
- increased udev monitor buffer size, made it configurable
|
||||
resolves: rhbz#1442306
|
||||
- bootloader: don't add nonexistent overlay image to grub.cfg
|
||||
resolves: rhbz#1454340
|
||||
- plugin_cpu: don't log error in execute() if EPB is not supported
|
||||
resolves: rhbz#1443182
|
||||
- sap-hana: fixed description of the sap-hana profiles
|
||||
resolves: rhbz#1482005
|
||||
- plugin_systemd: on full_rollback notify about need of initrd regeneration
|
||||
resolves: rhbz#1469258
|
||||
- don't log errors about missing files on verify with ignore_missing set
|
||||
resolves: rhbz#1451435
|
||||
- plugin_scheduler: improved logging
|
||||
resolves: rhbz#1474961
|
||||
- improved checking if we are rebooting or not
|
||||
resolves: rhbz#1475571
|
||||
- started dbus exports after a profile is applied
|
||||
resolves: rhbz#1443142
|
||||
- sap-hana: changed force_latency to 70
|
||||
resolves: rhbz#1501252
|
||||
|
||||
* Mon Aug 21 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-5
|
||||
- kernel-tools made weak dependency
|
||||
|
Loading…
Reference in New Issue
Block a user