diff --git a/.gitignore b/.gitignore index 0472962..f2fcc56 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/tuned-2.13.0.tar.gz +SOURCES/tuned-2.14.0.tar.gz diff --git a/.tuned.metadata b/.tuned.metadata index 55fb87f..0d3e106 100644 --- a/.tuned.metadata +++ b/.tuned.metadata @@ -1 +1 @@ -d3087cc836c493fb6da69326c36ed5ee25ca67bd SOURCES/tuned-2.13.0.tar.gz +53140aba44d956fac19c37c2c0052835c1fdd7e9 SOURCES/tuned-2.14.0.tar.gz diff --git a/SOURCES/tuned-2.14.0-amd-performance-regression-fix.patch b/SOURCES/tuned-2.14.0-amd-performance-regression-fix.patch new file mode 100644 index 0000000..e51870e --- /dev/null +++ b/SOURCES/tuned-2.14.0-amd-performance-regression-fix.patch @@ -0,0 +1,30 @@ +From f511ad5d48f4f2ae3b2616463bc3a17bae5bdb90 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= +Date: Tue, 30 Jun 2020 15:39:18 +0200 +Subject: [PATCH] throughput-performance: fix performance regression on AMD +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It turned out that disablement of the numa_balancing could result in +upto 20% performance drop on some loads. + +Related: rhbz#1746957 + +Signed-off-by: Jaroslav Škarvada +--- + profiles/throughput-performance/tuned.conf | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/profiles/throughput-performance/tuned.conf b/profiles/throughput-performance/tuned.conf +index f1a6f1a..3cc6fd1 100644 +--- a/profiles/throughput-performance/tuned.conf ++++ b/profiles/throughput-performance/tuned.conf +@@ -85,4 +85,3 @@ type=sysctl + uname_regex=x86_64 + cpuinfo_regex=${amd_cpuinfo_regex} + kernel.sched_migration_cost_ns=5000000 +-kernel.numa_balancing=0 +-- +2.25.4 + diff --git a/SPECS/tuned.spec b/SPECS/tuned.spec index 1bc4b68..7ae8263 100644 --- a/SPECS/tuned.spec +++ b/SPECS/tuned.spec @@ -33,8 +33,8 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned -Version: 2.13.0 -Release: 1%{?prerel1}%{?dist} +Version: 2.14.0 +Release: 2%{?prerel1}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz # RHEL-8 specific recommend.conf: @@ -75,6 +75,7 @@ Recommends: kernel-tools %if 0%{?rhel} > 7 Requires: python3-syspurpose %endif +Patch0: tuned-2.14.0-amd-performance-regression-fix.patch %description The tuned package contains a daemon that tunes system settings dynamically. @@ -183,6 +184,7 @@ Summary: Additional tuned profile(s) targeted to Network Function Virtualization Requires: %{name} = %{version} Requires: %{name}-profiles-realtime = %{version} Requires: tuna +Requires: nmap-ncat %if 0%{?rhel} == 7 Requires: qemu-kvm-tools-rhev %else @@ -209,6 +211,13 @@ Requires: %{name} = %{version} %description profiles-cpu-partitioning Additional tuned profile(s) optimized for CPU partitioning. +%package profiles-spectrumscale +Summary: Additional tuned profile(s) optimized for IBM Spectrum Scale +Requires: %{name} = %{version} + +%description profiles-spectrumscale +Additional tuned profile(s) optimized for IBM Spectrum Scale. + %package profiles-compat Summary: Additional tuned profiles mainly for backward compatibility with tuned 1.0 Requires: %{name} = %{version} @@ -220,6 +229,8 @@ It can be also used to fine tune your system for specific scenarios. %prep %setup -q -n %{name}-%{version}%{?prerel2} +%patch0 -p1 + # Replace the upstream recommend.conf with a RHEL-8-specific one rm -f recommend.conf cp -p %{SOURCE1} recommend.conf @@ -358,6 +369,7 @@ fi %exclude %{_prefix}/lib/tuned/realtime-virtual-guest %exclude %{_prefix}/lib/tuned/realtime-virtual-host %exclude %{_prefix}/lib/tuned/cpu-partitioning +%exclude %{_prefix}/lib/tuned/spectrumscale-ece %{_prefix}/lib/tuned %dir %{_sysconfdir}/tuned %dir %{_sysconfdir}/tuned/recommend.d @@ -365,6 +377,7 @@ fi %{_libexecdir}/tuned/defirqaffinity* %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/active_profile %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/profile_mode +%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 @@ -456,6 +469,10 @@ fi %{_prefix}/lib/tuned/cpu-partitioning %{_mandir}/man7/tuned-profiles-cpu-partitioning.7* +%files profiles-spectrumscale +%{_prefix}/lib/tuned/spectrumscale-ece +%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7* + %files profiles-compat %{_prefix}/lib/tuned/default %{_prefix}/lib/tuned/desktop-powersave @@ -467,6 +484,58 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Tue Jun 30 2020 Jaroslav Škarvada - 2.14.0-2 +- throughput-performance: fix performance regression on AMD platforms + related: rhbz#1746957 + +* Mon Jun 15 2020 Jaroslav Škarvada - 2.14.0-1 +- new release + - rebased tuned to latest upstream + related: rhbz#1792264 + +* Mon Jun 8 2020 Jaroslav Škarvada - 2.14.0-0.1.rc1 +- new release + - rebased tuned to latest upstream + resolves: rhbz#1792264 + - oracle: turned off NUMA balancing + resolves: rhbz#1782233 + - man: documented the possibility to apply multiple profiles + resolves: rhbz#1794337 + - cpu-partitioning: disabled kernel.timer_migration + resolves: rhbz#1797629 + - profiles: new profile optimize-serial-console + resolves: rhbz#1840689 + - added support for a post-loaded profile + resolves: rhbz#1798183 + - plugins: new irqbalance plugin + resolves: rhbz#1784645 + - throughput-performance: added architecture specific tuning for Marvell ThunderX + resolves: rhbz#1746961 + - throughput-performance: added architecture specific tuning for AMD + resolves: rhbz#1746957 + - scheduler: added support for cgroups + resolves: rhbz#1784648 + +* Mon Mar 23 2020 Jaroslav Škarvada - 2.13.0-6 +- realtime: added conditional support for managed_irq + Resolves: rhbz#1797025 + +* Wed Feb 12 2020 Jaroslav Škarvada - 2.13.0-5 +- profiles: renamed sst profile to intel-sst + related: rhbz#1743879 + +* Fri Feb 07 2020 Ondřej Lysoněk - 2.13.0-4 +- Add accelerator-performance profile +- Resolves: rhbz#1795604 + +* Tue Jan 14 2020 Jaroslav Škarvada - 2.13.0-3 +- tuned-profiles-nfv-host: added ncat requirement + resolves: rhbz#1779117 + +* Tue Jan 7 2020 Jaroslav Škarvada - 2.13.0-2 +- profiles: define variables before use + resolves: rhbz#1788102 + * Wed Dec 11 2019 Jaroslav Škarvada - 2.13.0-1 - new release - rebased tuned to latest upstream