1
0
Fork 0
Commit graph

63 commits

Author SHA1 Message Date
Jaroslav Škarvada
b1da643ad5 Makefile: added support for nightly development builds
It is supported by 'nightly' makefile target. It creates
snapshot from the GIT HEAD, makes mockbuild,
creates repo and uploads result on the fedorapeople.

Also fixed makefile to support parallel builds, added
couple of hopefully useful targets, implemented local
RPM build target 'rpm'.

Other targets (e.g. 'srpm') can be also used to work
with snapshots. It is controlled by BUILD makefile
varible. If set to 'release' normal release is done.
If set to anything else (e.g. 'snapshot') snapshot
is done.

There is also support for GIT snapshots in the upstream
provided SPEC file. Snapshot build is done if
built with '--with snapshot', normal (release) build
is done otherwise.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-29 17:18:49 +02:00
Jaroslav Škarvada
fb96ce1d44 spec: add git suffix to release number
By default build as development release with build date and git suffix
added to the release number. Build without this suffix if built
--with release

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-28 17:21:50 +02:00
Jaroslav Škarvada
0bfeee763a plugin_bootloader: do not add tuned boot command line parameters to rescue kernels
Accomplished by switch from GRUB_CMDLINE_LINUX to GRUB_CMDLINE_LINUX_DEFAULT
in /etc/default/grub

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-21 13:47:04 +02:00
Jaroslav Škarvada
6c904d6b89 spec: added conditionals for versioned DOCDIR
This is to support RHEL <= 7.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-05-18 19:25:40 +02:00
Jaroslav Škarvada
15dc0865f0 Fixed bash completion
Resolves: rhbz#1207668

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-04-01 18:13:10 +02:00
Jaroslav Škarvada
875087af9b new release (2.4.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-17 00:57:34 +02:00
Jaroslav Škarvada
f9486bc08d plugin_bootloader: added check for grub2
The plugin_bootloader is automatically disabled if the grub2 is not found.

Resolves: rhbz#1150047

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-10 16:32:43 +02:00
Jaroslav Škarvada
8210b0d40c new release (2.4.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 18:44:30 +02:00
Jaroslav Škarvada
34a9bc42f5 Added tuned-gui
Main implementation was done by Marek Staňa.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 16:16:45 +02:00
Jaroslav Škarvada
bf42cb9ba3 plugins: added scheduler plugin
Currently it is substitution for the rtctl tool,
but there are small differences in the syntax.

Format for the rules is:

group.GROUPNAME=RULE_PRIO:SCHED:PRIO:AFFINITY:REGEX

where RULE_PRIO defines tuned priority of the
rule. Rules are sorted according to priority.
This is needed for inheritence to be able
to reorder previously defined rule. For same
RULE_PRIO, rules should be processed in the order
there were defined (but this is Python interpreter
dependant). To disable inherited rule for GROUPNAME
use:

group.GROUPNAME=

SCHED must be one of:
 'f' for FIFO,
 'b' for batch,
 'r' for round robin,
 'o' for other,
 '*' means not to change.

AFFINITY is a hex number, see taskset(1) for details
about number of CPUs. The '*' means not to change.

REGEX is Python regex. It must match against output of

  ps -eo cmd

Any given process name may match more than one group.
Default priority and scheduling policy are taken from
the last matching rege.

You need to write 'group.' prefix before your
group name. This is because there may be added
other parameters to the plugin later.

Example of usage:

[scheduler]
group.kthreads=0:*:1:*:\[.*\]$
group.watchdog=0:f:99:*:\[watchdog.*\]

Resolves: rhbz#1100826

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 00:41:03 +02:00
Jaroslav Škarvada
5b8a2d2e8e plugins: added bootloader plugin
This plugin can be used to add parameters to kernel (boot/dracut)
command line. Currently only grub2 bootloader is used and reboot
is required to apply the tunings. The tuning can be only unloaded
by profile change followed by reboot.

It patches grub.cfg at runtime and installs /etc/grub.d/00_tuned
grub2 template. So it's possible to regenerate grub.cfg by
grub2-mkconfig and the tuning persists.

It also patches /etc/default/grub and adds tuned_params grub2 variable
to GRUB_CMDLINE_LINUX. This is probably the only way how to get
variables into kernel command line in grub.cfg. Nothing else is added to
/etc/default and it's patched if the plugin is used for the first
time. It's re-patched on plugin initialization only if the tuned_params
variable is missing.

On subsequent invocation only the tuned_params grub2 variable and
grub.cfg are changed.

Example of use:

[bootloader]
cmdline=quiet

This adds "quiet" parameter to the kernel boot command line (reboot
is required).

EFI is also supported. By default it autodetects redhat and fedora
directories (in this order). Nothing else is touched. If you have
different EFI system and your grub.cfg location is not auto-detected
or your grub.cfg is located on different place you can specify
the grub.cfg location manually:

[bootloader]
grub2_cfg_file=CUSTOM_PATH/grub.cfg
cmdline=quiet

This has precedence over auto-detection. This is used for runtime
patching. In case it is not set correctly, the grub.cfg patching
will not work, but you can still regenerate the config by hand by
grub2-mkconfig.

Resolves: rhbz#1044111

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-29 16:33:56 +02:00
Jaroslav Škarvada
d7fbd7a056 spec: removed active_profile from RPM verification
Resolves: rhbz#1104126

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-24 19:35:39 +02:00
Jaroslav Škarvada
7b4c1e330d spec: added missing hdparm dependency
Resolves: rhbz#1144858

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-23 12:22:13 +02:00
Jaroslav Škarvada
c07691cdfb man: structured profiles manual pages according to sub-packages
In this way only the installed profiles are described in the installed
manual pages. I.e. base profiles are now described in the tuned-profiles.7
manual page and profiles for the Project Atomic are now described
in the tuned-profiles-atomic.7 manual page. Simalarly for the SAP and
compat profiles.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-23 12:10:29 +02:00
Jaroslav Škarvada
a4b1a50389 profiles: included sap-hana and sap-hana-vmware profiles
These profiles are performance optimized for SAP HANA loads.
There are available in tuned-profiles-sap-hana subpackage.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-19 17:11:44 +02:00
Jaroslav Škarvada
6c45d00656 moved profile autodetection from post install script to tuned daemon
The file system image containing tuned can be prepared offline, thus we
need to check the configuration on the first run. This is also more
clean solution than the previous post install hack.

Resolves: rhbz#1144067

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-19 13:32:59 +02:00
Jaroslav Škarvada
d01e045fbd profiles: sap profile renamed to sap-netweaver
This profile is performance optimized for running SAP NetWeaver
based applications on bare metal.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-18 17:31:12 +02:00
Jaroslav Škarvada
0aea276128 plugins: added atomic-host and atomic-guest profiles
Resolves: rhbz#1091977
Resolves: rhbz#1091979

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-08-27 14:20:28 +02:00
Jaroslav Škarvada
555abc2153 spec: packaged sap profile into tuned-profiles-sap subpackage
It's optional and there may be more SAP profiles in the future,
hus it's better to have special subpackage for it.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-08-26 15:03:10 +02:00
Per Øyvind Karlsen (proyvind)
393708d974 fix install locations of tmpfiles & bash-completion
Signed-off-by: Per Øyvind Karlsen (proyvind) <proyvind@moondrake.org>
2014-04-25 13:35:32 +02:00
Jaroslav Škarvada
4335059206 spec: added kernel-tools requirement
Resolves: rhbz#1073008

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-03-06 10:48:57 +01:00
Jaroslav Škarvada
52ba438c5e new release (2.3.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 13:11:11 +01:00
Jaroslav Škarvada
35a3eb2398 profiles: added sap profile
fixes #38

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 11:51:50 +01:00
Jaroslav Škarvada
f070213c64 utils: fixed packaging of pmqos-static
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 14:34:00 +02:00
Jaroslav Škarvada
1e0416fbf4 utils: added pmqos-static script for debug purposes
resolves: rhbz#1015676

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 11:06:42 +02:00
Jaroslav Škarvada
f8d89a78c0 refs #40, daemon: added global config for dynamic_tuning
Added initial global config (/etc/tuned/tuned-main.conf) and
possibility to globally enable / disable dynamic tunings.

resolves: rhbz#1006427

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-15 15:34:55 +02:00
Jaroslav Škarvada
15ec06ae14 tuned: switched to lightweighted pygobject3-base
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-07-25 18:37:59 +02:00
Jaroslav Škarvada
22781a6180 new release (2.2.2)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-03-19 16:41:15 +01:00
Jaroslav Škarvada
2b8035587e new release (2.2.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-03-01 12:16:19 +01:00
Jaroslav Škarvada
518c383ff2 spec: removed cpupower dependency
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-03-01 11:17:47 +01:00
Jaroslav Škarvada
9dd7994ca6 powertop2tuned: do not crash if powertop is not installed
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-14 17:23:27 +01:00
Jaroslav Škarvada
aa30d5e165 net plugin: added support for wake_on_lan static tuning
resolves: rhbz#885504

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-02-14 15:20:59 +01:00
Jaroslav Škarvada
8e80acd04c spec: used systemd-rpm macros
resolves: rhbz#850347
2013-02-14 10:54:10 +01:00
Jan Vcelak
acba72b2c7 new release (2.2.0) 2013-01-28 18:08:49 +01:00
Jan Vcelak
68992725f2 spec: add python-udev requirement 2013-01-11 15:14:54 +01:00
Jaroslav Škarvada
db5c361b3f new release (2.1.2) 2013-01-02 16:45:15 +01:00
Jaroslav Škarvada
677458c174 switched to configobj parser
Patch by: Fabrice Bellet <fabrice@bellet.info>
Resolves: rhbz#885500

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2012-12-10 11:20:45 +01:00
Jan Vcelak
aba4392209 new release (2.1.1) 2012-12-06 11:09:56 +01:00
Jan Vcelak
ce32245d6f spec: claim ownership of /etc/tuned 2012-12-04 15:05:55 +01:00
Jan Vcelak
f0f0f933d7 release 2.1.0 2012-12-03 11:33:37 +01:00
Jaroslav Škarvada
7e7685ac9b spec: added virt-what requirement 2012-11-29 12:06:16 +01:00
Jaroslav Škarvada
3d95e77f78 implemented recommend profile functionality
resolves: rhbz#848935
2012-11-29 10:25:05 +01:00
Jan Vcelak
33241b58e3 spec: change license to more precise GPLv2+ 2012-11-28 11:59:54 +01:00
Jaroslav Škarvada
09c8d3e469 spec: fixed run directory location 2012-10-29 16:03:35 +01:00
Jaroslav Škarvada
17564fdc19 spec: active_profile converted from full path to name in %post 2012-10-29 15:52:31 +01:00
Jaroslav Škarvada
af580048aa spec: added cpupower as requirement 2012-10-29 15:52:31 +01:00
Jaroslav Škarvada
73239e4d5e New 2.0.2 release 2012-10-10 23:23:16 +02:00
Jaroslav Škarvada
c9dc3c78d4 Tuned: various build fixes 2012-05-16 17:15:14 +02:00
Jan Vcelak
b54920a014 dbus: attach to system bus 2012-05-07 17:56:02 +02:00
Jaroslav Škarvada
72ae0d67c2 spec: added missed requirements (rhbz#818849) 2012-05-07 14:45:31 +02:00