1
0
Fork 0
Commit graph

1632 commits

Author SHA1 Message Date
Jaroslav Škarvada
d1a87d5fd4
Merge branch 'master' into syspurpose-optional 2022-02-02 22:43:43 +01:00
Jaroslav Škarvada
5caeb5b236
Merge pull request #391 from yarda/centos-no-subscription-manager
spec: do not require subscription-manager on CentOS
2022-02-02 22:39:31 +01:00
Jaroslav Škarvada
b50356a64b
Merge pull request #400 from yarda/spec-cleanup
spec: drop obsoleted defattr and use autosetup macro
2022-02-02 22:36:23 +01:00
Jaroslav Škarvada
41fba026c5
Merge pull request #402 from yarda/readme-conflicts
readme: mention conflicting cpupower and power-profiles-daemon
2022-02-02 22:35:52 +01:00
Jaroslav Škarvada
150dfb81a1
Merge pull request #405 from yarda/ci-epel-7
ci: added epel-7 target (for python-2.7)
2022-02-02 22:35:26 +01:00
Jaroslav Škarvada
0c7d781f74
Merge pull request #406 from yarda/cstate-id-no-zero
profiles: use cstate.id_no_zero instead of the cstate.id
2022-02-02 22:34:33 +01:00
Jaroslav Škarvada
33d80ac34d
Merge pull request #407 from yarda/systemd-failure-no-full-rollback
daemon: don't do full rollback on systemd failure
2022-02-02 22:34:02 +01:00
Jaroslav Škarvada
2b470c5298
Merge pull request #408 from yarda/s390x-remove-tuned-variables
bootloader: on s390(x) remove TuneD variables from the BLS
2022-02-02 22:32:19 +01:00
Jaroslav Škarvada
ce4ffba554
Merge pull request #403 from CZerta/net_txqueuelen_support
Adding option "txqueuelen" to net_plugin
2022-02-02 13:33:30 +01:00
Jaroslav Škarvada
67d8747971
spec: drop obsoleted defattr and use autosetup macro
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-02 13:14:18 +01:00
Jan Zerdik
ef056efabd Adding option "txqueuelen" to net_plugin
Resolves: rhbz#2015044

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2022-02-02 11:48:25 +01:00
Jaroslav Škarvada
a0bc046fc9
bootloader: on s390(x) remove TuneD variables from the BLS
Resolves: rhbz#1978786

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-01 22:30:14 +01:00
Jaroslav Škarvada
0a2a753770 daemon: don't do full rollback on systemd failure
Resolves: rhbz#2011459

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-01 21:57:35 +01:00
Jaroslav Škarvada
830d7b2d8d
profiles: use cstate.id_no_zero instead of the cstate.id
Related: rhbz#2034069
Related: rhbz#2002744

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-01 18:35:17 +01:00
Jaroslav Škarvada
b53e49d0fb
Merge pull request #404 from CZerta/cpu_cstate_no_zero
Expanding cpu plugin force_latency option syntax
2022-02-01 18:12:44 +01:00
Jaroslav Škarvada
e5f536130c
ci: added epel-7 target (for python-2.7) and centos-9
Dropped centos-stream-8, because it's mostly covered by epel-8.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-02-01 17:57:21 +01:00
Jaroslav Škarvada
196605b505
Merge pull request #395 from CZerta/disk_plugin_nvme
Adding support for nvme subsystem block devices
2022-02-01 17:27:00 +01:00
Jan Zerdik
fc0dbea0db Expanding cpu plugin force_latency option syntax
Adding "cstate.id_no_zero:X" and "cstate.name_no_zero:X" syntax to force_latency option that skips given cstate if its latency is 0.

Resolves: rhbz#2034069
Resolves: rhbz#2002744

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2022-02-01 00:58:37 +01:00
Jaroslav Škarvada
e8117075f7
Merge pull request #399 from yarda/log-version
application: log TuneD and kernel version
2022-01-21 00:30:45 +01:00
Jan Zerdik
e6dda32f70 Adding support for nvme subsystem block devices and adding tests so it won't throw errors on hdparms commands.
Resolves: rhbz#1854816

