1
0
Fork 0
Commit graph

17 commits

Author SHA1 Message Date
Jaroslav Škarvada
b2cc6189f8
profiles: consolidated summaries
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-04-03 22:52:18 +02:00
Jaroslav Škarvada
c24e2ea0ca Added support for 'summary' and 'description' of profiles
Added new tuned-adm functionality 'profile_info'. It has optional parameter
'profile_name'. If called without parameter, active profile is used.
It outputs name of the profile it is querying, profile summary, and profile
description. If there is no profile summary or description available it
outputs empty string(s).

Extended tuned-adm 'list' functionality. It now displays profile summary
in the list (if available).

Added summary to profiles.

Extended D-Bus API to support the new feature and for better Cockpit support:
 - Added 'profile_info' method. It gets profile_name argument and it queries
   the requested profile for information. If profile_name is empty string it
   queries the active/selected profile. It returns tuple of the following
   format (status, profile_name, summary, description), where status is
   boolean. If it is False, the query mechanism failed and the other fields
   don't contain valid data
 - Added 'profiles2' method. It's extension of 'profiles' method. It returns
   list of tuples. Tuples have following format:
   (profile_name, profile_summary)

Related: rhbz#1228356
Fixes: #46

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2016-01-05 11:28:25 +01:00
Jaroslav Škarvada
e2f86d412f plugin_vm: do not set transparent_hugepages if overridden in kernel boot cmdline
Also removed transparent_hugepages from throughput-performance profile.
Added support for 'madvise' setting of transparent_hugepages.

Resolves: rhbz#1189868

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-26 13:48:01 +02:00
Jaroslav Škarvada
1d1c3a389c tuned: Added support for >, < assignment modifiers in tuned.conf
These modifiers can specify when to assign new value considering
the old value.

E.g.:
readahead=>4096

means assign readahead 4096 only if the current value of readahaed
is lower than 4096 (i.e. the readahaed will be at least 4096).

Similarly for the < operator, it will assign the value only
if the current value is higher.

The modifiers are part of the value, not part of the equality
operator, thus the following is correct:
readahead= >4096

But the following isn't correct, but will probably also work
due to the nature how the value is parsed:
readahead=> 4096

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-05-07 17:02:59 +02:00
Jaroslav Škarvada
d5aea87c0b throughput-performance: altered dirty ratios for better performance
Resolves: rhbz#1043533

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-01-07 15:38:26 +01:00
Jaroslav Škarvada
ef339e1b17 profiles: various updates according to feedback from performance team
Related: rhbz#922068

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-06 10:39:01 +01:00
Jaroslav Škarvada
93803c074e profiles: switched from multiplies to hardcoded values
Related: rhbz#922068

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 23:20:12 +01:00
Jaroslav Škarvada
f26e5f58f3 profiles: not disabling barriers
Related: rhbz#922068

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 23:16:16 +01:00
Jaroslav Škarvada
94e383a5ed plugin_cpu: added support for intel_pstate
The following intel_pstate parameters are now supported:
  min_perf_pct
  max_perf_pct
  no_turbo

Resolves: rhbz#996722

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-11-05 22:55:38 +01:00
Jaroslav Škarvada
59e259a3ce plugin_cpu: added support for x86_energy_perf_policy
This feature is controlled by the energy_perf_bias cpu plugin
option.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-23 10:44:24 +02: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
7eb0ad5cdc throughput-performance: added readahead_multiply=4
Also removed this settings from the dependant profiles
where it is no more needed and updated the manual page.

Resolves: rhbz#987570

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2013-10-16 11:20:59 +02:00
Jaroslav Škarvada
6c36daaebf profiles: converted remount with nobarriers from functions to tuned.conf 2012-11-30 17:43:07 +01:00
Jaroslav Škarvada
04e28bc088 profiles: converted some more options from scripts to tuned.conf 2012-11-30 15:55:26 +01:00
Jaroslav Škarvada
701da90a02 functions removal: ported some profiles (not all) 2012-10-10 22:36:49 +02:00
Jaroslav Škarvada
6b349ed91f profiles: called action handler from scripts 2012-03-28 16:54:18 +02:00
Jaroslav Škarvada
f0e955e967 profiles: added profiles converted from tuned 1.0
profiles: added powersave profile
tuned: reduced number of installed profiles, the rest are in compat subpackage
2012-03-28 15:42:56 +02:00