ba319a
Summary: A dynamic adaptive system tuning daemon
ba319a
Name: tuned
ad13cb
Version: 2.8.0
990480
Release: 5%{?dist}.2
ba319a
License: GPLv2+
ad13cb
Source: https://jskarvad.fedorapeople.org/tuned/download/tuned-%{version}.tar.bz2
ad13cb
URL: http://www.tuned-project.org/
ba319a
BuildArch: noarch
7f2825
BuildRequires: python, systemd, desktop-file-utils
ba319a
Requires(post): systemd, virt-what
ba319a
Requires(preun): systemd
ba319a
Requires(postun): systemd
ba319a
Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev
2a7e68
# kernel-tools, hdparm dependencies are not met on s390
ba319a
Requires: virt-what, python-configobj, ethtool, gawk
7f2825
Requires: util-linux, python-perf, dbus, polkit
ad13cb
Requires: python-linux-procfs, python-schedutils
ad13cb
Patch0: tuned-2.8.0-gtk-3.8.patch
ad13cb
Patch1: tuned-2.8.0-workaround-for-old-pyudev.patch
ad13cb
Patch2: tuned-2.8.0-realtime-skew-tick-and-inheritance.patch
ad13cb
Patch3: tuned-2.8.0-realtime-priorities-update.patch
990480
Patch4: tuned-2.8.0-change-force-latency.patch
990480
Patch5: tuned-2.8.0-increase-dbus-timeout.patch
990480
Patch6: tuned-2.8.0-improve-reboot-check.patch
ba319a
ba319a
%description
ba319a
The tuned package contains a daemon that tunes system settings dynamically.
ba319a
It does so by monitoring the usage of several system components periodically.
ba319a
Based on that information components will then be put into lower or higher
ba319a
power saving modes to adapt to the current usage. Currently only ethernet
ba319a
network and ATA harddisk devices are implemented.
ba319a
3424af
%if 0%{?rhel} <= 7 && 0%{!?fedora:1}
3424af
# RHEL <= 7
3424af
%global docdir %{_docdir}/%{name}-%{version}
3424af
%else
3424af
# RHEL > 7 || fedora
3424af
%global docdir %{_docdir}/%{name}
3424af
%endif
3424af
2a7e68
%package gtk
2a7e68
Summary: GTK GUI for tuned
2a7e68
Requires: %{name} = %{version}-%{release}
2a7e68
Requires: powertop, pygobject3-base, polkit
2a7e68
2a7e68
%description gtk
7f2825
GTK GUI that can control tuned and provides simple profile editor.
2a7e68
ba319a
%package utils
ba319a
Requires: %{name} = %{version}-%{release}
ba319a
Requires: powertop
2a7e68
Summary: Various tuned utilities
ba319a
ba319a
%description utils
ba319a
This package contains utilities that can help you to fine tune and
ba319a
debug your system and manage tuned profiles.
ba319a
ba319a
%package utils-systemtap
ba319a
Summary: Disk and net statistic monitoring systemtap scripts
ba319a
Requires: %{name} = %{version}-%{release}
ba319a
Requires: systemtap
ba319a
ba319a
%description utils-systemtap
ba319a
This package contains several systemtap scripts to allow detailed
ba319a
manual monitoring of the system. Instead of the typical IO/sec it collects
ba319a
minimal, maximal and average time between operations to be able to
ba319a
identify applications that behave power inefficient (many small operations
ba319a
instead of fewer large ones).
ba319a
2a7e68
%package profiles-sap
2a7e68
Summary: Additional tuned profile(s) targeted to SAP NetWeaver loads
ad13cb
Requires: %{name} = %{version}
2a7e68
2a7e68
%description profiles-sap
2a7e68
Additional tuned profile(s) targeted to SAP NetWeaver loads.
2a7e68
3424af
%package profiles-oracle
3424af
Summary: Additional tuned profile(s) targeted to Oracle loads
ad13cb
Requires: %{name} = %{version}
3424af
3424af
%description profiles-oracle
3424af
Additional tuned profile(s) targeted to Oracle loads.
3424af
2a7e68
%package profiles-sap-hana
2a7e68
Summary: Additional tuned profile(s) targeted to SAP HANA loads
ad13cb
Requires: %{name} = %{version}
2a7e68
2a7e68
%description profiles-sap-hana
2a7e68
Additional tuned profile(s) targeted to SAP HANA loads.
2a7e68
2a7e68
%package profiles-atomic
3424af
Summary: Additional tuned profile(s) targeted to Atomic
ad13cb
Requires: %{name} = %{version}
2a7e68
2a7e68
%description profiles-atomic
3424af
Additional tuned profile(s) targeted to Atomic host and guest.
3424af
3424af
%package profiles-realtime
3424af
Summary: Additional tuned profile(s) targeted to realtime
ad13cb
Requires: %{name} = %{version}
3424af
Requires: tuna
3424af
3424af
%description profiles-realtime
3424af
Additional tuned profile(s) targeted to realtime.
3424af
ad13cb
%package profiles-nfv-guest
ad13cb
Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV) guest
ad13cb
Requires: %{name} = %{version}
ad13cb
Requires: %{name}-profiles-realtime = %{version}
ad13cb
Requires: tuna
ad13cb
ad13cb
%description profiles-nfv-guest
ad13cb
Additional tuned profile(s) targeted to Network Function Virtualization (NFV) guest.
ad13cb
ad13cb
%package profiles-nfv-host
ad13cb
Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV) host
ad13cb
Requires: %{name} = %{version}
ad13cb
Requires: %{name}-profiles-realtime = %{version}
ad13cb
Requires: tuna, qemu-kvm-tools-rhev
ad13cb
ad13cb
%description profiles-nfv-host
ad13cb
Additional tuned profile(s) targeted to Network Function Virtualization (NFV) host.
ad13cb
ad13cb
# this is kept for backward compatibility, it should be dropped for RHEL-8
3424af
%package profiles-nfv
3424af
Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV)
ad13cb
Requires: %{name} = %{version}
ad13cb
Requires: %{name}-profiles-nfv-guest = %{version}
ad13cb
Requires: %{name}-profiles-nfv-host = %{version}
3424af
3424af
%description profiles-nfv
3424af
Additional tuned profile(s) targeted to Network Function Virtualization (NFV).
2a7e68
ad13cb
%package profiles-cpu-partitioning
ad13cb
Summary: Additional tuned profile(s) optimized for CPU partitioning
ad13cb
Requires: %{name} = %{version}
ad13cb
Requires: tuna
ad13cb
ad13cb
%description profiles-cpu-partitioning
ad13cb
Additional tuned profile(s) optimized for CPU partitioning.
ad13cb
ba319a
%package profiles-compat
ba319a
Summary: Additional tuned profiles mainly for backward compatibility with tuned 1.0
ad13cb
Requires: %{name} = %{version}
ba319a
ba319a
%description profiles-compat
ba319a
Additional tuned profiles mainly for backward compatibility with tuned 1.0.
ba319a
It can be also used to fine tune your system for specific scenarios.
ba319a
ba319a
%prep
ba319a
%setup -q
ba319a
%patch0 -p1
3424af
%patch1 -p1
7438d5
%patch2 -p1
a8dbb0
%patch3 -p1
990480
%patch4 -p1
990480
%patch5 -p1
990480
%patch6 -p1
ba319a
ba319a
%build
ba319a
ba319a
ba319a
%install
3424af
make install DESTDIR=%{buildroot} DOCDIR=%{docdir}
ba319a
%if 0%{?rhel}
ba319a
sed -i 's/\(dynamic_tuning[ \t]*=[ \t]*\).*/\10/' %{buildroot}%{_sysconfdir}/tuned/tuned-main.conf
ba319a
%endif
ba319a
2a7e68
# conditional support for grub2, grub2 is not available on all architectures
2a7e68
# and tuned is noarch package, thus the following hack is needed
2a7e68
mkdir -p %{buildroot}%{_datadir}/tuned/grub2
2a7e68
mv %{buildroot}%{_sysconfdir}/grub.d/00_tuned %{buildroot}%{_datadir}/tuned/grub2/00_tuned
2a7e68
rmdir %{buildroot}%{_sysconfdir}/grub.d
ba319a
ad13cb
# ghost for persistent storage
ad13cb
mkdir -p %{buildroot}%{_var}/lib/tuned
ad13cb
02196e
# ghost for NFV
02196e
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
02196e
touch %{buildroot}%{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf
02196e
7f2825
# validate desktop file
7f2825
desktop-file-validate %{buildroot}%{_datadir}/applications/tuned-gui.desktop
7f2825
ba319a
%post
ba319a
%systemd_post tuned.service
ba319a
ba319a
# convert active_profile from full path to name (if needed)
ba319a
sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
ba319a
3424af
# convert GRUB_CMDLINE_LINUX to GRUB_CMDLINE_LINUX_DEFAULT
3424af
if [ -r "%{_sysconfdir}/default/grub" ]; then
3424af
  sed -i 's/GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX \\$tuned_params"/GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \\$tuned_params"/' \
3424af
    %{_sysconfdir}/default/grub
3424af
fi
3424af
ba319a
ba319a
%preun
ba319a
%systemd_preun tuned.service
ad13cb
if [ "$1" == 0 ]; then
ad13cb
# clear persistent storage
ad13cb
  rm -f %{_var}/lib/tuned/*
ad13cb
fi
ba319a
ba319a
ba319a
%postun
ba319a
%systemd_postun_with_restart tuned.service
ba319a
2a7e68
# conditional support for grub2, grub2 is not available on all architectures
2a7e68
# and tuned is noarch package, thus the following hack is needed
2a7e68
if [ "$1" == 0 ]; then
2a7e68
  rm -f %{_sysconfdir}/grub.d/00_tuned || :
3424af
# unpatch /etc/default/grub
3424af
  if [ -r "%{_sysconfdir}/default/grub" ]; then
7f2825
    sed -i '/GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT:+$GRUB_CMDLINE_LINUX_DEFAULT }\\$tuned_params"/d' %{_sysconfdir}/default/grub
3424af
  fi
2a7e68
fi
2a7e68
ba319a
ba319a
%triggerun -- tuned < 2.0-0
ba319a
# remove ktune from old tuned, now part of tuned
ba319a
/usr/sbin/service ktune stop &>/dev/null || :
ba319a
/usr/sbin/chkconfig --del ktune &>/dev/null || :
ba319a
ba319a
2a7e68
%posttrans
2a7e68
# conditional support for grub2, grub2 is not available on all architectures
2a7e68
# and tuned is noarch package, thus the following hack is needed
2a7e68
if [ -d %{_sysconfdir}/grub.d ]; then
2a7e68
  cp -a %{_datadir}/tuned/grub2/00_tuned %{_sysconfdir}/grub.d/00_tuned
ad13cb
  selinuxenabled &>/dev/null && \
ad13cb
    restorecon %{_sysconfdir}/grub.d/00_tuned &>/dev/null || :
7f2825
fi
7f2825
7f2825
7f2825
%post gtk
7f2825
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
7f2825
7f2825
7f2825
%postun gtk
7f2825
if [ $1 -eq 0 ] ; then
7f2825
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
7f2825
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
2a7e68
fi
2a7e68
2a7e68
7f2825
%posttrans gtk
7f2825
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
7f2825
7f2825
ba319a
%files
ba319a
%defattr(-,root,root,-)
7f2825
%exclude %{docdir}/README.utils
7f2825
%exclude %{docdir}/README.scomes
ad13cb
%exclude %{docdir}/README.NFV
7f2825
%doc %{docdir}
3424af
%{_datadir}/bash-completion/completions/tuned-adm
2a7e68
%exclude %{python_sitelib}/tuned/gtk
ba319a
%{python_sitelib}/tuned
ba319a
%{_sbindir}/tuned
ba319a
%{_sbindir}/tuned-adm
3424af
%exclude %{_sysconfdir}/tuned/realtime-variables.conf
ad13cb
%exclude %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
ad13cb
%exclude %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
ad13cb
%exclude %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
ba319a
%exclude %{_prefix}/lib/tuned/default
ba319a
%exclude %{_prefix}/lib/tuned/desktop-powersave
ba319a
%exclude %{_prefix}/lib/tuned/laptop-ac-powersave
ba319a
%exclude %{_prefix}/lib/tuned/server-powersave
ba319a
%exclude %{_prefix}/lib/tuned/laptop-battery-powersave
ba319a
%exclude %{_prefix}/lib/tuned/enterprise-storage
ba319a
%exclude %{_prefix}/lib/tuned/spindown-disk
2a7e68
%exclude %{_prefix}/lib/tuned/sap-netweaver
2a7e68
%exclude %{_prefix}/lib/tuned/sap-hana
2a7e68
%exclude %{_prefix}/lib/tuned/sap-hana-vmware
3424af
%exclude %{_prefix}/lib/tuned/oracle
2a7e68
%exclude %{_prefix}/lib/tuned/atomic-host
2a7e68
%exclude %{_prefix}/lib/tuned/atomic-guest
3424af
%exclude %{_prefix}/lib/tuned/realtime
3424af
%exclude %{_prefix}/lib/tuned/realtime-virtual-guest
3424af
%exclude %{_prefix}/lib/tuned/realtime-virtual-host
ad13cb
%exclude %{_prefix}/lib/tuned/cpu-partitioning
ba319a
%{_prefix}/lib/tuned
ba319a
%dir %{_sysconfdir}/tuned
3424af
%dir %{_libexecdir}/tuned
ad13cb
%{_libexecdir}/tuned/defirqaffinity*
2a7e68
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/active_profile
ba319a
%config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
2a7e68
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
ba319a
%{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
7f2825
%verify(not size mtime md5) %{_sysconfdir}/modprobe.d/tuned.conf
2a7e68
%{_tmpfilesdir}/tuned.conf
ba319a
%{_unitdir}/tuned.service
ba319a
%dir %{_localstatedir}/log/tuned
ba319a
%dir /run/tuned
ad13cb
%dir %{_var}/lib/tuned
ba319a
%{_mandir}/man5/tuned*
2a7e68
%{_mandir}/man7/tuned-profiles.7*
ba319a
%{_mandir}/man8/tuned*
2a7e68
%dir %{_datadir}/tuned
2a7e68
%{_datadir}/tuned/grub2
7f2825
%{_datadir}/polkit-1/actions/com.redhat.tuned.policy
ad13cb
%ghost %{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf
ba319a
2a7e68
%files gtk
ba319a
%defattr(-,root,root,-)
2a7e68
%{_sbindir}/tuned-gui
2a7e68
%{python_sitelib}/tuned/gtk
2a7e68
%{_datadir}/tuned/ui
7f2825
%{_datadir}/polkit-1/actions/com.redhat.tuned.gui.policy
7f2825
%{_datadir}/icons/hicolor/scalable/apps/tuned.svg
7f2825
%{_datadir}/applications/tuned-gui.desktop
2a7e68
2a7e68
%files utils
ba319a
%doc COPYING
ba319a
%{_bindir}/powertop2tuned
ba319a
%{_libexecdir}/tuned/pmqos-static*
ba319a
ba319a
%files utils-systemtap
ba319a
%defattr(-,root,root,-)
ba319a
%doc doc/README.utils
ba319a
%doc doc/README.scomes
ba319a
%doc COPYING
ba319a
%{_sbindir}/varnetload
ba319a
%{_sbindir}/netdevstat
ba319a
%{_sbindir}/diskdevstat
ba319a
%{_sbindir}/scomes
ba319a
%{_mandir}/man8/varnetload.*
ba319a
%{_mandir}/man8/netdevstat.*
ba319a
%{_mandir}/man8/diskdevstat.*
ba319a
%{_mandir}/man8/scomes.*
ba319a
2a7e68
%files profiles-sap
2a7e68
%defattr(-,root,root,-)
2a7e68
%{_prefix}/lib/tuned/sap-netweaver
2a7e68
%{_mandir}/man7/tuned-profiles-sap.7*
2a7e68
2a7e68
%files profiles-sap-hana
2a7e68
%defattr(-,root,root,-)
2a7e68
%{_prefix}/lib/tuned/sap-hana
2a7e68
%{_prefix}/lib/tuned/sap-hana-vmware
2a7e68
%{_mandir}/man7/tuned-profiles-sap-hana.7*
2a7e68
3424af
%files profiles-oracle
3424af
%defattr(-,root,root,-)
3424af
%{_prefix}/lib/tuned/oracle
3424af
%{_mandir}/man7/tuned-profiles-oracle.7*
3424af
2a7e68
%files profiles-atomic
2a7e68
%defattr(-,root,root,-)
2a7e68
%{_prefix}/lib/tuned/atomic-host
2a7e68
%{_prefix}/lib/tuned/atomic-guest
2a7e68
%{_mandir}/man7/tuned-profiles-atomic.7*
2a7e68
3424af
%files profiles-realtime
3424af
%defattr(-,root,root,-)
3424af
%config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
3424af
%{_prefix}/lib/tuned/realtime
3424af
%{_mandir}/man7/tuned-profiles-realtime.7*
3424af
ad13cb
%files profiles-nfv-guest
3424af
%defattr(-,root,root,-)
3424af
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
3424af
%{_prefix}/lib/tuned/realtime-virtual-guest
ad13cb
%{_mandir}/man7/tuned-profiles-nfv-guest.7*
ad13cb
ad13cb
%files profiles-nfv-host
ad13cb
%defattr(-,root,root,-)
ad13cb
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
3424af
%{_prefix}/lib/tuned/realtime-virtual-host
ad13cb
%{_mandir}/man7/tuned-profiles-nfv-host.7*
ad13cb
ad13cb
%files profiles-nfv
ad13cb
%defattr(-,root,root,-)
ad13cb
%doc %{docdir}/README.NFV
ad13cb
ad13cb
%files profiles-cpu-partitioning
ad13cb
%defattr(-,root,root,-)
ad13cb
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
ad13cb
%{_prefix}/lib/tuned/cpu-partitioning
ad13cb
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7*
3424af
ba319a
%files profiles-compat
ba319a
%defattr(-,root,root,-)
ba319a
%{_prefix}/lib/tuned/default
ba319a
%{_prefix}/lib/tuned/desktop-powersave
ba319a
%{_prefix}/lib/tuned/laptop-ac-powersave
ba319a
%{_prefix}/lib/tuned/server-powersave
ba319a
%{_prefix}/lib/tuned/laptop-battery-powersave
ba319a
%{_prefix}/lib/tuned/enterprise-storage
ba319a
%{_prefix}/lib/tuned/spindown-disk
2a7e68
%{_mandir}/man7/tuned-profiles-compat.7*
ba319a
ba319a
%changelog
990480
* Mon Oct 30 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-5.2
990480
- fixed profile application from cloud-init
990480
  resolves: rhbz#1507564
990480
990480
* Mon Oct 23 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-5.1
990480
- sap-hana: change force_latency to 70
990480
  resolves: rhbz#1505166
990480
ad13cb
* Mon Jun 12 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-5
ad13cb
- realtime: re-assigned kernel thread priorities
ad13cb
  resolves: rhbz#1452357
ad13cb
ad13cb
* Tue Jun  6 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-4
ad13cb
- added skew_tick=1 to realtime and simplified bootcmdline inheritance
ad13cb
  resolves: rhbz#1447938
ad13cb
ad13cb
* Fri May  5 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-3
ad13cb
- added workaround for old pyudev
ad13cb
  related: rhbz#1251240
ad13cb
ad13cb
* Thu Apr 13 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-2
ad13cb
- respin
ad13cb
  related: rhbz#1388454
ad13cb
- systemd: added support for older systemd CPUAffinity syntax
ad13cb
  resolves: rhbz#1441791
ad13cb
- scheduler: added workarounds for low level exceptions from
ad13cb
  python-linux-procfs
ad13cb
  resolves: rhbz#1441792
ad13cb
- bootloader: workaround for adding tuned_initrd to new kernels on restart
ad13cb
  resolves: rhbz#1441797
ad13cb
- cpu-partitioning: use tuna for cores isolation
ad13cb
  related: rhbz#1403309
ad13cb
ad13cb
* Fri Apr  7 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.8.0-1
ad13cb
- new release
ad13cb
  - rebase tuned to latest upstream
ad13cb
    resolves: rhbz#1388454
ad13cb
  - cpu-partitioning: enabled timer migration
ad13cb
    resolves: rhbz#1408308
ad13cb
  - cpu-partitioning: disabled kvmclock sync and ple
ad13cb
    resolves: rhbz#1395855
ad13cb
  - spec: muted error if there is no selinux support
ad13cb
    resolves: rhbz#1404214
ad13cb
  - units: implemented instance priority
ad13cb
    resolves: rhbz#1246172
ad13cb
  - bootloader: added support for initrd overlays
ad13cb
    resolves: rhbz#1414098
ad13cb
  - cpu-partitioning: set CPUAffinity early in initrd image
ad13cb
    resolves: rhbz#1394965
ad13cb
  - cpu-partitioning: set workqueue affinity early
ad13cb
    resolves: rhbz#1395899
ad13cb
  - scsi_host: fixed probing of ALPM, missing ALPM logged as info
ad13cb
    resolves: rhbz#1416712
ad13cb
  - added new profile cpu-partitioning
ad13cb
    resolves: rhbz#1359956
ad13cb
  - bootloader: improved inheritance
ad13cb
    resolves: rhbz#1274464
ad13cb
  - units: mplemented udev-based regexp device matching
ad13cb
    resolves: rhbz#1251240
ad13cb
  - units: introduced pre_script, post_script
ad13cb
    resolves: rhbz#1246176
ad13cb
  - realtime-virtual-host: accommodate new ktimersoftd thread
ad13cb
    resolves: rhbz#1332563
ad13cb
  - defirqaffinity: fixed traceback due to syntax error
ad13cb
    resolves: rhbz#1369791
ad13cb
  - variables: support inheritance of variables
ad13cb
    resolves: rhbz#1433496
ad13cb
  - scheduler: added support for cores isolation
ad13cb
    resolves: rhbz#1403309
ad13cb
  - tuned-profiles-nfv splitted to host/guest and dropped unneeded dependency
ad13cb
    resolves: rhbz#1413111
ad13cb
  - desktop: fixed typo in profile summary
ad13cb
    resolves: rhbz#1421238
ad13cb
  - with systemd don't do full rollback on shutdown / reboot
ad13cb
    resolves: rhbz#1421286
ad13cb
  - builtin functions: added virt_check function and support to include
ad13cb
    resolves: rhbz#1426654
ad13cb
  - cpulist_present: explicitly sorted present CPUs
ad13cb
    resolves: rhbz#1432240
ad13cb
  - plugin_scheduler: fixed initialization
ad13cb
    resolves: rhbz#1433496
ad13cb
  - log errors when applying a profile fails
ad13cb
    resolves: rhbz#1434360
ad13cb
ad13cb
* Tue Nov  8 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.1-4
a8dbb0
- Fixed timeout if non-existent profile is requested
ad13cb
  resolves: rhbz#1369502
a8dbb0
7f2825
* Mon Sep 12 2016 Ondřej Lysoněk <olysonek@redhat.com> - 2.7.1-3
7f2825
- Fixed a traceback
7f2825
  resolves: rhbz#1372298
7f2825
7f2825
* Wed Aug 10 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.1-2
7f2825
- fixed Tuned restart from GUI
7f2825
  resolves: rhbz#1365533
7f2825
7f2825
* Tue Aug  2 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.1-1
7f2825
- - new-release
7f2825
  - rebase tuned to latest upstream
7f2825
    resolves: rhbz#1289048
7f2825
  - gui: fixed traceback caused by DBus paths copy&paste error
7f2825
    related: rhbz#1356369
7f2825
  - tuned-adm: fixed traceback of 'tuned-adm list' if daemon is not running
7f2825
    resolves: rhbz#1358857
7f2825
7f2825
* Tue Jul 19 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.0-1
7f2825
- new-release
7f2825
  - rebase tuned to latest upstream
7f2825
    resolves: rhbz#1289048
7f2825
  - gui: fixed save profile
7f2825
    resolves: rhbz#1242491
7f2825
  - tuned-adm: added --ignore-missing parameter
7f2825
    resolves: rhbz#1243807
7f2825
  - plugin_vm: added transparent_hugepage alias
7f2825
    resolves: rhbz#1249610
7f2825
  - plugins: added modules plugin
7f2825
    resolves: rhbz#1249618
7f2825
  - plugin_cpu: do not show error if cpupower or x86_energy_perf_policy are
7f2825
    missing
7f2825
    resolves: rhbz#1254417
7f2825
  - tuned-adm: fixed restart attempt if tuned is not running
7f2825
    resolves: rhbz#1258755
7f2825
  - nfv: avoided race condition by using synchronous mode
7f2825
    resolves: rhbz#1259039
7f2825
  - realtime: added check for isolcpus sanity
7f2825
    resolves: rhbz#1264128
7f2825
  - pm_qos: fixed exception if PM_QoS is not available
7f2825
    resolves: rhbz#1296137
7f2825
  - plugin_sysctl: reapply system sysctl after Tuned sysctl are applied
7f2825
    resolves: rhbz#1302953
7f2825
  - atomic: increase number of inotify watches
7f2825
    resolves: rhbz#1322001
7f2825
  - realtime-virtual-host/guest: added rcu_nocbs kernel boot parameter
7f2825
    resolves: rhbz#1334479
7f2825
  - realtime: fixed kernel.sched_rt_runtime_us to be -1
7f2825
    resolves: rhbz#1346715
7f2825
  - tuned-adm: fixed detection of no_daemon mode
7f2825
    resolves: rhbz#1351536
7f2825
  - plugin_base: correctly strip assignment modifiers even if not used
7f2825
    resolves: rhbz#1353142
7f2825
  - plugin_disk: try to workaround embedded '/' in device names
7f2825
    related: rhbz#1353142
7f2825
  - sap-hana: explicitly setting kernel.numa_balancing = 0 for better performance
7f2825
    resolves: rhbz#1355768
7f2825
  - libexec: fixed listdir and isdir in defirqaffinity.py
7f2825
    resolves: rhbz#1252160
7f2825
  - plugin_cpu: save and restore only intel pstate attributes that were changed
7f2825
    resolves: rhbz#1252156
7f2825
  - functions: fixed sysfs save to work with options
7f2825
    resolves: rhbz#1251507
7f2825
  - functions: fixed restore_logs_syncing to preserve SELinux context on rsyslog.conf
7f2825
    resolves: rhbz#1268901
7f2825
  - spec: correctly remove tuned footprint from /etc/default/grub
7f2825
    resolves: rhbz#1268845
7f2825
  - gui: fixed creation of new profile
7f2825
    resolves: rhbz#1274609
7f2825
7f2825
* Tue Feb  9 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-7
30cc02
- fixed traceback during restart attempt
7f2825
  resolves: rhbz#1265660
30cc02
7f2825
* Wed Jan 13 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-6
02196e
- fixed race in modprobe in realtime-virtual-host profile and extended
02196e
  stop action to have hint why it is called
7f2825
  resolves: rhbz#1292117
02196e
7f2825
* Mon Nov 16 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-5
7438d5
- fixed various verification issues (by verification-fixes patch)
7f2825
  resolves: rhbz#1252153
7438d5
- realtime profile now sets cpumask of unbound workqueues
7438d5
  (by realtime-set-unbound-workqueues patch)
7f2825
  resolves: rhbz#1259043
7438d5
- fixed lapic_timer_adv_ns cache in realtime-virtual-host profile
7438d5
  (by lapic-timer-adv-ns-cache-fix patch)
7f2825
  resolves: rhbz#1259452
7438d5
- fixed find-lapictscdeadline-optimal-fix in realtime-virtual-host profile
7438d5
  (by find-lapictscdeadline-optimal-fix patch)
7f2825
  resolves: rhbz#1267284
7438d5
- removed nohz_full from the realtime profile (by realtime-remove-nohz-full
7438d5
  patch)
7f2825
  resolves: rhbz#1274486
7438d5
3424af
* Wed Sep 23 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-4
3424af
- grub support in post scriptlet made conditional not to break s390(x)
3424af
  resolves: rhbz#1265654
3424af
3424af
* Fri Aug 28 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-3
3424af
- patched files are not backed up
3424af
  related: rhbz#1254538
3424af
3424af
* Fri Aug 28 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-2
3424af
- unquoted sysctl values
3424af
  resolves: rhbz#1254538
3424af
3424af
* Tue Aug  4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-1
3424af
- new-release
3424af
  related: rhbz#1155052
3424af
  - plugin_scheduler: work with nohz_full
3424af
    resolves: rhbz#1247184
3424af
  - fixed realtime-virtual-guest/host profiles packaged twice
3424af
    resolves: rhbz#1249028
3424af
  - fixed requirements of realtime and nfv profiles
3424af
  - fixed tuned-gui not starting
3424af
  - various other minor fixes
3424af
  - defuzzified gtk-3.8 patch
3424af
3424af
* Sun Jul  5 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.0-1
3424af
- new-release
3424af
  resolves: rhbz#1155052
3424af
  - add support for ethtool -C to tuned network plugin
3424af
    resolves: rhbz#1152539
3424af
  - add support for ethtool -K to tuned network plugin
3424af
    resolves: rhbz#1152541
3424af
  - add support for calculation of values for the kernel command line
3424af
    resolves: rhbz#1191595
3424af
  - no error output if there is no hdparm installed
3424af
    resolves: rhbz#1191775
3424af
  - do not run hdparm on hotplug events if there is no hdparm tuning
3424af
    resolves: rhbz#1193682
3424af
  - add oracle tuned profile
3424af
    resolves: rhbz#1196298
3424af
  - fix bash completions for tuned-adm
3424af
    resolves: rhbz#1207668
3424af
  - add glob support to tuned sysfs plugin
3424af
    resolves: rhbz#1212831
3424af
  - add tuned-adm verify subcommand
3424af
    resolves: rhbz#1212836
3424af
  - do not install tuned kernel command line to rescue kernels
3424af
    resolves: rhbz#1223864
3424af
  - add variables support
3424af
    resolves: rhbz#1225124
3424af
  - add built-in support for unit conversion into tuned
3424af
    resolves: rhbz#1225135
3424af
  - fixed vm.max_map_count setting in sap-netweaver profile
3424af
    resolves: rhbz#1228562
3424af
  - create tuned profile for RHEL-RT
3424af
    resolves: rhbz#1228801
3424af
  - plugin_scheduler: added support for runtime tuning of processes
3424af
    resolves: rhbz#1148546
3424af
  - add support for changing elevators on xvd* devices (Amazon EC2)
3424af
    resolves: rhbz#1170152
3424af
  - add workaround to be run after systemd-sysctl
3424af
    resolves: rhbz#1189263
3424af
  - do not change settings of transparent hugepages if set in kernel cmdline
3424af
    resolves: rhbz#1189868
3424af
  - add tuned profiles for RHEL-NFV
3424af
    resolves: rhbz#1228803
3424af
  - plugin_bootloader: apply $tuned_params to existing kernels
3424af
    resolves: rhbz#1233004
3424af
  - add support for no daemon mode
3424af
    resolves: rhbz#1068663
3424af
2a7e68
* Thu Oct 16 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-1
2a7e68
- new-release
2a7e68
  resolves: rhbz#1093883
2a7e68
2a7e68
* Tue Oct  7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-6
2a7e68
- add autodetection of grub2 to plugin_bootloader
2a7e68
  resolves: rhbz#1150047
2a7e68
2a7e68
* Mon Oct  6 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-5
2a7e68
- fixed tuned-adm list traceback
2a7e68
  resolves: rhbz#1149162
2a7e68
2a7e68
* Mon Oct  6 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-4
2a7e68
- fixed cmdline handling in bootloader plugin
2a7e68
  related: rhbz#1148711
2a7e68
2a7e68
* Mon Oct  6 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-3
2a7e68
- grub template 00_tuned, do not return error if there is no cmdline
2a7e68
  resolves: rhbz#1148711
2a7e68
2a7e68
* Wed Oct  1 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-2
2a7e68
- fixed tuned-gui polkit path
2a7e68
  related: rhbz#1093883
2a7e68
2a7e68
* Wed Oct  1 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-1
2a7e68
- new-release
2a7e68
  resolves: rhbz#1093883
2a7e68
  - fixed traceback if profile cannot be loaded
2a7e68
    related: rhbz#953128
2a7e68
  - powertop2tuned: fixed traceback if rewriting file instead of dir
2a7e68
  - daemon: fixed race condition in start/stop
2a7e68
  - balanced: used medium_power ALPM policy
2a7e68
  - balanced: used conservative CPU governor
2a7e68
    resolves: rhbz#1124125
2a7e68
  - plugins: added selinux plugin
2a7e68
  - plugin_net: added nf_conntrack_hashsize parameter
2a7e68
  - profiles: included sap-hana and sap-hana-vmware profiles
2a7e68
  - profiles: sap-profiles in individual subpackages
2a7e68
    resolves: rhbz#1058483
2a7e68
  - man: structured profiles manual pages according to sub-packages
2a7e68
  - improved error handling of switch_profile
2a7e68
  - tuned-adm: active: detect whether tuned deamon is running
2a7e68
  - removed active_profile from RPM verification
2a7e68
    resolves: rhbz#1104126
2a7e68
  - plugin_disk: readahead value can be now specified in sectors
2a7e68
    resolves: rhbz#1127127
2a7e68
  - plugins: added bootloader plugin
2a7e68
    resolves: rhbz#1044111
2a7e68
  - plugin_disk: added error counter to hdparm calls
2a7e68
  - plugins: added scheduler plugin
2a7e68
    resolves: rhbz#1100826
2a7e68
  - added tuned-gui
2a7e68
2a7e68
* Fri Sep 19 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-16
2a7e68
- autodetecting initial profile in runtime, not int post install
2a7e68
  resolves: rhbz#1144067
2a7e68
2a7e68
* Tue Sep  2 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-15
2a7e68
- updated man page to include atomic-host and atomic-guest profiles
2a7e68
  related: rhbz#1091977, rhbz#1091979
2a7e68
2a7e68
* Wed Aug 27 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-14
2a7e68
- add atomic-host and atomic-guest profiles
2a7e68
  resolves: rhbz#1091977, rhbz#1091979
2a7e68
2a7e68
* Mon May 12 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-13
684be3
- add support for assignment modifiers
2a7e68
  resolves: rhbz#1096917
684be3
2a7e68
* Wed May  7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-12
684be3
- handle root block devices
2a7e68
  resolves: rhbz#1033251
684be3
293355
* Fri Mar  7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-11
293355
- reverted fix for bug 1073008, dependency is not met on s390
293355
  related: rhbz#1073008
293355
293355
* Thu Mar  6 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-10
293355
- added requirement to kernel-tools
293355
  resolves: rhbz#1073008
293355
- made cpupower.service conflicting
293355
  resolves: rhbz#1073392
293355
293355
* Tue Mar  4 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-9
293355
- re-arranged profile autoselection patches for better maintainability
293355
  related: rhbz#1069123
293355
293355
* Mon Mar  3 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-8
293355
- fixed profile autoselection
293355
  resolves: rhbz#1069123
293355
293355
* Fri Feb 14 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-7
293355
- throughput-performance is default for the server
293355
  resolves: rhbz#1063481
293355
- THP not disabled in the latency-performance profile
293355
  resolves: rhbz#1064510
293355
- added network-latency profile
293355
  resolves: rhbz#1052418
293355
- added network-throughput profile
293355
  resolves: rhbz#1052421
293355
293355
* Tue Jan  7 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-6
293355
- altered dirty ratios of troughput-performance for better performance
293355
  resolves: rhbz#1043533
293355
293355
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.3.0-5
293355
- Mass rebuild 2013-12-27
293355
293355
* Fri Nov 22 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-4
293355
- removed useless find from the spindown-disk profile
293355
  resolves: rhbz#1030439
293355
ba319a
* Fri Nov  8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-3
ba319a
- defuzzified patches
ba319a
  related: rhbz#1028119, rhbz#1028122
ba319a
ba319a
* Fri Nov  8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-2
ba319a
- fixed race condition in the start/stop code
ba319a
  resolves: rhbz#1028119
ba319a
- improved tuned responsiveness
ba319a
  resolves: rhbz#1028122
ba319a
ba319a
* Wed Nov  6 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-1
ba319a
- new-release
ba319a
  resolves: rhbz#1020743
ba319a
  - audio plugin: fixed audio settings in standard profiles
ba319a
  - video plugin: fixed tunings
ba319a
  - daemon: fixed crash if preset profile is not available
ba319a
  - man: various updates and corrections
ba319a
  - functions: fixed usb and bluetooth handling
ba319a
  - tuned: switched to lightweighted pygobject3-base
ba319a
  - daemon: added global config for dynamic_tuning
ba319a
  - utils: added pmqos-static script for debug purposes
ba319a
  - throughput-performance: various fixes
ba319a
  - tuned: added global option update_interval
ba319a
  - plugin_cpu: added support for x86_energy_perf_policy
ba319a
    resolves: rhbz#1015675
ba319a
  - dbus: fixed KeyboardInterrupt handling
ba319a
  - plugin_cpu: added support for intel_pstate
ba319a
    resolves: rhbz#996722
ba319a
  - profiles: various fixes
ba319a
  - profiles: added desktop profile
ba319a
    resolves: rhbz#996723
ba319a
  - tuned-adm: implemented non DBus fallback control
ba319a
  - profiles: added sap profile
ba319a
  - tuned: lowered CPU usage due to python bug
ba319a
ba319a
* Wed Oct 16 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-4
ba319a
- lock CPU to C1 instead of C0 in latency-performance profile
ba319a
  resolves: rhbz#1013085
ba319a
- readahed multiply set to 4 in throughput-performance profile
ba319a
  resolves: rhbz#987570
ba319a
- packaged pmqos-static script for debugging purposes
ba319a
  resolves: rhbz#1015676
ba319a
- added global configuration file with the possibility to globally
ba319a
  disable the dynamic tuning and it is by default disabled on RHEL
ba319a
  resolves: rhbz#1006427
ba319a
ba319a
* Thu Jul 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-3
ba319a
- do not package backup file
ba319a
  related: rhbz#986468
ba319a
ba319a
* Thu Jul 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-2
ba319a
- used pygobject3-base instead of pygobject2
ba319a
  resolves: rhbz#986468
ba319a
ba319a
* Tue Mar 19 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-1
ba319a
- new-release:
ba319a
  - cpu plugin: fixed cpupower workaround
ba319a
  - cpu plugin: fixed crash if cpupower is installed
ba319a
ba319a
* Fri Mar  1 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.1-1
ba319a
- new release:
ba319a
  - audio plugin: fixed error handling in _get_timeout
ba319a
  - removed cpupower dependency, added sysfs fallback
ba319a
  - powertop2tuned: fixed parser crash on binary garbage
ba319a
    resolves: rhbz#914933
ba319a
  - cpu plugin: dropped multicore_powersave as kernel upstream already did
ba319a
  - plugins: options manipulated by dynamic tuning are now correctly saved and restored
ba319a
  - powertop2tuned: added alias -e for --enable option
ba319a
  - powertop2tuned: new option -m, --merge-profile to select profile to merge
ba319a
  - prefer transparent_hugepage over redhat_transparent_hugepage
ba319a
  - recommend: use recommend.conf not autodetect.conf
ba319a
  - tuned.service: switched to dbus type service
ba319a
    resolves: rhbz#911445
ba319a
  - tuned: new option --pid, -P to write PID file
ba319a
  - tuned, tuned-adm: added new option --version, -v to show version
ba319a
  - disk plugin: use APM value 254 for cleanup / APM disable instead of 255
ba319a
    resolves: rhbz#905195
ba319a
  - tuned: new option --log, -l to select log file
ba319a
  - powertop2tuned: avoid circular deps in include (one level check only)
ba319a
  - powertop2tuned: do not crash if powertop is not installed
ba319a
  - net plugin: added support for wake_on_lan static tuning
ba319a
    resolves: rhbz#885504
ba319a
  - loader: fixed error handling
ba319a
  - spec: used systemd-rpm macros
ba319a
    resolves: rhbz#850347
ba319a
ba319a
* Mon Jan 28 2013 Jan Vcelak <jvcelak@redhat.com> 2.2.0-1
ba319a
- new release:
ba319a
  - remove nobarrier from virtual-guest (data loss prevention)
ba319a
  - devices enumeration via udev, instead of manual retrieval
ba319a
  - support for dynamically inserted devices (currently disk plugin)
ba319a
  - dropped rfkill plugins (bluetooth and wifi), the code didn't work
ba319a
ba319a
* Wed Jan  2 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.1.2-1
ba319a
- new release:
ba319a
  - systemtap {disk,net}devstat: fix typo in usage
ba319a
  - switched to configobj parser
ba319a
  - latency-performance: disabled THP
ba319a
  - fixed fd leaks on subprocesses
ba319a
ba319a
* Thu Dec 06 2012 Jan Vcelak <jvcelak@redhat.com> 2.1.1-1
ba319a
- fix: powertop2tuned execution
ba319a
- fix: ownership of /etc/tuned
ba319a
ba319a
* Mon Dec 03 2012 Jan Vcelak <jvcelak@redhat.com> 2.1.0-1
ba319a
- new release:
ba319a
  - daemon: allow running without selected profile
ba319a
  - daemon: fix profile merging, allow only safe characters in profile names
ba319a
  - daemon: implement missing methods in DBus interface
ba319a
  - daemon: implement profile recommendation
ba319a
  - daemon: improve daemonization, PID file handling
ba319a
  - daemon: improved device matching in profiles, negation possible
ba319a
  - daemon: various internal improvements
ba319a
  - executables: check for EUID instead of UID
ba319a
  - executables: run python with -Es to increase security
ba319a
  - plugins: cpu - fix cpupower execution
ba319a
  - plugins: disk - fix option setting
ba319a
  - plugins: mounts - new, currently supports only barriers control
ba319a
  - plugins: sysctl - fix a bug preventing settings application
ba319a
  - powertop2tuned: speedup, fix crashes with non-C locales
ba319a
  - powertop2tuned: support for powertop 2.2 output
ba319a
  - profiles: progress on replacing scripts with plugins
ba319a
  - tuned-adm: bash completion - suggest profiles from all supported locations
ba319a
  - tuned-adm: complete switch to D-bus
ba319a
  - tuned-adm: full control to users with physical access
ba319a
ba319a
* Mon Oct 08 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-1
ba319a
- New version
ba319a
- Systemtap scripts moved to utils-systemtap subpackage
ba319a
ba319a
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-4
ba319a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ba319a
ba319a
* Tue Jun 12 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.1-3
ba319a
- another powertop-2.0 compatibility fix
ba319a
  Resolves: rhbz#830415
ba319a
ba319a
* Tue Jun 12 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.1-2
ba319a
- fixed powertop2tuned compatibility with powertop-2.0
ba319a
ba319a
* Tue Apr 03 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.1-1
ba319a
- new version
ba319a
ba319a
* Fri Mar 30 2012 Jan Vcelak <jvcelak@redhat.com> 2.0-1
ba319a
- first stable release