1
0
Fork 0
Commit graph

1433 commits

Author SHA1 Message Date
Jaroslav Škarvada
379fe5e9e5
Merge pull request #269 from yarda/containers-fix
Fixed crash when running inside container
2020-06-04 19:24:36 +02:00
Jaroslav Škarvada
46207f479b
Fixed crash when running inside container
Fixes #267

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-06-04 11:56:21 +02:00
Jaroslav Škarvada
60a9a9509c
Merge pull request #271 from zdohnal/master
.packit.yaml: Use fedora-all and centos-stream targets
2020-05-28 12:39:31 +02:00
Jaroslav Škarvada
b15bedbac2
Merge pull request #266 from yarda/spectrum-scale-ece
spectrumcale-ece: package the profile to own subpackage
2020-05-27 11:54:01 +02:00
Zdenek Dohnal
2c2315a94b .packit.yaml: Use fedora-all and centos-stream targets 2020-05-27 09:53:46 +02:00
Jaroslav Škarvada
e33d9363d9
spectrumcale-ece: package the profile to own subpackage
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-05-19 17:09:19 +02:00
Jaroslav Škarvada
491d133495
Merge pull request #261 from bolinches/master
Spectrum Scale ECE profile
2020-05-11 17:29:39 +02:00
Luis Bolinches
7ce1772a78 Spectrum Scale ECE profile
Signed-off-by: Luis Bolinches <luis.bolinches@fi.ibm.com>
2020-05-11 12:22:39 +03:00
Jaroslav Škarvada
62fb8bbc52
Merge pull request #265 from yarda/network-latency-cmdline-use-unique-suffix
network-latency: used unique cmdline suffix
2020-05-07 18:42:32 +02:00
Jaroslav Škarvada
1be642deac
bootloader: preserved order of cmdline options
I.e. do not explicitly sort cmdline options.

Related: rhbz#1816168

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-05-07 14:16:54 +02:00
Jaroslav Škarvada
621464599b
network-latency: used unique cmdline suffix
related: rhbz#1816168

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-05-07 14:16:00 +02:00
Jaroslav Škarvada
26d41f44e6
Merge pull request #235 from martinezjavier/skip-s390x
Don't modify the BLS snippets on s390x
2020-04-30 17:21:42 +02:00
Javier Martinez Canillas
33d5386919
Don't modify the BLS snippets on s390x
Currently the 92-tuned.install kernel-install plugin adds the tuned params
to the BLS config files in s390x machines. But the zipl bootloader doesn't
have support for variables, which leads to cmdlines like the following:

root=/dev/mapper/rhel-root crashkernel=auto rd.dasd=0.0.541f rd.dasd=0.0.551f
rd.dasd=0.0.561f rd.dasd=0.0.571f rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap
cio_ignore=all,!condev rd.znet=qeth,0.0.0600,0.0.0601,0.0.0602,layer2=1,portno=0
$tuned_params BOOT_IMAGE=0

Don't modify the BLS snippet since the zipl bootloader doesn't support the
variables and just make the script to exit if the architecture is s390x.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2020-04-29 19:45:06 +02:00
Jaroslav Škarvada
720b93b898
Merge pull request #251 from chuckersjp/master
Adjust FILES section to point to the doc dir  containing the version info
2020-04-29 18:19:40 +02:00
chuckersjp
bc4d788981 Remove line referring to README as the directory may not be standard across releases 2020-04-29 12:04:57 -04:00
Jaroslav Škarvada
0cb964ec26
Merge pull request #260 from jmencak/isolate_managed_irq-inherit
Enable isolate_managed_irq to be defined in child profiles.
2020-04-29 17:29:17 +02:00
Jaroslav Škarvada
398f943f70
Merge pull request #250 from olysonek/disable-timer-migration
cpu-partitioning: Disable kernel.timer_migration
2020-04-29 16:58:00 +02:00
Jaroslav Škarvada
56c294727e
Merge pull request #247 from dlan17/master
drop bashism syntax, make it happy with dash
2020-04-29 16:42:05 +02:00
Jaroslav Škarvada
889743dcd6
Merge pull request #242 from olysonek/man-page-fix
man: Document the possibility to apply more than one profile
2020-04-29 16:36:52 +02:00
Jaroslav Škarvada
0a001186e6
Merge pull request #243 from jmencak/irqbalance-restart
Try-restart irqbalance service upon writing /etc/sysconfig/irqbalance
2020-04-16 15:56:14 +02:00
Jiri Mencak
8d5f5ec4b1 Try-restart irqbalance service upon writing /etc/sysconfig/irqbalance
Relates to: rhbz#1784645

Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2020-04-16 15:19:49 +02:00
Jaroslav Škarvada
3e2b7069fa
Merge pull request #248 from jmencak/bootcmdline-unapply
Unapply bootcmdline settings even when grub.cfg does not exits.
2020-04-16 15:03:48 +02:00
Jiri Mencak
c930eef0af Enable isolate_managed_irq to be defined in child profiles.
Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2020-04-16 14:09:55 +02:00
Jaroslav Škarvada
595b8e0996
Merge pull request #249 from hroncok/no-unittest2
Remove usage of unittest2, use unittest from the standard library
2020-03-31 18:38:20 +02:00
Jaroslav Škarvada
15a34ee68d
Merge pull request #256 from yarda/functions-fix-max-args
builtin_functions: fixed check for number of arguments
2020-03-23 19:46:33 +01:00
Jaroslav Škarvada
9ec93ccf59
builtin_functions: fixed check for number of arguments
There can be lower number of arguments than the max limit.
Also fixed definition of functions which wrongly used the API.

