1
0
Fork 0
Commit graph

1936 commits

Author SHA1 Message Date
Jaroslav Škarvada
b37d8efd5c
Merge pull request #624 from yarda/functions-debug
functions: added 'log' which helps with debugging
2024-05-23 15:03:52 +02:00
Jaroslav Škarvada
7d8f11ace2
Merge pull request #621 from adriaan42/adriaan/info_on_missing_pm_qos
plugin_cpu: decrease the severity of _has_pm_qos==False
2024-05-23 14:02:28 +02:00
Jaroslav Škarvada
c14e156e63
Merge pull request #620 from yarda/sap-netweaver-vm-max-map-count-fix
sap-netweaver: increased vm.max_map_count
2024-05-23 13:57:07 +02:00
Jaroslav Škarvada
ed472f0175
Merge pull request #619 from yarda/sighup-buffer
daemon: buffer sighup signal
2024-05-23 13:54:07 +02:00
Jaroslav Škarvada
dcce8e3efa
Merge pull request #617 from yarda/propagate-unexpected-exceptions-in-wait-exception-handler
Propagate unexpected exceptions in the wait exception handler
2024-05-23 13:41:24 +02:00
Jaroslav Škarvada
d4399b82a0
Merge pull request #616 from superm1/superm1/battery-detection
tuned-ppd: Detect battery change events
2024-05-23 13:40:33 +02:00
Jaroslav Škarvada
40f1507138
Merge pull request #615 from zacikpa/default-profile-locations
Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/
2024-05-23 13:24:08 +02:00
Jaroslav Škarvada
f75d795a11
Merge pull request #596 from adriaan42/adriaan/dynamic-instance-creation
add dbus commands for dynamic creation of instances
2024-05-21 18:17:45 +02:00
Jaroslav Škarvada
98d7deaaec
Merge pull request #580 from adriaan42/adriaan/irq-tuning
Tuning of individual interrupts
2024-05-21 14:47:18 +02:00
Adriaan Schmidt
1aeb223b74 feat: add plugin_irq
This new plugin enables the tuning of individual interrupt affinities.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
2024-05-21 08:54:37 +02:00
Jaroslav Škarvada
362f098f51
Merge pull request #562 from gsauthof/modules-equal-value
Allow equal characters in kernel module parameter value
2024-05-16 15:15:08 +02:00
Jaroslav Škarvada
3a286103c3
functions: added 'log' which helps with debugging
E.g.:
[variables]
dummy=${f:log:${f:exec:uname}}

Logs the output of the 'uname' command to the TuneD log.

Also added more verbose debug output which can help with functions
debugging. Enable with 'tuned -D'.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-04-14 15:26:00 +02:00
Adriaan Schmidt
2a17fba827 plugin_cpu: decrease the severity of _has_pm_qos==False
The feature depends on kernel configuration (CONFIG_CPU_IDLE).
While this seems to be commonly enabled on x86, we've seen ARM
systems where it's disabled, and in this case it's perfectly valid
for /dev/cpu_dma_latency to be missing.
Since we cannot opt-out of the PM QoS feature in the cpu plugin, this
case should not be an error.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
2024-04-09 11:32:54 +02:00
Jaroslav Škarvada
04ead944fd
sap-netweaver: increased vm.max_map_count
Resolves: RHEL-31757

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-04-08 11:03:47 +02:00
Jaroslav Škarvada
ef7cfeb729
daemon: buffer sighup signal
Resolves: RHEL-31180

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-04-04 18:27:13 +02:00
Mario Limonciello
6ef5b58ea8 tuned-ppd: Detect battery change events
power-profiles-daemon has the ability to detect battery change events
using upower and to apply different tuned settings based upon whether
plugged into power or not.

In PPD this is used specifically to set the energy performance preference
differently in the 'balanced' profile, but there is no reason that this
concept can't actually apply to all profiles.

Add support for detecting battery change events and apply a profile
specified in ppd.conf for battery in the different PPD states.
2024-04-04 07:13:06 -05:00
Pavol Žáčik
6d3aa949b3
Migrate profiles to /etc/tuned/profiles/ and /usr/lib/tuned/profiles/ 2024-04-03 11:01:10 +02:00
Jaroslav Škarvada
1fb7c803b6
Merge pull request #609 from zacikpa/custom-profile-dir
Add the option to specify custom directories with user-defined profiles
2024-04-03 10:32:05 +02:00
Jaroslav Škarvada
1700a98d48
Propagate unexpected exceptions in the wait exception handler
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-04-02 19:55:09 +02:00
Pavol Žáčik
90ea23b8b3
Add an option to configure profile directories
Resolves: RHEL-26157
2024-03-28 10:56:49 +01:00
Pavol Žáčik
a916594a49
Use get_list to parse unix_socket_signal_path 2024-03-26 13:17:39 +01:00
Pavol Žáčik
55daf4aee7
Add a function to parse lists in the global configuration 2024-03-26 13:17:39 +01:00
Jaroslav Škarvada
fcb297514c
Merge pull request #614 from sabbir-47/add-pstate-function
Added intel_recommended_pstate builtin function.
2024-03-24 23:58:47 +01:00
Sabbir Hasan
236af6dd5c
Added intel_recommended_pstate builtin function.
With this builtin function it is possible to write now:

[variables]
pstate=${f:intel_recommended_pstate}

[bootloader]
cmdline_pstate=+intel_pstate=${pstate}

The builtin function will return value: disable|active based on the processor
model and pass the proper intel_pstate value to kernel command line in boot time

................................

