1
0
Fork 0
Commit graph

40 commits

Author SHA1 Message Date
Tom Jones
41a169122c
Fix doc build
Commit 71b41394e removed ref_available-tuned-plug-ins.adoc , but didn't tidy up all links this leads to the doc build failing
2025-09-18 14:02:22 +01:00
Ibrahim Ansari
349035c791
plugins: document med_power_with_dipm SATA ALPM option
The use of `min_power` can lead to data corruption[1] and has been
replaced in the documentation, and an example using `medium_power` was
updated to use `med_power_with_dipm` (the kernel default[2] with better
better power savings than `medium_power`).

[1] https://hansdegoede.livejournal.com/18412.html
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/ata/Kconfig?id=5433f0e7427ae4f5b128d89ec16ccaafc9fef5ee

Signed-off-by: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
2025-02-04 13:12:48 +05:30
Jaroslav Škarvada
300444b236
docs: fixed docs generation on centos-7
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-01-18 22:48:44 +01:00
Jaroslav Škarvada
f3155f19fc
doc: enable documentation generation on RHEL with asciidoc
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-12-11 23:08:51 +01:00
Pavol Žáčik
261efaa8b5
Bump doc/manual revision date and number 2024-10-11 12:45:21 +02:00
Pavol Žáčik
71b41394e2
Add a script for generation of plugin docs from docstrings
The script simply joins an introduction text with the
docstrings of all plugin classes.
2024-10-11 12:45:20 +02: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
Pavol Žáčik
90ea23b8b3
Add an option to configure profile directories
Resolves: RHEL-26157
2024-03-28 10:56:49 +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
Pavol Žáčik
9b72d697df
Add an ACPI plugin
Resolves: RHEL-16966

At this point, the plugin supports setting a single sysfs attribute,
platform_profile.

The 3 basic ACPI platform profiles are low-power, balanced, and
performance. These are mapped to the generic powersave,
balanced, and *-performance TuneD profiles.
2024-01-22 11:29:39 +01:00
liuzhilin
d31e05bde8 fix-tuned-profiles-adoc-error 2023-02-20 17:20:21 +08:00
Jacob Valdez
dd056b6dbc breaking up various modules and implementing neccessary new syntax used downstream to keep docs repos synced 2021-06-09 14:10:28 +02:00
Jaroslav Škarvada
78df85affe
Merge branch 'master' into project-rename 2021-06-03 17:20:55 +02:00
Jacob Valdez
57f4983465 adding profile descriptions included in downstream 2021-05-18 08:19:39 +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
Jaroslav Škarvada
7580d4fae5 scheduler: added perf_mmap_pages option to set perf buffer size
For perf events mmapped buffer is used. Under heavy load the buffer may
overflow. In such cases the `scheduler` plugin may start missing events
and not process some newly created processes. Increasing the buffer size
may help.

The buffer size can be set with the `perf_mmap_pages` parameter.
Value of this parameter has to be power of 2. If it is not the power of 2,
the nearest bigger power of 2 value is calculated from it and this
calculated value is used. If the `perf_mmap_pages` parameter is omitted,
the default kernel value is used, which should be 128 for the recent
kernels (tested on kernel-5.9.8).

Example:

[scheduler]
perf_mmap_pages = 256

Resolves: rhbz#1890219

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-11-25 22:04:45 +01:00
Jaroslav Škarvada
1907f205a0
scheduler: added perf_process_fork option to enable processing of fork
Scheduler plugin uses perf event loop to catch newly created processes.
By default it listens to perf.RECORD_COMM and perf.RECORD_EXIT events.

By setting `perf_process_fork` parameter to `true` it will also listen
to perf.RECORD_FORK events, i.e. it will explicitly process
child processes created by the fork system call. Usually, child processes
inherit affinity from their parents, thus the `scheduler` plugin doesn't
need to explicitly process them, that's why the `perf_process_fork`
parameter is by default set to `false` and child processes aren't
explicitly processed. This default setting may also save some CPU time.

Resolves: rhbz#1894610

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-11-25 20:41:39 +01:00
Jaroslav Škarvada
1b0573dab2
scheduler: added default_irq_smp_affinity option
The option 'default_irq_smp_affinity' affects what will be written to the
/proc/irq/default_smp_affinity. The option supports the following values:

