1
0
Fork 0
Commit graph

2211 commits

Author SHA1 Message Date
Fothsid
3bdab4ee04 Remove compile_plugin_docs.py copy from Makefile
The script was moved to docs/manual, causing the
Makefile target release-cp to fail due to the
file missing.
2026-03-19 11:18:40 +01:00
Jaroslav Škarvada
71854de549
Merge pull request #764 from zacikpa/doc-build
Docs and Web: Add to the master branch and build with each push
2026-03-16 18:07:16 +01:00
Jaroslav Škarvada
ba8ee0871c
Merge pull request #830 from yarda/write_to_file-errors-check
commands: better error msgs when creating directory and hardened dir mode
2026-03-05 17:19:32 +01:00
Jaroslav Škarvada
68297327f5
Merge pull request #828 from Fothsid/tempdir-permissions
fix: set correct permission for tempdir (w/ path check)
2026-03-05 17:18:40 +01:00
Fothsid
80b67c3373 doc: note the safety check for initrd_add_dir 2026-03-05 16:52:36 +01:00
Fothsid
74c3d35d7a fix: set correct permission for tempdir
When creating the auxiliary image file used by initrd, ensure to use correct permissions.

Resolves: RHEL-121198

Co-authored-by: Flos Lonicerae <lonicerae@gmail.com>
2026-03-05 16:52:33 +01:00
Jaroslav Škarvada
6a41207b9d
Merge pull request #832 from Fothsid/fix-affinity-error
fix: check for EPERM when setting IRQ affinity
2026-03-05 16:41:06 +01:00
Fothsid
00592c2f0c fix: check for EPERM when setting IRQ affinity
Kernel version v6.12 changed the return code of the
write_irq_affinity() function in case if affinity cannot
be set for the specified IRQ. Used to be EIO, now it's EPERM.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb29369fa543e7d5557c19ebecf072244bb14815

