-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
Important
-
rhel-net-perf
-
ssg_core_services
-
0
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
What were you trying to do that didn't work?
An error occurred while applying the custom Tuned profile.
What is the impact of this issue to you?
Tuned profile don't work
Please provide the package NVR for which the bug is seen:
kernel-6.12.0-81.el10.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- Install tuned profile
yum install -y tuned tuned-profiles-realtime tuned-profiles-nfv tuned-profiles-cpu-partitioning sed -i 's/daemon = 1/daemon = 0/g' /etc/tuned/tuned-main.conf systemctl start tune sleep 2 tuned-adm profile network-throughput [root@dell-per760-04 cpu_affinity]# nic_test=ens2f0np0 [root@dell-per760-04 cpu_affinity]# irqs=$(grep "$nic_test" /proc/interrupts | awk '{print $1}' | tr -d :) [root@dell-per760-04 cpu_affinity]# performance_path="/etc/tuned/profiles/performance" [root@dell-per760-04 cpu_affinity]# mkdir -p $performance_path [root@dell-per760-04 cpu_affinity]# get_cpu.py --get_isolate_cpus_str 2,42,3,43,4,44,5,45,6,46,7,47,8,48,9,49,10,50,11,51,12,52,13,53,14,40,15,55,16,56,17,57,18,58,19,59,20,60,21,61,22,62,23,63,24,64,25,65,26,66,27,67,28,68,29,69,30,70,31,71,32,72,33,73,34,74,35,75,36,76,37,77,38,78,39,79 [root@dell-per760-04 cpu_affinity]# isolated_cpu=2,42,3,43,4,44,5,45,6,46,7,47,8,48,9,49,10,50,11,51,12,52,13,53,14,40,15,55,16,56,17,57,18,58,19,59,20,60,21,61,22,62,23,63,24,64,25,65,26,66,27,67,28,68,29,69,30,70,31,71,32,72,33,73,34,74,35,75,36,76,37,77,38,78,39,79
- Create custom tuned performance profile
cat >$performance_path/tuned.conf <<-TUNED [main] summary=Customize Performance TuneD profile include=cpu-partitioning [variables] isolated_cores=${isolated_cpu} isolated_list=\${f:cpulist_pack:${isolated_cpu}} not_isolated_cores_expanded=\${f:cpulist_invert:\${isolated_cores_expanded}} [cpu] force_latency=cstate.id:1|3 governor=performance energy_perf_bias=performance min_perf_pct=100 [bootloader] initrd_remove_dir= initrd_dst_img= initrd_add_dir= cmdline_cpu_part=+nohz=on rcu_nocbs=\${isolated_list} tuned.non_isolcpus=\${not_isolated_cpumask} intel_pstate=disable nosoftlockup cmdline_realtime=+tsc=nowatchdog intel_iommu=on iommu=pt isolcpus=managed_irq,\${isolated_list} systemd.cpu_affinity=\${not_isolated_cores_expanded} cmdline_additionalArg=+ audit=0 idle=poll intel_idle.max_cstate=0 mce=off nmi_watchdog=0 processor.max_cstate=1 TUNED [root@dell-per760-04 cpu_affinity]# cat $performance_path/tuned.conf [main] summary=Customize Performance TuneD profile include=cpu-partitioning[variables] isolated_cores=2,42,3,43,4,44,5,45,6,46,7,47,8,48,9,49,10,50,11,51,12,52,13,53,14,40,15,55,16,56,17,57,18,58,19,59,20,60,21,61,22,62,23,63,24,64,25,65,26,66,27,67,28,68,29,69,30,70,31,71,32,72,33,73,34,74,35,75,36,76,37,77,38,78,39,79 isolated_list=${f:cpulist_pack:2,42,3,43,4,44,5,45,6,46,7,47,8,48,9,49,10,50,11,51,12,52,13,53,14,40,15,55,16,56,17,57,18,58,19,59,20,60,21,61,22,62,23,63,24,64,25,65,26,66,27,67,28,68,29,69,30,70,31,71,32,72,33,73,34,74,35,75,36,76,37,77,38,78,39,79} not_isolated_cores_expanded=${f:cpulist_invert:${isolated_cores_expanded}} [cpu] force_latency=cstate.id:1|3 governor=performance energy_perf_bias=performance min_perf_pct=100 [bootloader] initrd_remove_dir= initrd_dst_img= initrd_add_dir= cmdline_cpu_part=+nohz=on rcu_nocbs=${isolated_list} tuned.non_isolcpus=${not_isolated_cpumask} intel_pstate=disable nosoftlockup cmdline_realtime=+tsc=nowatchdog intel_iommu=on iommu=pt isolcpus=managed_irq,${isolated_list} systemd.cpu_affinity=${not_isolated_cores_expanded} cmdline_additionalArg=+ audit=0 idle=poll intel_idle.max_cstate=0 mce=off nmi_watchdog=0 processor.max_cstate=1
- Apply performance tuned profile
[root@dell-per760-04 cpu_affinity]# systemctl start tuned [root@dell-per760-04 cpu_affinity]# tuned --version tuned 2.25.1 [root@dell-per760-04 cpu_affinity]# systemctl --version systemd 257 (257-9.el10_0.1-g8cd5633) +PAM +AUDIT +SELINUX -APPARMOR +IMA +IPE +SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +BTF +XKBCOMMON +UTMP +SYSVINIT +LIBARCHIVE [root@dell-per760-04 cpu_affinity]# tuned-adm profile performance Trying to (re)start tuned... TuneD (re)started. TuneD is not active on the DBus, not checking whether the profile was successfully applied.
- cat tuned log, catch exception
[root@dell-per760-04 cpu_affinity]# tail -n200 /var/log/tuned/tuned.log 2025-05-16 03:18:45,451 INFO tuned.daemon.daemon: static tuning from profile 'performance' applied 2025-05-16 03:18:45,462 INFO tuned.daemon.daemon: terminating TuneD in one-shot mode 2025-05-16 03:19:34,350 INFO tuned.daemon.application: TuneD: 2.25.1, kernel: 6.12.0-81.el10.x86_64 2025-05-16 03:19:34,350 INFO tuned.daemon.application: dynamic tuning is globally disabled 2025-05-16 03:19:34,351 INFO tuned.daemon.daemon: using sleep interval of 1 second(s) 2025-05-16 03:19:34,352 INFO tuned.profiles.loader: loading profile: performance 2025-05-16 03:19:34,365 WARNING tuned.daemon.application: Using one shot no daemon mode, most of the functionality will be not available, it can be changed in global config 2025-05-16 03:19:34,365 INFO tuned.daemon.controller: starting controller 2025-05-16 03:19:34,365 INFO tuned.daemon.daemon: starting tuning 2025-05-16 03:19:34,365 INFO tuned.daemon.controller: terminating controller 2025-05-16 03:19:34,365 INFO tuned.daemon.daemon: stopping tuning 2025-05-16 03:19:34,368 INFO tuned.units.manager: skipping plugin 'systemd', not supported on your system 2025-05-16 03:19:34,369 ERROR tuned.units.manager: failed to initialize plugin irqbalance 2025-05-16 03:19:34,369 ERROR tuned.units.manager: libLLVM.so.20.1: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/tuned/units/manager.py", line 89, in create plugin = self._plugins_repository.create(plugin_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/tuned/plugins/repository.py", line 34, in create plugin_cls = self.load_class(plugin_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/tuned/utils/class_loader.py", line 32, in load_class return self._get_class(module_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/tuned/utils/class_loader.py", line 36, in _get_class module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/tuned/plugins/plugin_irqbalance.py", line 6, in <module> import perf ImportError: libLLVM.so.20.1: cannot open shared object file: No such file or directory 2025-05-16 03:19:34,379 INFO tuned.plugins.base: instance cpu: assigning devices cpu76, cpu40, cpu34, cpu30, cpu45, cpu44, cpu14, cpu20, cpu70, cpu60, cpu10, cpu50, cpu57, cpu61, cpu19, cpu15, cpu47, cpu18, cpu42, cpu6, cpu55, cpu17, cpu43, cpu41, cpu35, cpu13, cpu7, cpu36, cpu66, cpu1, cpu63, cpu49, cpu12, cpu31, cpu52, cpu68, cpu77, cpu39, cpu65, cpu51, cpu54, cpu71, cpu33, cpu5, cpu25, cpu73, cpu27, cpu74, cpu29, cpu4, cpu48, cpu69, cpu11, cpu9, cpu53, cpu8, cpu62, cpu0, cpu32, cpu79, cpu46, cpu78, cpu75, cpu67, cpu37, cpu28, cpu3, cpu72, cpu26, cpu22, cpu59, cpu56, cpu38, cpu64, cpu16, cpu23, cpu2, cpu58, cpu21, cpu24 2025-05-16 03:19:34,383 INFO tuned.plugins.plugin_cpu: We are running on an x86 GenuineIntel platform 2025-05-16 03:19:34,390 WARNING tuned.plugins.base: instance video: no matching devices available 2025-05-16 03:19:34,390 INFO tuned.plugins.plugin_rtentsk: opened SOF_TIMESTAMPING_OPT_TX_SWHW socket 2025-05-16 03:19:34,398 INFO tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu76' 2025-05-16 03:19:34,401 INFO tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu51'