diff --git a/download b/download index f4e0643df0fb89c3cb93750bcaa30f2c9b0e8c55..50602761315b0b3f30e6ecf7d9499bc6343255c7 100644 --- a/download +++ b/download @@ -1 +1 @@ -774c565068bbb0c3f723b57c885c7433 tuned-2.20.0.tar.gz +d7c0ca28107efb9bf7f74f034d31b1f8 tuned-2.21.0.tar.gz diff --git a/recommend.conf b/recommend.conf index 86541e3ff4c96ff80ab11deae29e0ac240490451..b083f1400e1efebbcbbac3457ac1335847f31a27 100644 --- a/recommend.conf +++ b/recommend.conf @@ -43,12 +43,20 @@ # This will set 'balanced' profile in case there is FILE1 matching RE1 or # FILE2 matching RE2 or both. +[atomic-host] +virt= +syspurpose_role=.*atomic.* + +[atomic-guest] +virt=.+ +syspurpose_role=.*atomic.* [virtual-guest] virt=.+ [balanced] /etc/anolis-release=(Anolis OS).* +syspurpose_role=(.*(desktop|workstation).*)|^$ chassis_type=.*(Notebook|Laptop|Portable).* [throughput-performance] diff --git a/tuned-2.18.0-sd-load-balance.patch b/tuned-2.21.0-sd-load-balance.patch similarity index 91% rename from tuned-2.18.0-sd-load-balance.patch rename to tuned-2.21.0-sd-load-balance.patch index d42600c27822a33e14651c4d9adeb87fd291c4ad..f77f30fbb66fd073fa8c976862cf2c3269767169 100644 --- a/tuned-2.18.0-sd-load-balance.patch +++ b/tuned-2.21.0-sd-load-balance.patch @@ -1,5 +1,5 @@ diff --git a/profiles/cpu-partitioning/script.sh b/profiles/cpu-partitioning/script.sh -index 84e04fd..8677050 100755 +index ec422ca..cb378b7 100755 --- a/profiles/cpu-partitioning/script.sh +++ b/profiles/cpu-partitioning/script.sh @@ -2,6 +2,38 @@ @@ -60,7 +60,7 @@ index 84e04fd..8677050 100755 } diff --git a/profiles/cpu-partitioning/tuned.conf b/profiles/cpu-partitioning/tuned.conf -index 979e40b..842e2bd 100644 +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}} @@ -69,10 +69,10 @@ index 979e40b..842e2bd 100644 -cmd_isolcpus=${f:regex_search_ternary:${no_balance_cores}:\s*[0-9]: isolcpus=${no_balance_cores}:} - - [sysctl] - kernel.hung_task_timeout_secs = 600 - kernel.nmi_watchdog = 0 -@@ -68,4 +66,4 @@ priority=10 + [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} diff --git a/tuned.spec b/tuned.spec index 32bea66efa8bad688d16a5c42853c73aa2f5c8ec..947e6cffe9891939733de5761cb73883180d241e 100644 --- a/tuned.spec +++ b/tuned.spec @@ -35,7 +35,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned -Version: 2.20.0 +Version: 2.21.0 Release: 1%{?prerel1}%{anolis_release}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz @@ -97,7 +97,7 @@ Requires: python3-syspurpose # Revert upstream profiles changes which have not been approved for RHEL-8 (yet) Patch0: tuned-2.20.0-rhel-8-profiles.patch # Revert no balancing cores to use SD_LOAD_BALANCE (see rhbz#1874596 for details) -Patch1: tuned-2.18.0-sd-load-balance.patch +Patch1: tuned-2.21.0-sd-load-balance.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -411,6 +411,7 @@ fi %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 @@ -435,7 +436,6 @@ fi %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/post_loaded_profile %config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline -%{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf %verify(not size mtime md5) %{_sysconfdir}/modprobe.d/tuned.conf %{_tmpfilesdir}/tuned.conf %{_unitdir}/tuned.service @@ -447,6 +447,7 @@ fi %{_mandir}/man8/tuned* %dir %{_datadir}/tuned %{_datadir}/tuned/grub2 +%{_datadir}/dbus-1/system.d/com.redhat.tuned.conf %{_datadir}/polkit-1/actions/com.redhat.tuned.policy %ghost %{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf %{_prefix}/lib/kernel/install.d/92-tuned.install @@ -486,6 +487,7 @@ fi %files profiles-sap-hana %{_prefix}/lib/tuned/sap-hana +%{_prefix}/lib/tuned/sap-hana-kvm-guest %{_mandir}/man7/tuned-profiles-sap-hana.7* %files profiles-mssql @@ -551,11 +553,24 @@ fi %{_mandir}/man7/tuned-profiles-openshift.7* %changelog -* Tue May 23 2023 zhangbinchen - 2.20.0-1.0.1 -- cherry-pick [38e4b97] +* Mon Dec 11 2023 liuzhilin - 2.21.0-1.0.1 - Don't require syspurpose for Anolis OS - Turn on balance mode for Anolis OS +* Tue Aug 29 2023 Jaroslav Škarvada - 2.21.0-1 +- new release + - api: fixed stop method not to require any parameter + resolves: rhbz#2235638 + +* Sun Aug 20 2023 Jaroslav Škarvada - 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 + * Fri Feb 17 2023 Jaroslav Škarvada - 2.20.0-1 - new release - rebased tuned to latest upstream