Signed-off-by: Jan Zerdik <jzerdik@redhat.com>
2022-01-18 12:20:05 +01:00
Jaroslav Škarvada
da88465126
Merge pull request #358 from jtval/docsupdate-pv2
Implementing steps to sync docs repos
2022-01-17 17:30:13 +01:00
Jaroslav Škarvada
f9ae0ccfc5
Merge pull request #385 from RHEmployee/add-tests
beakerlibtests: add new test
2022-01-17 13:20:08 +01:00
Robin Hack
9bf602afba beakerlibtests: add new test
Add slowdown for centos stream -
systemd failure:
Active: failed (Result: start-limit-hit)
2022-01-17 06:27:57 -05:00
Jaroslav Škarvada
c34a0e8a36
Merge pull request #401 from jmencak/rhbz2017924
Fix improper parsing of include directive
2022-01-17 12:14:38 +01:00
Jiri Mencak
0cc4d57740 Fix improper parsing of include directive
Resolves rhbz#2017924

Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2022-01-17 10:36:50 +01:00
Jaroslav Škarvada
91dd968da3
application: log TuneD and kernel version
This may help with diagnosis of the problems, especially from
downstreams different than Fedora / RHEL.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-17 01:05:33 +01:00
Jaroslav Škarvada
77f5349936
Merge pull request #398 from yarda/python-2.7-getargspec-fix
dbus: fix traceback on python-2.7
2022-01-17 00:47:34 +01:00
Jaroslav Škarvada
37614bfce8
new release (2.17.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-16 23:33:38 +01:00
Jaroslav Škarvada
05c9a8dc60
readme: mention conflicting cpupower and power-profiles-daemon
Also updated instructions to use dnf instead of the yum.

Related: #396

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-16 23:24:59 +01:00
Jaroslav Škarvada
90c676243f
dbus: fix traceback on python-2.7
The code which replaced python-decorator introduced python-2.7
incompatibility. The getfullargspec() from the inspect module is drop in
replacement for the getargspec() and both return the named tuple. Thus
the args member has to be extracted the same way in both cases
(python 2/3).

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-10 20:48:05 +01:00
Jaroslav Škarvada
bc71399a97
new release (2.17.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-02 22:38:56 +01:00
Jaroslav Škarvada
61e6210fec
Merge pull request #392 from yarda/no-balance-cores-fix
cpu_partitioning: fixed no_balance_cores on newer kernels
2022-01-02 20:50:12 +01:00
Jaroslav Škarvada
83ee596ef2
cpu_partitioning: fixed no_balance_cores on newer kernels
I.e. kernels without the SD_LOAD_BALANCE.

Resolves: rhbz#1874596

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-01-02 20:13:30 +01:00
Jaroslav Škarvada
7d62870d7d
Merge pull request #389 from jmencak/cond-profile-loading
Add conditional profile loading
2021-12-08 23:37:59 +01:00
Jaroslav Škarvada
08f3dbca97
Merge pull request #386 from jmencak/openshift-profile-runtime0
openshift profile: workaround high CPU utilization of [scheduler] plug-in
2021-12-08 23:37:17 +01:00
Jaroslav Škarvada
1cb641bd18
Merge pull request #331 from jmencak/ksmtuned-no-errors
Prevent unnecessary ksm* error log messages.
2021-12-08 23:05:01 +01:00
Jaroslav Škarvada
ebb8096e71 spec: do not require subscription-manager on CentOS
Resolves: rhbz#2028865

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-12-06 12:43:42 +01:00
Jiri Mencak
2cc251c3f1 Add conditional profile loading
Normally, inclusion of any profile that is not found in profile
directories (/etc/tuned and /usr/lib/tuned) will fail at profile
application time.

Conditional profile loading can be useful in situations we do not
necessarily expect a certain included profile to exist.  Profile
application failures are undesirable in such cases.  Augment the
TuneD profile hierarchies by adding a functionality to conditionally
include a profile by prefixing its name by '-' symbol.

Example:
[main]
summary=An example TuneD profile demonstrating conditional loading
include=-profile1,profile2

In this example, the profile "profile1" is conditionally loaded/included
and no error/failure will be reported if the profile does not exist.
Then, the profile "profile2" is unconditionally loaded and errors will be
reported if it is not found in profile directories.

Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2021-10-27 16:38:52 +02:00
Jaroslav Škarvada
3f4ef89f7d
Merge pull request #384 from RHEmployee/sync-with-upstr-guide
Tests: Be in sync with upstreaming guide.
2021-10-19 01:22:44 +02:00
Jiri Mencak
e25d5b4294 openshift profile: workaround high CPU utilization of [scheduler] plug-in.
The [scheduler] plug-in can be very CPU intensive, especially on the
OpenShift platform.  The bug for this issue is tracked by rhbz#1921738.
Until this is fixed, work around this problem in the openshift
parent profile by adding "runtime=0" [scheduler] plug-in option.

Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2021-10-13 19:04:04 +02:00
Robin Hack
00a9d5cde4 Tests: Be in sync with upstreaming guide. 2021-10-13 05:21:08 -04:00
Jaroslav Škarvada
c16cabfa92
spec: made syspurpose requirement optional
Related: #339

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-09-30 20:37:38 +02:00
Jaroslav Škarvada
bcbf2a5489
Merge pull request #375 from CZerta/configobj_removal
Removing dependency on python-configobj.
2021-08-19 00:47:56 +02:00
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
88240b5971
Merge pull request #376 from jmencak/tuned-profiles-openshift
Add OpenShift profiles.
2021-08-04 11:50:29 +02:00
Jiri Mencak
ee3773c62d Add OpenShift profiles.
Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2021-08-02 16:53:53 +02:00
Jaroslav Škarvada
7ba8d5d694
Merge pull request #368 from yarda/scheduler-ps-cgroup-blacklist
scheduler: new option cgroup_ps_blacklist
2021-07-23 11:29:12 +02:00
Jaroslav Škarvada
438ff4f899
scheduler: new option cgroup_ps_blacklist
This option allows skipping processes belonging to the blacklisted
cgroups. It matches the regular expression against items from the
/proc/PID/cgroups. Items/lines from the /proc/PID/cgroups are separated
by commas ','. Each item consists of the:
hierarchy-ID:controller-list:cgroup-path

Example of the content on which the regular expression is run:
10:hugetlb:/,9:perf_event:/,8:blkio:/

For cgroups v2 the hierarchy-ID is 0 and the controller-list is ''.
For details see man cgroups.7. The only difference from the man
cgroups.7 is that it uses commas for separation of the items instead
of the new lines. The commas are added by the python-linux-procfs
(it's the behavior of the python-linux-procfs-0.6.3).

Multiple regular expressions can be separated by the semicolon ';'.

Examples:
[scheduler]
isolated_cores=1
cgroup_ps_blacklist=:/daemons\b

It will move all processes away from the core 1 except processes which
belongs to the cgroup '/daemons'. The '\b' is regular expression
metacharacter that matches word boundary (i.e. it matches only
'/daemons', not e.g. '/daemonset' or '/group/daemons'). In this example
we do not care about the hierarchy-ID and the controller-list.

[scheduler]
isolated_cores=1
cgroup_ps_blacklist=\b8:blkio:/,|$

In this example it skips processes belonging to the cgroup '/',
with hierarchy-ID 8 and controller-list blkio. The ',|$' is needed
because the '\b' matches word boundary and the non-alphanumeric
character '/' is not taken as a word, thus the '\b' will not match there.

[scheduler]
isolated_cores=1
cgroup_ps_blacklist=:/daemons\b;:/test\b

In this example two regular expressions are used which tries to match
'/daemons' and '/test' cgroup-path. If either matches (i.e. the OR operator),
the process is skipped (i.e. not moved away from the core 1).

Resolves: rhbz#1980715

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-07-23 10:55:00 +02:00
Jaroslav Škarvada
e4733cdb63
new release (2.16.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-07-21 20:41:55 +02:00
Jaroslav Škarvada
be5d8d60fd
Merge pull request #373 from jmencak/skip_grub_config_true_false
bootloader: make skip_grub_config consistent with initrd_remove_dir
2021-07-21 20:31:13 +02:00