Resolves: RHEL-153655
2026-03-05 14:26:16 +01:00
Jaroslav Škarvada
1f8cb72734
commands: better error msgs when creating directory and hardened dir mode
The directory mode should be already hardened with the umask on most systems,
so it shouldn't be the default 0x777, but rather be explicit with the saner
0x755.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-03-03 20:40:59 +01:00
Pavol Žáčik
0222cbff3f
vm: Document dirty_bytes and dirty_background_bytes 2026-03-03 16:30:11 +01:00
Pavol Žáčik
9e88d33b11
docs: Bump revnumber and revdate 2026-03-03 16:30:11 +01:00
Pavol Žáčik
880a28f025
docs: Remove links to RH docs 2026-03-03 16:28:26 +01:00
Pavol Žáčik
68f98fb08f
docs: Use variables for profile directories 2026-03-03 16:28:26 +01:00
Pavol Žáčik
9f217a4aff
docs: Restructure sections
- remove duplicate sections
- move profile syntax description to the second module
- move mention of profile merging after list of profiles
2026-03-03 16:28:26 +01:00
Pavol Žáčik
8d478f7958
docs: Replace yum with dnf 2026-03-03 16:28:26 +01:00
Pavol Žáčik
d0957d545d
docs: Fix typos 2026-03-03 16:28:26 +01:00
Pavol Žáčik
a9a49365d3
web: Add a workflow for Github Pages
The manual is now built automatically with each
push to the master branch.
2026-03-03 16:28:26 +01:00
Pavol Žáčik
ceb1ae61b4
functions: Derive function name from module name
Prevents redundancy. The same thing is already
done for plugins.
2026-03-03 16:28:26 +01:00
Pavol Žáčik
422f14b0be
functions: Remove unused imports 2026-03-03 16:28:25 +01:00
Pavol Žáčik
87f0f99bb5
functions: Use CapWords for function classes
This is the standard in Python and it prevents
the issue of using reserved/existing names, e.g.,
in the case of the `exec` or `log` function.
2026-03-03 16:28:25 +01:00
Pavol Žáčik
cb0261e3e6
docs: Update built-in function docstrings
The docs are now asciidoc with examples,
ready to be included into the manual.
2026-03-03 16:28:25 +01:00
Pavol Žáčik
2c4698e750
docs: Build function docs from docstrings
Read the docstrings using ASTs instead of
importing the modules; this prevents the
need to install TuneD dependencies when
just building the docs (e.g., in Github Pages).
2026-03-03 16:28:25 +01:00
Jaroslav Škarvada
38d4414a85
new release (2.27.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-02-22 20:49:21 +01:00
Jaroslav Škarvada
d6ff9254d1
new release (2.27.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-02-10 21:42:29 +01:00
Jaroslav Škarvada
cd5e0c084e
Merge pull request #823 from DenisovAA/tuned-recommend-to-ppd
ppd: ask tuned recommend for base profile
2026-02-09 18:37:31 +01:00
Jaroslav Škarvada
22584c66d7
Merge pull request #817 from mattmattox/feat/reapply-sysctl-exclude
feat(sysctl): add reapply_sysctl_exclude option
2026-02-09 18:20:27 +01:00
Jaroslav Škarvada
d71b491a1f
Merge pull request #813 from yarda/centos7-fix
spec: use correct python interpreter for documentation installation
2026-02-05 15:20:01 +01:00
Jaroslav Škarvada
7d23795fa2
Merge pull request #812 from yarda/tuned-adm-instance-acquire-devices-man-fix
man: fixed instance_acquire_devices example in tuned-adm man
2026-02-05 15:18:48 +01:00
Jaroslav Škarvada
04b0259365
Merge pull request #822 from yarda/sap-hana-latency-fix
sap-hana: force latency to 70 us, not to C-states
2026-02-05 15:17:49 +01:00
Jaroslav Škarvada
8eeeb45abe
Merge pull request #811 from nmraz/performance-boost-value
profiles: Set boost=1 in *-performance profiles
2026-02-05 14:56:42 +01:00
Jaroslav Škarvada
843f44e234
Merge pull request #809 from gheffern/openshift_tcp_tuning
feat(openshift): Optimize TCP settings for high throughput and low latency
2026-02-05 14:52:55 +01:00
Aleksandr Denisov
e3bcb62341 ppd: ask tuned recommend for base profile
TuneD has a great mechanism for profile recommendation that
can be easily configured without modifying the source code.
However, when used together with tuned-ppd, the daemon initially
selects the default profile, ignoring potentially better
recommendations.

These changes add a request for TuneD’s
recommended profile when no base_profile has been set previously.

Signed-off-by: Aleksandr Denisov <den225900@gmail.com>
2026-02-04 00:27:16 +03:00
Jaroslav Škarvada
66df3aa122
Merge pull request #805 from yarda/dracut-hook-location-fix
cpu-partitioning: autodetect dracut hook directory
2026-02-03 18:10:11 +01:00
Jaroslav Škarvada
daca196e0c
Merge pull request #799 from evgeni/additionaly-typo
typo: additionaly → additionally
2026-02-03 18:09:07 +01:00
Jaroslav Škarvada
3e0484a57e
Merge pull request #801 from adventureloop/patch-1
Fix doc build
2026-02-03 18:06:55 +01:00
Jaroslav Škarvada
90d0aee4d2
sap-hana: force latency to 70 us, not to C-states
Resolves: RHEL-142285
Resolves: #808

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-02-02 16:59:27 +01:00
Matthew Mattox
4e300529c9
feat(sysctl): add reapply_sysctl_exclude option
When reapply_sysctl=1 (default), TuneD re-applies all system sysctl
settings after profile switches. This breaks Kubernetes overlay
networking because CNI plugins set net.ipv4.ip_forward=1 at runtime,
which gets overwritten by static /etc/sysctl.d/ files.

Add reapply_sysctl_exclude config option to protect specific sysctls
from reapplication while maintaining backward compatibility. Supports
shell-style wildcards via fnmatch.

Example config for Kubernetes:
  reapply_sysctl_exclude = net.ipv4.ip_forward, net.ipv6.conf.*.forwarding

Fixes: #816
Signed-off-by: Matthew Mattox <mmattox@support.tools>
2025-12-16 15:13:58 -06:00
Jaroslav Škarvada
70146daf88
spec: use correct python interpreter for documentation installation
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-11-18 16:55:32 +01:00
Jaroslav Škarvada
51ebe803d3
man: fixed instance_acquire_devices example in tuned-adm man
Resolves: RHEL-90575

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-11-17 23:43:07 +01:00
Noam Raz
79a120e17e profiles: Set boost=1 in *-performance profiles
Commit 068928e ("Add support for controlling amd-pstate core
performance boost") started setting the newly-introduced `boost`
parameter in the balanced and powersave profiles, but forgot to do the
same in the performance profiles. The net result was that transitioning
directly from the powersave profile to a performance profile would leave
boosting disabled.

Fix this by setting boost=1 explictly in all performance-oriented
profiles (i.e., those with a min_perf_pct of 100).

Fixes: 068928e ("Add support for controlling amd-pstate core performance boost")
2025-11-13 21:17:36 +02:00
Graham Heffern
7a1a288e85 feat(openshift): Optimize TCP settings for high throughput and low latency
Apply specific kernel network tuning parameters to the OpenShift profile
(/profiles/openshift/tuned.conf) to support high bandwidth-delay product links.

The following TCP settings are added:
net.ipv4.tcp_notsent_lowat=131072: Sets tcp_notsent_lowat to a value intended to balance throughput and latency while limiting total socket memory usage.
net.ipv4.tcp_slow_start_after_idle=0: Disables slow start after a connection has been idle, allowing immediate maximum throughput upon resuming data transfer.
net.ipv4.tcp_rmem="4096 131072 16777216": Increases the maximum TCP receive buffer size to improve performance on high-bandwidth-delay product connections.
net.ipv4.tcp_wmem="4096 16384 16777216": Increases the maximum TCP send buffer size for similar reasons.

These changes are based on work done by Cloudflare for improving TCP
performance on high bandwidth-delay product links but are more conservative in adjusting rmem and wmem

Reference: https://blog.cloudflare.com/optimizing-tcp-for-high-throughput-and-low-latency/

Signed-off-by: Graham Heffern <gheffern@gmail.com>
2025-11-08 09:46:25 -06:00
Jaroslav Škarvada
2145e1984b
cpu-partitioning: autodetect dracut hook directory, systemd workaround
Wrong hook directory can make the machine unbootable:
https://issues.redhat.com/browse/RHEL-119889

Also added workaround for currently non-functional systemd plugin
which doesn't include the systemd config into the initrd image.

Resolves: RHEL-40619

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-10-20 16:59:21 +02:00
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
Evgeni Golov
5207b5d5e2 typo: additionaly → additionally 2025-09-09 13:47:47 +02:00
Jaroslav Škarvada
181472a0be
new release (2.26.0)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-08-24 23:48:04 +02:00
Jaroslav Škarvada
c07833ba62
new release (2.26.0-rc.1)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-08-17 23:57:35 +02:00
Jaroslav Škarvada
734a519405
Merge pull request #797 from snalawad/master
fix: add no_turbo option in profiles where boost is used
2025-08-17 22:58:25 +02:00
Suyash Nalawade
d33fc7928f fix: add no_turbo option in profiles where boost is used
- When boost=0 is set on Intel systems with intel_pstate driver, it automatically sets no_turbo=1

Resolves: #788
Signed-off-by: Suyash Nalawade <sunalawa@redhat.com>
2025-08-11 14:19:35 +05:30
Jaroslav Škarvada
3554d5b3b6
Merge pull request #782 from yarda/priority-inheritance-fix
Priority inheritance fix
2025-07-29 12:33:16 +02:00
Jaroslav Škarvada
d0bd508810
Merge pull request #781 from cgwalters/main
Dockerfile: New to build on a bootc image
2025-07-29 12:32:56 +02:00