From e0ed587ea0711838900dbde07b0bef2d48e597d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Sun, 24 Mar 2024 23:41:07 +0100 Subject: [PATCH] new release rebased tuned to latest upstream related: RHEL-17121 renamed intel_uncore plugin to uncore network-throughput: increased net.ipv4.tcp_rmem default value resolves: RHEL-25847 --- gating.yaml | 16 +--- recommend.conf | 61 +++++++++++++++ sources | 2 +- tuned.spec | 205 +++++++++++++++---------------------------------- 4 files changed, 128 insertions(+), 156 deletions(-) create mode 100644 recommend.conf diff --git a/gating.yaml b/gating.yaml index d2f0c2e..3442642 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,16 +1,6 @@ --- !Policy product_versions: - - fedora-* -decision_contexts: [bodhi_update_push_testing] -subject_type: koji_build + - rhel-10 +decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - -#gating rawhide ---- !Policy -product_versions: - - fedora-* -decision_contexts: [bodhi_update_push_stable] -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/recommend.conf b/recommend.conf new file mode 100644 index 0000000..9d32962 --- /dev/null +++ b/recommend.conf @@ -0,0 +1,61 @@ +# Tuned rules for recommend_profile. +# +# Syntax: +# [PROFILE1] +# KEYWORD11=RE11 +# KEYWORD21=RE12 +# +# [PROFILE2] +# KEYWORD21=RE21 +# KEYWORD22=RE22 + +# KEYWORD can be: +# virt - for RE to match output of virt-what +# system - for RE to match content of /etc/system-release-cpe +# process - for RE to match running processes. It can have arbitrary +# suffix, all process* lines have to match for the PROFILE +# to match (i.e. the AND operator) +# /FILE - for RE to match content of the FILE, e.g.: +# '/etc/passwd=.+'. If file doesn't exist, its RE will not +# match. +# chassis_type - for RE to match the chassis type as reported by dmidecode +# syspurpose_role - for RE to match the system role as reported by syspurpose + +# All REs for all KEYWORDs have to match for PROFILE to match (i.e. the AND operator). +# If 'virt' or 'system' is not specified, it matches for every string. +# If 'virt' or 'system' is empty, i.e. 'virt=', it matches only empty string (alias for '^$'). +# If several profiles matched, the first match is taken. +# +# Limitation: +# Each profile can be specified only once, because there cannot be +# multiple sections in the configuration file with the same name +# (ConfigObj limitation). +# If there is a need to specify the profile multiple times, unique +# suffix like ',ANYSTRING' can be used. Everything after the last ',' +# is stripped by the parser, e.g.: +# +# [balanced,1] +# /FILE1=RE1 +# +# [balanced,2] +# /FILE2=RE2 +# +# 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] +syspurpose_role=(.*(desktop|workstation).*)|^$ +chassis_type=.*(Notebook|Laptop|Portable).* + +[throughput-performance] diff --git a/sources b/sources index 044cebb..d7cb61a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tuned-2.22.0-rc.1.tar.gz) = a86c83f8e266285d346d82c12bca1afbe20ce4a6177a8cacbba244091dc153a1cb090bde4e8f876bfc7015034106b4dbcbab7032e91fa6bfba7ef62fc54af0b4 +SHA512 (tuned-2.22.1.tar.gz) = 160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f diff --git a/tuned.spec b/tuned.spec index e244a4a..74c0b88 100644 --- a/tuned.spec +++ b/tuned.spec @@ -1,7 +1,3 @@ -#%%global git_commit e1045f2d1d6fbcdd29a62b3540b846fa6b2a9153 -#%%global git_date %%(date +'%Y%m%d') -#%%global git_date 20220317 - %if 0%{?fedora} %if 0%{?fedora} > 27 %bcond_without python3 @@ -30,33 +26,20 @@ %endif %endif -%if 0%{?git_commit:1} -%if 0%{!?git_short_commit:1} -%global git_short_commit %(echo %{git_commit} | cut -c -8) -%global archive_topdir %{name}-%{git_commit} -%endif -%global git_suffix %{git_date}git%{git_short_commit} -# ! git_commit -%else -%global archive_topdir %{name}-%{version}%{?prerel2} -%endif - -%global prerelease rc -%global prereleasenum 1 +#%%global prerelease rc +#%%global prereleasenum 1 %global prerel1 %{?prerelease:.%{prerelease}%{prereleasenum}} %global prerel2 %{?prerelease:-%{prerelease}.%{prereleasenum}} Summary: A dynamic adaptive system tuning daemon Name: tuned -Version: 2.22.0 -Release: 0.1%{?prerel1}%{?git_suffix:.%{git_suffix}}%{?dist} -License: GPL-2.0-or-later AND CC-BY-SA-3.0 -%if 0%{?git_commit:1} -Source0: https://github.com/redhat-performance/%{name}/archive/%{git_commit}/%{name}-%{version}-%{git_suffix}.tar.gz -%else +Version: 2.22.1 +Release: 1%{?prerel1}%{?dist} +License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz -%endif +# RHEL-9 specific recommend.conf: +Source1: recommend.conf URL: http://www.tuned-project.org/ BuildArch: noarch BuildRequires: systemd, desktop-file-utils @@ -285,7 +268,11 @@ An API translation daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD). %prep -%autosetup -p1 -n %{archive_topdir} +%autosetup -p1 -n %{name}-%{version}%{?prerel2} + +# Replace the upstream recommend.conf with a RHEL-9-specific one +rm -f recommend.conf +cp -p %{SOURCE1} recommend.conf %build # Docs cannot be generated on RHEL now due to missing asciidoctor dependency @@ -297,9 +284,6 @@ make html %{make_python_arg} %install make install DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg} make install-ppd DESTDIR=%{buildroot} DOCDIR=%{docdir} %{make_python_arg} -%if 0%{?rhel} -sed -i 's/\(dynamic_tuning[ \t]*=[ \t]*\).*/\10/' %{buildroot}%{_sysconfdir}/tuned/tuned-main.conf -%endif %if ! 0%{?rhel} # manual @@ -586,6 +570,19 @@ fi %config(noreplace) %{_sysconfdir}/tuned/ppd.conf %changelog +* Thu Feb 22 2024 Jaroslav Škarvada - 2.22.1-1 +- new release + - rebased tuned to latest upstream + 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 - 2.22.0-1 +- new release + - rebased tuned to latest upstream + related: RHEL-17121 + * Fri Feb 9 2024 Jaroslav Škarvada - 2.22.0-0.1.rc1 - new release - rebased tuned to latest upstream @@ -614,13 +611,8 @@ fi resolves: RHEL-21923 - plugin_intel_uncore: new plugin for uncore setting -* Sat Jan 27 2024 Fedora Release Engineering - 2.21.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - * Tue Aug 29 2023 Jaroslav Škarvada - 2.21.0-1 - new release - - rebased tuned to latest upstream - related: rhbz#2182117 - api: fixed stop method not to require any parameter resolves: rhbz#2235637 @@ -634,67 +626,42 @@ fi resolves: rhbz#2203142 - function_calc_isolated_cores: no errors for offline CPUs resolves: rhbz#2217015 - - sap-hana: new profile sap-hana-kvm-guest - resolves: rhbz#2173740 - - serialized SIGHUP handler to prevent possible bootcmdline corruption - resolves: rhbz#2215298 - -* Wed Aug 9 2023 Jaroslav Škarvada - 2.20.0-4 -- Converted license to SPDX - -* Sat Jul 22 2023 Fedora Release Engineering - 2.20.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Jun 16 2023 Python Maint - 2.20.0-2 -- Rebuilt for Python 3.12 * Fri Feb 17 2023 Jaroslav Škarvada - 2.20.0-1 - new release - rebased tuned to latest upstream related: rhbz#2133815 - - fixed possible traceback on SIGHUP - resolves: rhbz#2169712 - - updated manual pages to be consistent - - tuned-adm: better error message for unauthorized switch_profile - - plugin_sysctl: report reapplied sysctls only on different values + +* Wed Feb 15 2023 Jaroslav Škarvada - 2.20.0-0.2.rc1 +- post RC.1 fixes + related: rhbz#2133815 +- fixed possible traceback on SIGHUP + resolves: rhbz#2169712 * Wed Feb 8 2023 Jaroslav Škarvada - 2.20.0-0.1.rc1 - new release - rebased tuned to latest upstream 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 - resolves: rhbz#1935848 - 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 - resolves: rhbz#2154801 - 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 -* Sat Jan 21 2023 Fedora Release Engineering - 2.19.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Jan 12 2023 Jaroslav Škarvada - 2.19.0-2 -- added fix for python-3.12 - resolves: rhbz#2154801 - * Fri Aug 19 2022 Jaroslav Škarvada - 2.19.0-1 - new release - rebased tuned to latest upstream @@ -705,9 +672,7 @@ fi - rebased tuned to latest upstream resolves: rhbz#2057609 - fixed parsing of inline comments - resolves: rhbz#2060138 - added support for quotes in isolated_cores specification - resolves: rhbz#1891036 - spec: reduced weak dependencies resolves: rhbz#2093841 - recommend: do not ignore syspurpose_role if there is no syspurpose @@ -715,47 +680,16 @@ fi - added support for initial autosetup of isolated_cores resolves: rhbz#2093847 -* Sat Jul 23 2022 Fedora Release Engineering - 2.18.0-5.20220317gite1045f2d -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 2.18.0-4.20220317gite1045f2d -- Rebuilt for Python 3.11 - -* Wed Mar 16 2022 Jaroslav Škarvada - 2.18.0-3.20220317gite1045f2d -- new version - -* Tue Feb 15 2022 Jaroslav Škarvada - 2.18.0-2 -- added more conflicting services to the systemd service file - resolves: rhbz#2053919 +* Thu May 19 2022 Jaroslav Škarvada - 2.18.0-2 +- realtime: set tsc as reliable + resolves: rhbz#2086374 * Wed Feb 9 2022 Jaroslav Škarvada - 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 - 2.18.0-0.1.rc1 -- 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 - - spec: do not require subscription-manager on CentOS - resolves: rhbz#2028865 - -* Sat Jan 22 2022 Fedora Release Engineering - 2.17.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - * Sun Jan 16 2022 Jaroslav Škarvada - 2.17.0-1 - new release - rebased tuned to latest upstream @@ -767,46 +701,25 @@ fi resolves: rhbz#2003838 - cpu-partitioning: fixed no_balance_cores on newer kernels resolves: rhbz#1874596 - - scheduler: allow exclude of processes from the specific cgroup(s) - resolves: rhbz#1980715 - - switched to the configparser from the configobj - resolves: rhbz#1936386 - - spec: do not require subscription-manager on CentOS - resolves: rhbz#2029405 + +* Mon Dec 6 2021 Jaroslav Škarvada - 2.16.0-4 +- spec: do not require subscription-manager on CentOS + Resolves: rhbz#2029405 + +* Wed Aug 18 2021 Jaroslav Škarvada - 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 - 2.16.0-2 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 * Wed Jul 21 2021 Jaroslav Škarvada - 2.16.0-1 - new release - rebased tuned to latest upstream - related: rhbz#1936426 - -* Wed Jul 7 2021 Jaroslav Škarvada - 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 + resolves: rhbz#1944643 - realtime: disabled kvm.nx_huge_page kernel module option in realtime-virtual-host profile resolves: rhbz#1976825 @@ -819,12 +732,20 @@ fi - recommend: fixed wrong profile on ppc64le bare metal servers resolves: rhbz#1959889 -* Fri Jun 04 2021 Python Maint - 2.15.0-4 -- Rebuilt for Python 3.10 +* Thu May 27 2021 Jaroslav Škarvada - 2.15.0-6 +- Dropped python-schedutils + Resolves: rhbz#1964680 -* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.15.0-3 -- Rebuilt for updated systemd-rpm-macros - See https://pagure.io/fesco/issue/2583. +* Fri Apr 16 2021 Mohan Boddu - 2.15.0-5 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Mon Apr 12 2021 Jaroslav Škarvada - 2.15.0-4 +- updated syspurpose requirement for RHEL-9 + resolves: rhbz#1948764 + +* Mon Feb 08 2021 Jan Zerdik - 2.15.0-3 +- used RHEL recommend.conf + resolves: rhbz#1921016 * Wed Jan 27 2021 Fedora Release Engineering - 2.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild