tuned/tuned.spec

438 lines
15 KiB
RPMSpec
Raw Normal View History

2009-03-03 09:56:17 +00:00
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.4.1
Release: 3%{?dist}
2012-12-03 10:39:22 +00:00
License: GPLv2+
2012-12-06 10:15:57 +00:00
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
2009-09-23 10:53:48 +00:00
URL: https://fedorahosted.org/tuned/
2009-03-03 09:56:17 +00:00
BuildArch: noarch
BuildRequires: python, systemd
Requires(post): systemd, virt-what
Requires(preun): systemd
Requires(postun): systemd
Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
Requires: virt-what, python-configobj, ethtool, gawk, kernel-tools, hdparm
Requires: util-linux
Patch0: tuned-2.4.1-powertop2tuned-keyerror-fix.patch
2009-03-03 09:56:17 +00:00
%description
The tuned package contains a daemon that tunes system settings dynamically.
It does so by monitoring the usage of several system components periodically.
Based on that information components will then be put into lower or higher
power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented.
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%package gtk
Summary: GTK GUI for tuned
Requires: %{name} = %{version}-%{release}
Requires: powertop, pygobject3-base, polkit
%description gtk
GTK GUI that can control tuned and provide simple profile editor.
2009-03-03 09:56:17 +00:00
%package utils
Requires: %{name} = %{version}-%{release}
Requires: powertop
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
Summary: Various tuned utilities
%description utils
This package contains utilities that can help you to fine tune and
debug your system and manage tuned profiles.
%package utils-systemtap
2009-03-03 09:56:17 +00:00
Summary: Disk and net statistic monitoring systemtap scripts
Requires: %{name} = %{version}-%{release}
Requires: systemtap
2009-03-03 09:56:17 +00:00
%description utils-systemtap
This package contains several systemtap scripts to allow detailed
2009-03-03 09:56:17 +00:00
manual monitoring of the system. Instead of the typical IO/sec it collects
minimal, maximal and average time between operations to be able to
identify applications that behave power inefficient (many small operations
instead of fewer large ones).
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%package profiles-sap
Summary: Additional tuned profile(s) targeted to SAP NetWeaver loads
Requires: %{name} = %{version}-%{release}
%description profiles-sap
Additional tuned profile(s) targeted to SAP NetWeaver loads.
%package profiles-sap-hana
Summary: Additional tuned profile(s) targeted to SAP HANA loads
Requires: %{name} = %{version}-%{release}
%description profiles-sap-hana
Additional tuned profile(s) targeted to SAP HANA loads.
%package profiles-atomic
Summary: Additional tuned profiles targeted to Atomic
Requires: %{name} = %{version}-%{release}
%description profiles-atomic
Additional tuned profiles targeted to Atomic host and guest.
%package profiles-compat
Summary: Additional tuned profiles mainly for backward compatibility with tuned 1.0
Requires: %{name} = %{version}-%{release}
%description profiles-compat
Additional tuned profiles mainly for backward compatibility with tuned 1.0.
It can be also used to fine tune your system for specific scenarios.
2009-03-03 09:56:17 +00:00
%prep
%setup -q
%patch0 -p1
2009-03-03 09:56:17 +00:00
%build
2009-03-03 09:56:17 +00:00
%install
make install DESTDIR=%{buildroot}
%if 0%{?rhel}
sed -i 's/\(dynamic_tuning[ \t]*=[ \t]*\).*/\10/' %{buildroot}%{_sysconfdir}/tuned/tuned-main.conf
%endif
2010-11-29 11:16:30 +00:00
# conditional support for grub2, grub2 is not available on all architectures
# and tuned is noarch package, thus the following hack is needed
mkdir -p %{buildroot}%{_datadir}/tuned/grub2
mv %{buildroot}%{_sysconfdir}/grub.d/00_tuned %{buildroot}%{_datadir}/tuned/grub2/00_tuned
rmdir %{buildroot}%{_sysconfdir}/grub.d
2009-03-03 09:56:17 +00:00
%post
%systemd_post tuned.service
2009-03-03 09:56:17 +00:00
2012-12-03 10:39:22 +00:00
# convert active_profile from full path to name (if needed)
sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
2012-03-20 13:01:13 +00:00
%preun
%systemd_preun tuned.service
2009-03-03 09:56:17 +00:00
2009-03-03 09:56:17 +00:00
%postun
%systemd_postun_with_restart tuned.service
2009-03-03 09:56:17 +00:00
# conditional support for grub2, grub2 is not available on all architectures
# and tuned is noarch package, thus the following hack is needed
if [ "$1" == "0" ]; then
rm -f %{_sysconfdir}/grub.d/00_tuned || :
fi
%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 || :
%posttrans
# conditional support for grub2, grub2 is not available on all architectures
# and tuned is noarch package, thus the following hack is needed
if [ -d %{_sysconfdir}/grub.d ]; then
cp -a %{_datadir}/tuned/grub2/00_tuned %{_sysconfdir}/grub.d/00_tuned
fi
2009-03-03 09:56:17 +00:00
%files
%defattr(-,root,root,-)
%doc AUTHORS
%doc COPYING
%doc README
%doc doc/TIPS.txt
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%{_datadir}/bash-completion/completions/tuned
%exclude %{python_sitelib}/tuned/gtk
%{python_sitelib}/tuned
2009-03-03 09:56:17 +00:00
%{_sbindir}/tuned
2009-08-04 15:43:24 +00:00
%{_sbindir}/tuned-adm
%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
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%exclude %{_prefix}/lib/tuned/sap-netweaver
%exclude %{_prefix}/lib/tuned/sap-hana
%exclude %{_prefix}/lib/tuned/sap-hana-vmware
%exclude %{_prefix}/lib/tuned/atomic-host
%exclude %{_prefix}/lib/tuned/atomic-guest
%{_prefix}/lib/tuned
2012-12-06 10:15:57 +00:00
%dir %{_sysconfdir}/tuned
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/active_profile
%config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
%{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%{_tmpfilesdir}/tuned.conf
2012-03-20 13:01:13 +00:00
%{_unitdir}/tuned.service
%dir %{_localstatedir}/log/tuned
2012-12-03 10:39:22 +00:00
%dir /run/tuned
%{_mandir}/man5/tuned*
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%{_mandir}/man7/tuned-profiles.7*
%{_mandir}/man8/tuned*
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%dir %{_datadir}/tuned
%{_datadir}/tuned/grub2
2009-03-03 09:56:17 +00:00
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%files gtk
2009-03-03 09:56:17 +00:00
%defattr(-,root,root,-)
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%{_sbindir}/tuned-gui
%{python_sitelib}/tuned/gtk
%{_datadir}/tuned/ui
%{_datadir}/polkit-1/actions/org.tuned.gui.policy
%files utils
%doc COPYING
%{_bindir}/powertop2tuned
%{_libexecdir}/tuned/pmqos-static*
%files utils-systemtap
%defattr(-,root,root,-)
2009-03-03 09:56:17 +00:00
%doc doc/README.utils
2009-08-04 15:43:24 +00:00
%doc doc/README.scomes
2010-07-13 18:32:43 +00:00
%doc COPYING
2009-08-04 15:43:24 +00:00
%{_sbindir}/varnetload
2009-03-03 09:56:17 +00:00
%{_sbindir}/netdevstat
%{_sbindir}/diskdevstat
%{_sbindir}/scomes
%{_mandir}/man8/varnetload.*
%{_mandir}/man8/netdevstat.*
%{_mandir}/man8/diskdevstat.*
%{_mandir}/man8/scomes.*
2009-08-04 15:43:24 +00:00
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%files profiles-sap
%defattr(-,root,root,-)
%{_prefix}/lib/tuned/sap-netweaver
%{_mandir}/man7/tuned-profiles-sap.7*
%files profiles-sap-hana
%defattr(-,root,root,-)
%{_prefix}/lib/tuned/sap-hana
%{_prefix}/lib/tuned/sap-hana-vmware
%{_mandir}/man7/tuned-profiles-sap-hana.7*
%files profiles-atomic
%defattr(-,root,root,-)
%{_prefix}/lib/tuned/atomic-host
%{_prefix}/lib/tuned/atomic-guest
%{_mandir}/man7/tuned-profiles-atomic.7*
%files profiles-compat
%defattr(-,root,root,-)
%{_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
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
%{_mandir}/man7/tuned-profiles-compat.7*
2009-03-03 09:56:17 +00:00
%changelog
* Fri Jan 9 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-3
- fixed KeyError exception in powertop2tuned
* Mon Jan 5 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-2
- remove 00_tuned grub2 template upon tuned uninstall
resolves: rhbz#1178310
* Thu Oct 16 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-1
- new-release
- fixed return code of tuned grub template
resolves: rhbz#1151768
- plugin_bootloader: fix for multiple parameters on command line
related: rhbz#1148711
- tuned-adm: fixed traceback on "tuned-adm list"
resolves: rhbz#1149162
- plugin_bootloader is automatically disabled if grub2 is not found
resolves: rhbz#1150047
- plugin_disk: set_spindown and set_APM made independent
resolves: rhbz#976725
new-release resolves: rhbz#1093883 - fixed traceback if profile cannot be loaded related: rhbz#953128 - powertop2tuned: fixed traceback if rewriting file instead of dir resolves: rhbz#963441 - throughput-performance: altered dirty ratios for better performance resolves: rhbz#1043533 - latency-performance: leaving THP on its default resolves: rhbz#1064510 - used throughput-performance profile on server by default resolves: rhbz#1063481 - network-latency: added new profile resolves: rhbz#1052418 - network-throughput: added new profile resolves: rhbz#1052421 - recommend.conf: fixed config file resolves: rhbz#1069123 - systemd: added cpupower.service conflict resolves: rhbz#1073392 - balanced: used medium_power ALPM policy - added support for >, < assignment modifiers in tuned.conf - handled root block devices - balanced: used conservative CPU governor resolves: rhbz#1124125 - plugins: added selinux plugin - plugin_net: added nf_conntrack_hashsize parameter - profiles: added atomic-host profile resolves: rhbz#1091977 - profiles: added atomic-guest profile resolves: rhbz#1091979 - moved profile autodetection from post install script to tuned daemon resolves: rhbz#1144067 - profiles: included sap-hana and sap-hana-vmware profiles - man: structured profiles manual pages according to sub-packages - added missing hdparm dependency resolves: rhbz#1144858 - improved error handling of switch_profile resolves: rhbz#1068699 - tuned-adm: active: detect whether tuned deamon is running related: rhbz#1068699 - removed active_profile from RPM verification resolves: rhbz#1104126 - plugin_disk: readahead value can be now specified in sectors resolves: rhbz#1127127 - plugins: added bootloader plugin resolves: rhbz#1044111 - plugin_disk: added error counter to hdparm calls - plugins: added scheduler plugin resolves: rhbz#1100826 - added tuned-gui
2014-10-01 19:07:19 +00:00
* Wed Oct 1 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-1
- new-release
resolves: rhbz#1093883
- fixed traceback if profile cannot be loaded
related: rhbz#953128
- powertop2tuned: fixed traceback if rewriting file instead of dir
resolves: rhbz#963441
- throughput-performance: altered dirty ratios for better performance
resolves: rhbz#1043533
- latency-performance: leaving THP on its default
resolves: rhbz#1064510
- used throughput-performance profile on server by default
resolves: rhbz#1063481
- network-latency: added new profile
resolves: rhbz#1052418
- network-throughput: added new profile
resolves: rhbz#1052421
- recommend.conf: fixed config file
resolves: rhbz#1069123
- systemd: added cpupower.service conflict
resolves: rhbz#1073392
- balanced: used medium_power ALPM policy
- added support for >, < assignment modifiers in tuned.conf
- handled root block devices
- balanced: used conservative CPU governor
resolves: rhbz#1124125
- plugins: added selinux plugin
- plugin_net: added nf_conntrack_hashsize parameter
- profiles: added atomic-host profile
resolves: rhbz#1091977
- profiles: added atomic-guest profile
resolves: rhbz#1091979
- moved profile autodetection from post install script to tuned daemon
resolves: rhbz#1144067
- profiles: included sap-hana and sap-hana-vmware profiles
- man: structured profiles manual pages according to sub-packages
- added missing hdparm dependency
resolves: rhbz#1144858
- improved error handling of switch_profile
resolves: rhbz#1068699
- tuned-adm: active: detect whether tuned deamon is running
related: rhbz#1068699
- removed active_profile from RPM verification
resolves: rhbz#1104126
- plugin_disk: readahead value can be now specified in sectors
resolves: rhbz#1127127
- plugins: added bootloader plugin
resolves: rhbz#1044111
- plugin_disk: added error counter to hdparm calls
- plugins: added scheduler plugin
resolves: rhbz#1100826
- added tuned-gui
* Thu Mar 6 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-3
- added kernel-tools requirement
resolves: rhbz#1072981
* Fri Nov 8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-2
- fixed race condition in the start/stop code
resolves: rhbz#1028119
- improved tuned responsiveness
resolves: rhbz#1028122
* Wed Nov 6 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.3.0-1
- new-release
resolves: rhbz#1020743
- audio plugin: fixed audio settings in standard profiles
resolves: rhbz#1019805
- video plugin: fixed tunings
- daemon: fixed crash if preset profile is not available
resolves: rhbz#953128
- man: various updates and corrections
- functions: fixed usb and bluetooth handling
- tuned: switched to lightweighted pygobject3-base
- daemon: added global config for dynamic_tuning
resolves: rhbz#1006427
- utils: added pmqos-static script for debug purposes
resolves: rhbz#1015676
- throughput-performance: various fixes
resolves: rhbz#987570
- tuned: added global option update_interval
- plugin_cpu: added support for x86_energy_perf_policy
resolves: rhbz#1015675
- dbus: fixed KeyboardInterrupt handling
- plugin_cpu: added support for intel_pstate
resolves: rhbz#996722
- profiles: various fixes
resolves: rhbz#922068
- profiles: added desktop profile
resolves: rhbz#996723
- tuned-adm: implemented non DBus fallback control
- profiles: added sap profile
- tuned: lowered CPU usage due to python bug
resolves: rhbz#917587
* Tue Mar 19 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-1
- new-release:
- cpu plugin: fixed cpupower workaround
- cpu plugin: fixed crash if cpupower is installed
* Fri Mar 1 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.1-1
- new release:
- audio plugin: fixed error handling in _get_timeout
- removed cpupower dependency, added sysfs fallback
- powertop2tuned: fixed parser crash on binary garbage
resolves: rhbz#914933
- cpu plugin: dropped multicore_powersave as kernel upstream already did
- plugins: options manipulated by dynamic tuning are now correctly saved and restored
- powertop2tuned: added alias -e for --enable option
- powertop2tuned: new option -m, --merge-profile to select profile to merge
- prefer transparent_hugepage over redhat_transparent_hugepage
- recommend: use recommend.conf not autodetect.conf
- tuned.service: switched to dbus type service
resolves: rhbz#911445
- tuned: new option --pid, -P to write PID file
- tuned, tuned-adm: added new option --version, -v to show version
- disk plugin: use APM value 254 for cleanup / APM disable instead of 255
resolves: rhbz#905195
- tuned: new option --log, -l to select log file
- powertop2tuned: avoid circular deps in include (one level check only)
- powertop2tuned: do not crash if powertop is not installed
- net plugin: added support for wake_on_lan static tuning
resolves: rhbz#885504
- loader: fixed error handling
- spec: used systemd-rpm macros
resolves: rhbz#850347
2013-01-28 17:21:58 +00:00
* Mon Jan 28 2013 Jan Vcelak <jvcelak@redhat.com> 2.2.0-1
- new release:
- remove nobarrier from virtual-guest (data loss prevention)
- devices enumeration via udev, instead of manual retrieval
- support for dynamically inserted devices (currently disk plugin)
- dropped rfkill plugins (bluetooth and wifi), the code didn't work
* Wed Jan 2 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 2.1.2-1
- new release:
- systemtap {disk,net}devstat: fix typo in usage
- switched to configobj parser
- latency-performance: disabled THP
- fixed fd leaks on subprocesses
2012-12-06 10:15:57 +00:00
* Thu Dec 06 2012 Jan Vcelak <jvcelak@redhat.com> 2.1.1-1
- fix: powertop2tuned execution
- fix: ownership of /etc/tuned
2012-12-03 10:39:22 +00:00
* Mon Dec 03 2012 Jan Vcelak <jvcelak@redhat.com> 2.1.0-1
- new release:
- daemon: allow running without selected profile
- daemon: fix profile merging, allow only safe characters in profile names
- daemon: implement missing methods in DBus interface
- daemon: implement profile recommendation
- daemon: improve daemonization, PID file handling
- daemon: improved device matching in profiles, negation possible
- daemon: various internal improvements
- executables: check for EUID instead of UID
- executables: run python with -Es to increase security
- plugins: cpu - fix cpupower execution
- plugins: disk - fix option setting
- plugins: mounts - new, currently supports only barriers control
- plugins: sysctl - fix a bug preventing settings application
- powertop2tuned: speedup, fix crashes with non-C locales
- powertop2tuned: support for powertop 2.2 output
- profiles: progress on replacing scripts with plugins
- tuned-adm: bash completion - suggest profiles from all supported locations
- tuned-adm: complete switch to D-bus
- tuned-adm: full control to users with physical access
* Mon Oct 08 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.2-1
- New version
- Systemtap scripts moved to utils-systemtap subpackage
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jun 12 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.1-3
- another powertop-2.0 compatibility fix
Resolves: rhbz#830415
* Tue Jun 12 2012 Jan Kaluza <jkaluza@redhat.com> - 2.0.1-2
- fixed powertop2tuned compatibility with powertop-2.0
2012-04-03 17:33:59 +00:00
* Tue Apr 03 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.1-1
- new version
* Fri Mar 30 2012 Jan Vcelak <jvcelak@redhat.com> 2.0-1
- first stable release