I.e. it should work this way:
 # exactly 3 arguments
 __init__("FUNC", 3, 3)

 # max 4 arguments, min 3 arguments (3 - 4 arguments)
 __init__("FUNC", 4, 3)

 # max 3 arguments (0 - 3 arguments)
 __init__("FUNC", 3)

 # min 3 arguments (3 - infinity arguments)
 __init__("FUNC", 0, 3)

 # arbitrary number of arguments (0 - infinity arguments)
 __init__("FUNC", 0)

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-03-23 16:35:43 +01:00
Jaroslav Škarvada
751cdb497b
Merge pull request #255 from yarda/rhbz1797025
realtime: added support for managed_irq
2020-03-23 15:35:34 +01:00
Jaroslav Škarvada
5ed61ce394
realtime: added conditional support for managed_irq
Also added regex_search_ternary built-in function.

It takes arguments in the following form:
  STR1, REGEX, STR2, STR3

If REGEX matches STR1 (re.search is used), STR2 is returned,
if it doesn't match STR3 is returned.

Example:
[variables]
foo=Y
bar=${f:regex_search_ternary:${foo}:\b[y,Y,1,t,T]\b:foo:bar}

It will result in the 'foo' string stored in the '${bar}' variable.

Resolves: rhbz#1797025

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-03-23 14:43:47 +01:00
chuckersjp
522252f594 Adjust FILES section to point to the doc dir possibly containing the version info 2020-02-28 10:55:06 -05:00
Ondřej Lysoněk
aa859eecdd cpu-partitioning: Disable kernel.timer_migration
Reportedly, it's no longer needed.

Resolves: rhbz#1797629

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2020-02-26 17:42:12 +01:00
Miro Hrončok
2399aa3b2d Remove usage of unittest2, use unittest from the standard library
Fixes https://github.com/redhat-performance/tuned/issues/241

Fedora is removing the unittest2 package: https://bugzilla.redhat.com/show_bug.cgi?id=1794222

tuned is not targeting Python 2.6: https://github.com/redhat-performance/tuned/issues/241#issuecomment-588320175

One thing not present in Python 2.7 is assertItemsEqual() -- renamed to assertCountEqual().

Related, mock was also listed as a requirement in the spec file,
but all the imports are from unittest.mock, hence removed.
2020-02-25 20:04:51 +01:00
Jiri Mencak
8dbb93499b Unapply bootcmdline settings even when grub.cfg does not exits.
Currently when grub.cfg file is not found, the [bootloader] plugin still
modifies /etc/tuned/bootcmdline file.  However, during rollbacks, the settings
applied to that file are not rolled back.  This becomes a problem in
(containerized) environments when grub.cfg file does not exist.  This patch
will make the behaviour more consistent and unapply the settings in
/etc/tuned/bootcmdline even when no grub.cfg is found.

Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
2020-02-25 19:52:01 +01:00
Yixun Lan
8ed2f8fc61 drop bashism syntax, make it happy with dash
see bug report at
https://github.com/redhat-performance/tuned/issues/246
https://bugs.gentoo.org/706164

Signed-off-by: Yixun Lan <dlan@gentoo.org>
2020-02-16 12:27:03 +00:00
Jaroslav Škarvada
9bb73e8f40
Merge pull request #245 from yarda/sst-rename-to-intel-sst
profiles: renamed sst profile to intel-sst
2020-02-12 11:37:19 +01:00
Jaroslav Škarvada
20a71af333
profiles: renamed sst profile to intel-sst
Also updated intel-sst profile manual page describing its usage.

Related: rhbz#1743879

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-02-11 17:44:06 +01:00
Ondřej Lysoněk
0bfb310f53 man: Document the possibility to apply more than one profile
'tuned-adm profile' accepts more than one profile. Document it in the
man page.

Resolves: rhbz#1794337

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2020-02-10 18:17:23 +01:00
Jaroslav Škarvada
bfe0eb9194
Merge pull request #244 from olysonek/new-accelerator-performance-profile
Add accelerator-performance profile
2020-02-06 17:59:02 +01:00
Ondřej Lysoněk
9535680992 Add accelerator-performance profile
Resolves: rhbz#1795604

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2020-02-06 17:55:21 +01:00
Jaroslav Škarvada
041333f9c5
Merge pull request #240 from yarda/rhbz1779117
realtime-virtual-host: added ncat requirement
2020-01-14 11:27:27 +01:00
Jaroslav Škarvada
cc11660689
realtime-virtual-host: added ncat requirement
resolves: rhbz#1779117

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-01-13 21:29:00 +01:00
Jaroslav Škarvada
d5dce53187
Merge pull request #239 from olysonek/define-empty-isolated-cores
profiles: Make sure variables are defined before use
2020-01-07 22:30:14 +01:00
Ondřej Lysoněk
0eb0c6bc7f profiles: Make sure variables are defined before use
Make sure the isolated_cores and no_balance_cores variables are
defined before any of the variables that use them are defined. This
enforces a certain ordering of variable expansions so that child
profiles can set the variables directly in the profile (tuned.conf),
e.g.:

[main]
include=cpu-partitioning

[variables]
isolated_cores=3

Resolves: rhbz#1781664

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2020-01-06 15:50:06 +01:00
Jaroslav Škarvada
f753351bff
Merge pull request #196 from TomasKorbar/circleci
Start using CircleCi
2019-12-12 17:49:58 +01:00
Jaroslav Škarvada
98b654c4ff
Merge pull request #236 from olysonek/oracle-profile-update
oracle: Turn off NUMA balancing
2019-12-12 17:48:05 +01:00
Ondřej Lysoněk
251a9e89d3 oracle: Turn off NUMA balancing
Turn off NUMA balancing, according to feedback from the performance
team.

Resolves: rhbz#1782233

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-12-12 17:41:38 +01:00
Jaroslav Škarvada
193b9fa641
new release (2.13.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-12-11 18:13:16 +01:00
Jaroslav Škarvada
c374ca62e4
Merge pull request #234 from prarit/sst_v1
Add Intel Speed Select Technology (SST) Profile
2019-12-11 18:09:39 +01:00
Prarit Bhargava
bcdb24862e Add Intel Speed Select Technology (SST) Profile
Intel's new Speed Select Technology (SST) is a process power management
technology introduced by Intel that allows for throughput and per-core
performance configurations and optimizations such as allowing for
prioritization of workloads on specific cores by sacrificing performance
on other cores.

Intel has released several CascadeLake processors, commonly referred to
as CascadeLake-N, with this technology and will introduce further SST
related technologies in the next few years.

These new technologies require the disabling of the intel-pstate driver
configuration in tuned as it may interfere with the user chosen per-core
configurations of SST.

Add a new SST profile to tuned for general use.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Joe Mario <jmario@redhat.com>
2019-12-11 08:52:52 -05:00
Jaroslav Škarvada
076efbfc45
Merge pull request #233 from olysonek/update-latency-performance
latency-performance: Update sysctl tunings
2019-12-11 14:33:31 +01:00
Jaroslav Škarvada
26aacd192c
Merge pull request #231 from yarda/rhbz1779821
sap-hana: updated tuning
2019-12-11 14:06:48 +01:00