1
0
Fork 0
Commit graph

27 commits

Author SHA1 Message Date
Jaroslav Škarvada
7d8a94289a Makefile: simplifies DESTDIR and fixed // in path
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-04-23 15:27:03 +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
829b347949 Makefile: docdir can be overridden
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-10-01 17:44:23 +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
de1bb42821 Makefile, plugin_net: various improvements
- replaced bash loops with GNU Make loops (can now run in parallel)
- preserved original file timestamps during installation
- used install -D instead of mkdir -p
- fixed typo in plugin_net that caused error during byte compilation

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-09-29 17:49:33 +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
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
fb8536e12c Makefile: added compatibility for non RPM systems
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-04-25 13:46:52 +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
d3e708019b Makefile: use non versioned directory for docs
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 17:02:42 +01: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
3d95e77f78 implemented recommend profile functionality
resolves: rhbz#848935
2012-11-29 10:25:05 +01:00
Jan Vcelak
94f24ae120 profiles.loader: new code, unit tests 2012-10-26 17:59:28 +02:00
Jaroslav Škarvada
135e19f654 Use /run instead of /var/run 2012-10-25 12:05:16 +02:00
Jan Kaluza
063e3eda6b Install tuned python module into proper directory 2012-10-10 11:02:56 +02:00
Jaroslav Škarvada
5b18ad20fd Makefile: Added automatic detection for unitdir
Now it is no problem to build for systems with and
without /UsrMove.
2012-05-16 17:18:28 +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
Jan Vcelak
fead260bc3 first stable 2.0 release 2012-03-30 14:37:17 +02:00
Jaroslav Škarvada
f2fa467a12 tuned: added balanced profile and it is the default now
tuned: moved default profile into profiles-compat
2012-03-30 12:53:43 +02:00
Jaroslav Škarvada
e79e3fa0db utils: tuned_powertop_profile renamed to powertop2tuned
utils: powertop2tuned changed cmdline options and several minor fixes
tuned: removed accidentaly pushed tuned-2.0/profiles/functions
tuned: some minor modifications
2012-03-30 12:33:50 +02:00
Jaroslav Škarvada
c83d0aa507 Makefile: fixed build 2012-03-29 01:02:10 +02:00
Jaroslav Škarvada
abde247cb8 Added bash-completion for tuned-adm 2012-03-29 00:48:58 +02:00
Jaroslav Škarvada
ae3f629827 tuned: config file suffix changed to .conf
profiles: config files renamed to end with .conf
man: minor update of tuned.conf.5
Makefile: install tuned_powertop_profile.py script
2012-03-28 16:26:18 +02:00
Jan Kaluza
62e22ac8c0 Install tuned-adm 2012-03-22 08:03:21 +01:00
Jan Vcelak
70bdf7fb9a create Makefile for source codes management 2012-03-12 17:53:06 +01:00