1
0
Fork 0
Commit graph

11 commits

Author SHA1 Message Date
Jan Zerdik
063277a05b Removing dependency on python-configobj.
Resolves: rhbz#1936386

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2021-08-18 10:28:27 +02:00
Jaroslav Škarvada
16d4acbaca
Project renamed to TuneD
The 'D' is now capital to clarify pronunciation.

DBus service name is kept as '/Tuned' not to break
backward compatibility.

This will also need update of downstream tests
which rely on the specific output strings containing
the name.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-05-17 22:09:02 +02:00
Ondřej Lysoněk
b57f054581 recommend.conf: Describe syspurpose_role and chassis_type
Describe syspurpose_role and chassis_type in the documentation in
recommend.conf

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-24 17:32:14 +02:00
Ondřej Lysoněk
fed1e4d1f6 Mark a comment in recommend.conf
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-07-04 15:39:44 +02:00
Jaroslav Škarvada
5a2ea01f71
recommend: added support for matching of processes
E.g.:

[myprofile]
process=myprocess1
process2=myprocess2.*

The myprofile will be recommended if there are 'myprocess1' and
'myprocess2.*' (e.g. myprocess2, myprocess21, myprocess2_whatever)
running.

Resolves: rhbz#1461838

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-06-15 17:59:58 +02:00
Jaroslav Škarvada
b57f5a1652 recommend: profile can be specified multiple times by using suffix
It needs to use unique ',ANYSTRING' suffix, everything after the last ','
will be stripped by the parser, e.g.:

[balanced,1]
/FILE1=RE1

[balanced,2]
/FILE2=RE2

This will set 'balanced' profile in case there is FILE1 matching RE1 or
FILE2 matching RE2 or both. There is no need to use the suffix
if the profile is specified only once.

Also improved description in the recommend.conf.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-07-31 18:30:36 +02:00
Jaroslav Škarvada
df25bb8775 recommend: added generic file check
Example of recommend.conf content:

[powersave]
/etc/machine.conf=.*laptop.*

This will recommend powersave profile if there is /etc/machine.conf containing
string 'laptop'. The check will not match if the file doesn't exist.

To just check for file existence:

[powersave]
/etc/machine.conf=.*

This will match if there is /etc/machine.conf file.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-10 17:11:49 +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
ae421ec877 recommend: fixed config file
Resolves: rhbz#1069123

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-03-03 15:48:52 +01:00
Jaroslav Škarvada
c43574437d tuned: used throughput-performance profile on server by default
Resolves: rhbz#1063481

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2014-02-14 12:48:05 +01:00
Jaroslav Škarvada
3d95e77f78 implemented recommend profile functionality
resolves: rhbz#848935
2012-11-29 10:25:05 +01:00