calc:
  Content of the /proc/irq/default_smp_affinity will be calculated from
  the 'isolated_cores'. Non-isolated cores are calculated as an inversion
  of the 'isolated_cores'. Then the intersection of the non-isolated cores
  and the previous content of the /proc/irq/default_smp_affinity is
  written to the /proc/irq/default_smp_affinity. If the intersection is
  empty set, then just the non-isolated cores are written to the
  /proc/irq/default_smp_affinity. This behavior is the default if
  option 'default_irq_smp_affinity' is not specified.

ignore:
  The /proc/irq/default_smp_affinity is not touched by Tuned.

cpulist like e.g. '1,3-4':
  The cpulist is unpacked and directly written to the
  /proc/irq/default_smp_affinity

Examples:

[scheduler]
isolated_cores = 1, 2
default_irq_smp_affinity = calc

[scheduler]
isolated_cores = 1, 2
default_irq_smp_affinity = ignore

[scheduler]
isolated_cores = 1, 3
default_irq_smp_affinity = 2, 4

Resolves: rhbz#1896348

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-11-12 11:00:18 +01:00
Marek Suchánek
35abb7fda0 Fix another reference in the documentation 2020-10-01 20:11:03 +02:00
Marek Suchánek
cf229cc807 Fix various documentation issues in the metadata and references 2020-10-01 20:06:55 +02:00
Marek Suchánek
3187cf348f Manually merge documentation changes from RHEL downstream 2020-10-01 19:47:59 +02:00
Tigran Mkrtchyan
f7ecad0ae0 added postgresql server profile
A new tuned profile for PostgreSQL database server.

This profile is based of information collected from various
presentations about Linux tuning at PGConf.

See: https://www.socallinuxexpo.org/sites/default/files/presentations/scale_kosmodemiansky_linux_internals.pdf

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2020-07-31 20:49:11 +02:00
Marek Suchánek
74d1b4a7e7 Removed references to RHEL Atomic Host; RHBZ#1680387 2019-05-20 18:17:07 +02:00
Jaroslav Škarvada
111f17cd29
Merge pull request #182 from mrksu/doc-realtime
[Docs] Clarify the information on real-time profiles on RHEL
2019-05-06 16:57:53 +02:00
Jaroslav Škarvada
dea70604c5
Merge pull request #178 from mrksu/master
[Docs] Improved the description of the script plug-in
2019-05-06 16:54:46 +02:00
Marek Suchánek
348eb9843f Clarified real-time profiles on RHEL; RHBZ#1671105 2019-05-03 20:10:46 +02:00
Marek Suchánek
bde7cb1a86 Improved the description of the script plug-in; RHBZ#1671107 2019-05-03 19:51:16 +02:00
Marek Suchánek
4e29b68669 Tweak the terminology around Tuned and its components; RHBZ#1680386 2019-04-30 19:56:34 +02:00
Jaroslav Škarvada
033e35b4c4 doc: renamed doc/guide to doc/manual
After team discussion we decided to rename it to manual.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-03-13 14:39:55 +01:00
Jaroslav Škarvada
94d70899c9
doc: installed html instead of the adoc
Also added support to the Makefile and spec.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-03-12 19:57:15 +01:00
Jaroslav Škarvada
7efac3bcb3
doc: renamed tuned-documentation to guide
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2019-03-12 19:02:22 +01:00
Marek Suchánek
b63d10e24c Removed unnecessary internal comments 2019-01-07 18:38:09 +01:00
Marek Suchánek
de099c1556 Added a readme for documentation 2019-01-04 18:20:14 +01:00
Marek Suchánek
1a2e13e44f Added user-facing documentation: initial commit 2019-01-04 18:08:28 +01:00
Ondřej Lysoněk
fed000fd64 Fix typos in TIPS.txt
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-09-12 13:23:31 +02:00
Jaroslav Škarvada
b0984ed4e3
nfv: improved wording in readme of nfv trampoline package
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-03-31 10:44:02 +02:00
Jaroslav Škarvada
a287f6509a
nfv: fixed building of tuned-profiles-nfv package
The tuned-profiles-nfv is kept for backward compatibility.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-03-30 12:08:36 +02:00
Jan Vcelak
2a2433848c move manual pages to "man" directory 2012-03-12 17:53:02 +01:00
Jan Vcelak
69cc6f3fc1 doc: import documentation for contrib scripts 2012-03-12 17:53:01 +01:00