Intel recommends to use the intel_pstate CPUFreq driver in active mode with HWP
enabled on Ice Lake and later generations processors.This feature allows dynamically
set intel_pstate based on the processor's model. Currently, users need to create a
tuned override if they want to set intel_pstate to active even for newer generation processors.
For older generation processors setting pstate to active can introduce jitters which were
historically seen around and tested with RHEL-7.4.From IceLake generation, intel has fixed these issues.

Signed-off-by: Sabbir Hasan <sahasan@redhat.com>
2024-03-21 16:11:24 +01:00
Adriaan Schmidt
cddcd23369 dbus: add commands to dynamically create/destroy instances
Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
2024-03-15 12:13:43 +01:00
Adriaan Schmidt
6c48757c2f dbus: ensure that hotplug operations only work on hotplug plugins
This adds a check to instance_acquire_devices to ensure
that the plugin actually supports the requested operation.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
2024-03-15 12:13:43 +01:00
Adriaan Schmidt
b10bafce48 instance: add priority as a property
Currently instance priorities are only used at startup to sort the
instance classes. To enable dynamic creation of instances, we need
to store the priorities, so new instances can be sorted accordingly.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
2024-03-15 12:13:43 +01:00
Jaroslav Škarvada
33a54b3c1b
Merge pull request #613 from yarda/net-monitor-no-traceback
monitor_net: fixed traceback if stats cannot be read
2024-03-13 10:04:09 +01:00
Jaroslav Škarvada
029ea87203
monitor_net: fixed traceback if stats cannot be read
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-03-12 20:06:07 +01:00
Jaroslav Škarvada
8d3a8d71b3
Merge pull request #612 from yarda/rhel-28757
plugin_net: do not read monitors if dynamic tuning is disabled
2024-03-11 18:26:54 +01:00
Jaroslav Škarvada
88b1b45649
plugin_net: do not read monitors if dynamic tuning is disabled
Resolves: RHEL-28757

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-03-11 16:51:06 +01:00
Jaroslav Škarvada
86ac977798
Merge pull request #608 from liuzhilin12/master
fix-error
2024-02-27 18:30:39 +01:00
liuzhilin
61c07b7be5 fix-error 2024-02-27 14:01:01 +08:00
Jaroslav Škarvada
15202dfa69
new release (2.22.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-22 13:23:28 +01:00
Jaroslav Škarvada
bb8b77f93f
Merge pull request #606 from sgruszka/uncore_rename
Uncore rename
2024-02-22 11:42:29 +01:00
Stanislaw Gruszka
17cc86c87d Rename plugin_intel_uncore.py to plugin_uncore.py
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
2024-02-22 02:30:28 -05:00
Stanislaw Gruszka
81580ce7d0 Rename IntelUncorePlugin to UncorePlugin
Rename the plugin name as so can be used as placeholder for Uncore
settings for other CPU vendors.

Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
2024-02-22 02:26:30 -05:00
Jaroslav Škarvada
c927e8bdf8
Merge pull request #605 from yarda/tcp_rmem_increase
network-throughput: increased net.ipv4.tcp_rmem default value
2024-02-20 17:14:21 +01:00
Jaroslav Škarvada
c5a35e8223
Merge pull request #604 from yarda/spec-cleanup
spec: cleanup, drop RHEL dynamic_tuning customization
2024-02-20 17:13:47 +01:00
Jaroslav Škarvada
03369da748
network-throughput: increased net.ipv4.tcp_rmem default value
Resolves: RHEL-25847

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-19 13:44:41 +01:00
Jaroslav Škarvada
5f5dcd1319
spec: cleanup, drop RHEL dynamic_tuning customization
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-16 19:26:17 +01:00
Jaroslav Škarvada
d962bc4735
new release (2.22.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-16 18:36:34 +01:00
Jaroslav Škarvada
02050516e8
Merge pull request #603 from yarda/dynamic_tuning_disable
Disable dynamic tuning by default
2024-02-13 16:04:22 +01:00
Jaroslav Škarvada
2306cbdced
Disable dynamic tuning by default
Dynamic tuning is PoC implementation and it can cause many problems
especially with some networks drivers where it can interrupt network
connections and also with modern CPUs where it can worsen power
consumption by limiting CPUs from entering deeper C-states. Now, when
TuneD is going to replace power-profiles-daemon these problems can
accumulate and cause bad user experience.

RHEL disables dynamic tuning downstream for a long time, so follow it
and also disable it by default upstream. People who knows what they are
doing can still enable it.

Fixes #588

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-13 15:30:17 +01:00
Jaroslav Škarvada
d8ead01d5f
Merge pull request #602 from yarda/master
plugin_cpu: improved backward compat. of the pm_qos parser errors
2024-02-12 17:30:33 +01:00
Jaroslav Škarvada
b3706e251d
plugin_cpu: improved backward compat. of the pm_qos parser warnings
Also improved debug messages a bit.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-12 13:56:45 +01:00
Jaroslav Škarvada
ad314ee320
new release (2.22.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-02-09 22:59:17 +01:00
Jaroslav Škarvada
57f4da03b3
Merge pull request #598 from superm1/superm1/fixtuned-ppdpy
Add missing install command for tuned-ppd.py
2024-02-09 21:56:23 +01:00
Jaroslav Škarvada
1d134eb954
Merge pull request #595 from adriaan42/adriaan/scheduler-ignore-irq-option
scheduler: add option for ignoring IRQs affinity
2024-02-09 21:51:45 +01:00
Jaroslav Škarvada
84ff6bd398
Merge pull request #590 from sgruszka/intel_uncore_plugin_v2
Add intel uncore plugin
2024-02-09 21:51:06 +01:00