Bug 1958356 - tuned custom profile name not supported on compute role
Summary: tuned custom profile name not supported on compute role
Keywords:
Status: CLOSED DUPLICATE of bug 1958418
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-07 17:34 UTC by jpateteg
Modified: 2023-05-11 08:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-10 20:19:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NFV-2112 0 None None None 2023-05-11 08:06:33 UTC
Red Hat Issue Tracker OSP-3703 0 None None None 2022-08-23 10:25:12 UTC

Description jpateteg 2021-05-07 17:34:22 UTC
Description of problem:
During a deployment with specific tunedProfileName (cpu-partitioning), all the configurations for tuned service are applied, but when the OS is activating the profile this will fail and will fallback to the recommend profile


Version-Release number of selected component (if applicable):

OSP 16.1.1 GA

How reproducible:

Always, Deploy the overcloud using cpu-partitioning for one of the compute roles, configure TunedProfileName on the ComputeParameters to cpu-partitioning and the applied profile will always be throughput-performance.

Steps to Reproduce:
1. Set up cpu-partitioning as TunedProfileName in your templates for compute role.
2. Deploy the overcloud
3. Check tuned-adm profile and check cpu-partitioning is not the active profile

Actual results:
Deployment succeed but the cpu-partitioning profile gets ignored and set the througout-performance profile instead

Expected results:

Deployment to succeed, and tuned-adm profile must show cpu-partitioning as the active profile

Additional info:

Config on the compute node:
[root@srvrhpb508-computemme-0 tuned]# cat cpu-partitioning-variables.conf 
# Examples:
# isolated_cores=2,4-7
# isolated_cores=2-23
#
# To disable the kernel load balancing in certain isolated CPUs:
# no_balance_cores=5-10
isolated_cores=1-13,29-41,15-27,43-55
[root@srvrhpb508-computemme-0 tuned]# 

But active profile:
Current active profile: throughput-performance
[root@srvrhpb508-computemme-0 tuned]#

on the playbooks the right profile is set:

deploy_steps_tasks_step0.yaml:    name: tuned
deploy_steps_tasks_step0.yaml:  name: Configure tuned before reboot
deploy_steps_tasks_step0.yaml:    tuned_isolated_cores: 1-13,29-41,15-27,43-55
deploy_steps_tasks_step0.yaml:    tuned_profile: cpu-partitioning
deploy_steps_tasks.yaml:    name: tuned
deploy_steps_tasks.yaml:  name: Configure tuned before reboot
deploy_steps_tasks.yaml:    tuned_isolated_cores: 1-13,29-41,15-27,43-55
deploy_steps_tasks.yaml:    tuned_profile: cpu-partitioning

on /var/log/messages we can see when it enables cpu-partitioning and then falls back

May  4 11:06:59 srvrhpb508-computemme-0 ansible-stat[15511]: Invoked with path=/etc/tuned/cpu-partitioning-variables.conf follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1
May  4 11:07:00 srvrhpb508-computemme-0 ansible-lineinfile[15530]: Invoked with dest=/etc/tuned/cpu-partitioning-variables.conf regexp=^isolated_cores=.* line=isolated_cores=1-13,29-41,15-27,43-55 path=/etc/tuned/cpu-partitioning-variables.conf state=present backrefs=False create=False backup=False firstmatch=False follow=False insertafter=None insertbefore=None validate=None mode=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None src=None force=None content=NOT_LOGGING_PARAMETER remote_src=None delimiter=None directory_mode=None unsafe_writes=None
May  4 11:07:01 srvrhpb508-computemme-0 ansible-command[15547]: Invoked with _raw_params=tuned-adm profile cpu-partitioning warn=True _uses_shell=False stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None


on the tuned.log file we can see the error due to ksm.service not there:

2021-04-22 16:52:18,571 INFO     tuned.plugins.plugin_systemd: setting 'CPUAffinity' to '0 14 28 42' in the '/etc/systemd/system.conf'
2021-04-22 16:52:18,901 INFO     tuned.plugins.plugin_script: calling script '/usr/lib/tuned/cpu-partitioning/script.sh' with arguments '['start']'
2021-04-22 16:52:19,174 ERROR    tuned.plugins.plugin_script: script '/usr/lib/tuned/cpu-partitioning/script.sh' error output: 'Unit ksm.service does not exist, proceeding anyway.
Unit ksmtuned.service does not exist, proceeding anyway.'
2021-04-22 16:52:19,174 INFO     tuned.plugins.plugin_bootloader: generating initrd image from directory '/tmp/tmp.khwKG4IBKB'
2021-04-22 16:52:19,180 INFO     tuned.plugins.plugin_bootloader: installing initrd image as '/boot/tuned-initrd.img'
2021-04-22 16:52:19,181 INFO     tuned.plugins.plugin_bootloader: removing directory '/tmp/tmp.khwKG4IBKB'
2021-04-22 16:52:19,182 INFO     tuned.plugins.plugin_bootloader: installing additional boot command line parameters to grub2
2021-04-22 16:52:19,230 INFO     tuned.daemon.daemon: static tuning from profile 'cpu-partitioning' applied
2021-04-22 16:52:30,829 INFO     tuned.daemon.controller: terminating controller
2021-04-22 16:52:30,829 INFO     tuned.daemon.daemon: stopping tuning
2021-04-22 16:52:30,926 INFO     tuned.daemon.daemon: terminating Tuned due to system shutdown / reboot
2021-04-22 16:52:30,927 INFO     tuned.plugins.plugin_script: calling script '/usr/lib/tuned/cpu-partitioning/script.sh' with arguments '['stop']'


after other attempt it will fall back:

2021-04-22 19:21:14,141 INFO     tuned.profiles.loader: loading profile: throughput-performance
2021-04-22 19:21:14,144 INFO     tuned.daemon.daemon: starting tuning
2021-04-22 19:21:14,159 INFO     tuned.plugins.base: instance cpu: assigning devices cpu26, cpu50, cpu25, cpu30, cpu14, cpu52, cpu9, cpu51, cpu40, cpu39, cpu43, cpu54, cpu10, cpu15, cpu32, cpu0, cpu20, cpu3, cpu45, cpu34, cpu31, cpu5, cpu29, cpu37, cpu8, cpu28, cpu44, cpu23, cpu12, cpu47, cpu13, cpu2, cpu35, cpu22, cpu1, cpu42, cpu27, cpu41, cpu36, cpu16, cpu48, cpu53, cpu55, cpu7, cpu21, cpu38, cpu46, cpu49, cpu17, cpu19, cpu33, cpu24, cpu18, cpu6, cpu4, cpu11
2021-04-22 19:21:14,177 INFO     tuned.plugins.plugin_cpu: We are running on an x86 GenuineIntel platform
2021-04-22 19:21:14,184 INFO     tuned.plugins.base: instance disk: assigning devices sda
2021-04-22 19:21:14,201 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu26'

Comment 1 jpateteg 2021-05-07 17:46:56 UTC
After each stack update (we are in the middle of deployment project) we would see the below:

2021-05-06 21:43:50,373 INFO     tuned.daemon.daemon: static tuning from profile 'throughput-performance' applied
2021-05-06 22:29:15,351 INFO     tuned.daemon.daemon: stopping tuning
2021-05-06 22:29:15,369 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu27'
2021-05-06 22:29:15,373 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu54'
2021-05-06 22:29:15,378 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu20'
2021-05-06 22:29:15,382 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu28'
2021-05-06 22:29:15,386 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu46'
2021-05-06 22:29:15,390 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu3'
2021-05-06 22:29:15,395 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu4'
2021-05-06 22:29:15,399 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu36'
2021-05-06 22:29:15,403 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu8'
2021-05-06 22:29:15,407 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu43'
2021-05-06 22:29:15,411 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu31'
2021-05-06 22:29:15,415 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu32'
2021-05-06 22:29:15,419 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu11'
2021-05-06 22:29:15,423 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu13'
2021-05-06 22:29:15,427 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu40'
2021-05-06 22:29:15,430 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu18'
2021-05-06 22:29:15,434 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu45'
2021-05-06 22:29:15,439 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu9'
2021-05-06 22:29:15,443 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu24'
2021-05-06 22:29:15,447 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu6'
2021-05-06 22:29:15,451 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu37'
2021-05-06 22:29:15,454 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu19'
2021-05-06 22:29:15,458 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu26'
2021-05-06 22:29:15,462 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu38'
2021-05-06 22:29:15,466 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu39'
2021-05-06 22:29:15,470 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu34'
2021-05-06 22:29:15,473 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu55'
2021-05-06 22:29:15,477 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu29'
2021-05-06 22:29:15,481 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu30'
2021-05-06 22:29:15,485 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu10'
2021-05-06 22:29:15,488 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu12'
2021-05-06 22:29:15,492 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu48'
2021-05-06 22:29:15,496 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu25'
2021-05-06 22:29:15,499 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu5'
2021-05-06 22:29:15,503 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu2'
2021-05-06 22:29:15,507 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu42'
2021-05-06 22:29:15,511 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu53'
2021-05-06 22:29:15,515 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu51'
2021-05-06 22:29:15,518 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu49'
2021-05-06 22:29:15,522 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu22'
2021-05-06 22:29:15,526 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu23'
2021-05-06 22:29:15,530 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu0'
2021-05-06 22:29:15,534 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu1'
2021-05-06 22:29:15,538 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu33'
2021-05-06 22:29:15,542 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu44'
2021-05-06 22:29:15,545 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu50'
2021-05-06 22:29:15,549 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu21'
2021-05-06 22:29:15,553 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu52'
2021-05-06 22:29:15,558 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu35'
2021-05-06 22:29:15,562 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu15'
2021-05-06 22:29:15,566 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu47'
2021-05-06 22:29:15,570 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu7'
2021-05-06 22:29:15,574 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu16'
2021-05-06 22:29:15,578 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu14'
2021-05-06 22:29:15,582 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu17'
2021-05-06 22:29:15,586 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu41'
2021-05-06 22:29:15,601 INFO     tuned.profiles.loader: loading profile: cpu-partitioning
2021-05-06 22:29:15,639 INFO     tuned.daemon.daemon: starting tuning
2021-05-06 22:29:15,667 INFO     tuned.plugins.base: instance cpu: assigning devices cpu27, cpu54, cpu20, cpu28, cpu46, cpu3, cpu4, cpu36, cpu8, cpu43, cpu31, cpu32, cpu11, cpu13, cpu40, cpu18, cpu45, cpu9, cpu24, cpu6, cpu37, cpu19, cpu26, cpu38, cpu39, cpu34, cpu55, cpu29, cpu30, cpu10, cpu12, cpu48, cpu25, cpu5, cpu2, cpu42, cpu53, cpu51, cpu49, cpu22, cpu23, cpu0, cpu1, cpu33, cpu44, cpu50, cpu21, cpu52, cpu35, cpu15, cpu47, cpu7, cpu16, cpu14, cpu17, cpu41
2021-05-06 22:29:15,684 INFO     tuned.plugins.plugin_cpu: We are running on an x86 GenuineIntel platform
2021-05-06 22:29:15,729 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu27'
2021-05-06 22:29:15,738 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu54'
2021-05-06 22:29:15,746 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu20'
2021-05-06 22:29:15,758 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu28'
2021-05-06 22:29:15,774 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu46'
2021-05-06 22:29:15,792 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu3'
2021-05-06 22:29:15,811 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu4'
2021-05-06 22:29:15,830 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu36'
2021-05-06 22:29:15,851 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu8'
2021-05-06 22:29:15,870 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu43'
2021-05-06 22:29:15,885 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu31'
2021-05-06 22:29:15,902 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu32'
2021-05-06 22:29:15,920 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu11'
2021-05-06 22:29:15,936 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu13'
2021-05-06 22:29:15,951 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu40'
2021-05-06 22:29:15,959 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu18'
2021-05-06 22:29:15,968 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu45'
2021-05-06 22:29:15,976 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu9'
2021-05-06 22:29:15,984 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu24'
2021-05-06 22:29:15,992 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu6'
2021-05-06 22:29:16,001 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu37'
2021-05-06 22:29:16,008 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu19'
2021-05-06 22:29:16,017 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu26'
2021-05-06 22:29:16,026 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu38'
2021-05-06 22:29:16,036 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu39'
2021-05-06 22:29:16,044 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu34'
2021-05-06 22:29:16,057 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu55'
2021-05-06 22:29:16,074 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu29'
2021-05-06 22:29:16,088 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu30'
2021-05-06 22:29:16,108 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu10'
2021-05-06 22:29:16,117 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu12'
2021-05-06 22:29:16,126 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu48'
2021-05-06 22:29:16,137 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu25'
2021-05-06 22:29:16,150 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu5'
2021-05-06 22:29:16,159 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu2'
2021-05-06 22:29:16,167 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu42'
2021-05-06 22:29:16,177 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu53'
2021-05-06 22:29:16,187 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu51'
2021-05-06 22:29:16,196 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu49'
2021-05-06 22:29:16,205 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu22'
2021-05-06 22:29:16,214 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu23'
2021-05-06 22:29:16,223 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu0'
2021-05-06 22:29:16,232 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu1'
2021-05-06 22:29:16,241 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu33'
2021-05-06 22:29:16,250 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu44'
2021-05-06 22:29:16,259 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu50'
2021-05-06 22:29:16,274 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu21'
2021-05-06 22:29:16,289 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu52'
2021-05-06 22:29:16,298 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu35'
2021-05-06 22:29:16,307 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu15'
2021-05-06 22:29:16,315 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu47'
2021-05-06 22:29:16,323 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu7'
2021-05-06 22:29:16,331 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu16'
2021-05-06 22:29:16,339 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu14'
2021-05-06 22:29:16,348 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu17'
2021-05-06 22:29:16,357 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu41'
2021-05-06 22:29:16,357 INFO     tuned.plugins.plugin_cpu: setting new cpu latency 2
2021-05-06 22:29:16,360 INFO     tuned.plugins.plugin_sysctl: reapplying system sysctl
2021-05-06 22:29:16,381 INFO     tuned.plugins.plugin_vm: transparent_hugepage is already set in kernel boot cmdline, ingoring value from profile
2021-05-06 22:29:16,388 INFO     tuned.plugins.plugin_systemd: setting 'CPUAffinity' to '0 14 28 42' in the '/etc/systemd/system.conf'
2021-05-06 22:29:16,599 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 10041 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,611 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391600 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,611 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391602 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,611 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391603 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,611 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391604 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,612 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391605 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,612 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391606 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,612 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 391607 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,613 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392120 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,613 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392122 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,613 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392123 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,614 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392124 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,614 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392125 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,614 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392126 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,614 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392127 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,615 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392128 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,615 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392129 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,615 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392130 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,615 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392131 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,616 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392132 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,616 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392133 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,617 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392488 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,617 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392493 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,617 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392494 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,618 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392495 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,618 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392496 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,619 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392497 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,619 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392498 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,619 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392499 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,620 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392500 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,620 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392501 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,620 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392502 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,621 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392503 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,621 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 392504 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,621 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393089 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,622 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393091 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,622 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393092 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,622 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393093 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,622 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393094 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,623 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393095 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,623 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393096 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,623 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393097 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,624 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393098 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,624 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393099 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,624 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393100 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,624 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393101 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,625 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393102 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,625 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393103 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,625 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393104 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,625 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393105 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,626 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393106 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,626 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393217 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,626 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393219 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,627 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393220 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,627 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393221 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,627 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393222 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,628 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393223 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,628 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393224 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,628 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393225 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,628 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393226 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,629 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393227 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,629 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393228 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,629 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393229 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,629 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393230 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,630 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393231 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,630 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393232 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,630 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393233 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,631 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 393234 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,631 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737412 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,631 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737414 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,632 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737415 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,632 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737416 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,632 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737417 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,632 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737418 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,633 ERROR    tuned.plugins.plugin_scheduler: Failed to set affinity of PID 737419 to '[0, 42, 28, 14]': [Errno 22] Invalid argument
2021-05-06 22:29:16,784 INFO     tuned.plugins.plugin_script: calling script '/usr/lib/tuned/cpu-partitioning/script.sh' with arguments '['start']'
2021-05-06 22:29:17,731 ERROR    tuned.plugins.plugin_script: script '/usr/lib/tuned/cpu-partitioning/script.sh' error output: 'Unit ksm.service does not exist, proceeding anyway.
2021-05-06 22:29:17,731 INFO     tuned.plugins.plugin_bootloader: generating initrd image from directory '/tmp/tmp.tx8RqVO3tP'
2021-05-06 22:29:17,751 INFO     tuned.plugins.plugin_bootloader: installing initrd image as '/boot/tuned-initrd.img'
2021-05-06 22:29:17,752 INFO     tuned.plugins.plugin_bootloader: removing directory '/tmp/tmp.tx8RqVO3tP'
2021-05-06 22:29:17,754 INFO     tuned.plugins.plugin_bootloader: installing additional boot command line parameters to grub2
2021-05-06 22:29:17,831 INFO     tuned.daemon.daemon: static tuning from profile 'cpu-partitioning' applied
2021-05-06 22:35:13,715 INFO     tuned.daemon.daemon: stopping tuning
2021-05-06 22:35:13,715 INFO     tuned.plugins.plugin_bootloader: removing grub2 tuning previously added by Tuned
2021-05-06 22:35:13,717 INFO     tuned.plugins.plugin_bootloader: removing initrd image '/boot/tuned-initrd.img'
2021-05-06 22:35:13,771 INFO     tuned.plugins.plugin_script: calling script '/usr/lib/tuned/cpu-partitioning/script.sh' with arguments '['stop', 'full_rollback']'
2021-05-06 22:35:14,423 INFO     tuned.plugins.plugin_systemd: removing 'CPUAffinity' systemd tuning previously added by Tuned
2021-05-06 22:35:14,424 CONSOLE  tuned.plugins.plugin_systemd: you may need to manualy run 'dracut -f' to update the systemd configuration in initrd image
2021-05-06 22:35:14,427 INFO     tuned.plugins.plugin_vm: transparent_hugepage is already set in kernel boot cmdline, ingoring value from profile
2021-05-06 22:35:14,443 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu27'
2021-05-06 22:35:14,449 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu54'
2021-05-06 22:35:14,455 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu20'
2021-05-06 22:35:14,462 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu28'
2021-05-06 22:35:14,468 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu46'
2021-05-06 22:35:14,473 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu3'
2021-05-06 22:35:14,478 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu4'
2021-05-06 22:35:14,483 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu36'
2021-05-06 22:35:14,488 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu8'
2021-05-06 22:35:14,493 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu43'
2021-05-06 22:35:14,500 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu31'
2021-05-06 22:35:14,505 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu32'
2021-05-06 22:35:14,510 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu11'
2021-05-06 22:35:14,517 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu13'
2021-05-06 22:35:14,523 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu40'
2021-05-06 22:35:14,527 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu18'
2021-05-06 22:35:14,532 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu45'
2021-05-06 22:35:14,537 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu9'
2021-05-06 22:35:14,542 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu24'
2021-05-06 22:35:14,547 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu6'
2021-05-06 22:35:14,552 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu37'
2021-05-06 22:35:14,557 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu19'
2021-05-06 22:35:14,562 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu26'
2021-05-06 22:35:14,566 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu38'
2021-05-06 22:35:14,571 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu39'
2021-05-06 22:35:14,576 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu34'
2021-05-06 22:35:14,581 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu55'
2021-05-06 22:35:14,586 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu29'
2021-05-06 22:35:14,591 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu30'
2021-05-06 22:35:14,595 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu10'
2021-05-06 22:35:14,600 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu12'
2021-05-06 22:35:14,607 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu48'
2021-05-06 22:35:14,612 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu25'
2021-05-06 22:35:14,617 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu5'
2021-05-06 22:35:14,623 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu2'
2021-05-06 22:35:14,627 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu42'
2021-05-06 22:35:14,633 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu53'
2021-05-06 22:35:14,638 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu51'
2021-05-06 22:35:14,644 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu49'
2021-05-06 22:35:14,648 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu22'
2021-05-06 22:35:14,653 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu23'
2021-05-06 22:35:14,659 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu0'
2021-05-06 22:35:14,664 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu1'
2021-05-06 22:35:14,670 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu33'
2021-05-06 22:35:14,675 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu44'
2021-05-06 22:35:14,680 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu50'
2021-05-06 22:35:14,685 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu21'
2021-05-06 22:35:14,690 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu52'
2021-05-06 22:35:14,696 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu35'
2021-05-06 22:35:14,700 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu15'
2021-05-06 22:35:14,705 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu47'
2021-05-06 22:35:14,710 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu7'
2021-05-06 22:35:14,714 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu16'
2021-05-06 22:35:14,718 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu14'
2021-05-06 22:35:14,723 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu17'
2021-05-06 22:35:14,727 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to '7' on cpu 'cpu41'
2021-05-06 22:35:14,754 INFO     tuned.profiles.loader: loading profile: throughput-performance
2021-05-06 22:35:14,761 INFO     tuned.daemon.daemon: starting tuning
2021-05-06 22:35:14,774 INFO     tuned.plugins.base: instance cpu: assigning devices cpu27, cpu54, cpu20, cpu28, cpu46, cpu3, cpu4, cpu36, cpu8, cpu43, cpu31, cpu32, cpu11, cpu13, cpu40, cpu18, cpu45, cpu9, cpu24, cpu6, cpu37, cpu19, cpu26, cpu38, cpu39, cpu34, cpu55, cpu29, cpu30, cpu10, cpu12, cpu48, cpu25, cpu5, cpu2, cpu42, cpu53, cpu51, cpu49, cpu22, cpu23, cpu0, cpu1, cpu33, cpu44, cpu50, cpu21, cpu52, cpu35, cpu15, cpu47, cpu7, cpu16, cpu14, cpu17, cpu41
2021-05-06 22:35:14,794 INFO     tuned.plugins.plugin_cpu: We are running on an x86 GenuineIntel platform
2021-05-06 22:35:14,805 INFO     tuned.plugins.base: instance disk: assigning devices sda
2021-05-06 22:35:14,828 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu27'
2021-05-06 22:35:14,837 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu54'
2021-05-06 22:35:14,845 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu20'
2021-05-06 22:35:14,854 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu28'
2021-05-06 22:35:14,862 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu46'
2021-05-06 22:35:14,870 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu3'
2021-05-06 22:35:14,878 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu4'
2021-05-06 22:35:14,886 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu36'
2021-05-06 22:35:14,894 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu8'
2021-05-06 22:35:14,902 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu43'
2021-05-06 22:35:14,910 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu31'
2021-05-06 22:35:14,918 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu32'
2021-05-06 22:35:14,926 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu11'
2021-05-06 22:35:14,934 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu13'
2021-05-06 22:35:14,942 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu40'
2021-05-06 22:35:14,950 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu18'
2021-05-06 22:35:14,958 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu45'
2021-05-06 22:35:14,966 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu9'
2021-05-06 22:35:14,974 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu24'
2021-05-06 22:35:14,982 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu6'
2021-05-06 22:35:14,990 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu37'
2021-05-06 22:35:14,998 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu19'
2021-05-06 22:35:15,012 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu26'
2021-05-06 22:35:15,026 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu38'
2021-05-06 22:35:15,185 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu39'
2021-05-06 22:35:15,221 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu34'
2021-05-06 22:35:15,252 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu55'
2021-05-06 22:35:15,268 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu29'
2021-05-06 22:35:15,285 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu30'
2021-05-06 22:35:15,298 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu10'
2021-05-06 22:35:15,311 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu12'
2021-05-06 22:35:15,325 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu48'
2021-05-06 22:35:15,338 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu25'
2021-05-06 22:35:15,352 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu5'
2021-05-06 22:35:15,364 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu2'
2021-05-06 22:35:15,377 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu42'
2021-05-06 22:35:15,390 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu53'
2021-05-06 22:35:15,405 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu51'
2021-05-06 22:35:15,422 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu49'
2021-05-06 22:35:15,434 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu22'
2021-05-06 22:35:15,443 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu23'
2021-05-06 22:35:15,458 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu0'
2021-05-06 22:35:15,470 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu1'
2021-05-06 22:35:15,478 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu33'
2021-05-06 22:35:15,488 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu44'
2021-05-06 22:35:15,496 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu50'
2021-05-06 22:35:15,510 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu21'
2021-05-06 22:35:15,520 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu52'
2021-05-06 22:35:15,529 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu35'
2021-05-06 22:35:15,539 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu15'
2021-05-06 22:35:15,547 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu47'
2021-05-06 22:35:15,555 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu7'
2021-05-06 22:35:15,562 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu16'
2021-05-06 22:35:15,572 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu14'
2021-05-06 22:35:15,582 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu17'
2021-05-06 22:35:15,590 INFO     tuned.plugins.plugin_cpu: energy_perf_bias successfully set to 'performance' on cpu 'cpu41'
2021-05-06 22:35:15,591 INFO     tuned.plugins.plugin_sysctl: reapplying system sysctl
2021-05-06 22:35:15,623 INFO     tuned.daemon.daemon: static tuning from profile 'throughput-performance' applied
[root@srvrhpb508-computemme-0 ~]#

Comment 2 jpateteg 2021-05-07 18:01:04 UTC
As per the doc, the ksm and ksmtuned are included with qemu-kvm package, but these were not installed during deployment, maybe because the repo server was not available at preConfig stage, but the issue would be the same, cpu-partitioning profile cannot be applied if that package is not installed, expectation would be that deploy fails because of this dependency

Comment 3 jpateteg 2021-05-07 18:33:37 UTC
I attach the roles_data.yaml section for the role I am doing this:

##############################################################################
# Role: Compute                                                               #
###############################################################################
- name: Computemme
  description: |
    Basic Compute Node role for MME
  CountDefault: 1
  # Create external Neutron bridge (unset if using ML2/OVS without DVR)
  tags:
    - external_bridge
  networks:
    External:
      subnet: external_subnet
    InternalApi:
      subnet: internal_api_subnet
    Tenant:
      subnet: tenant_subnet
  HostnameFormatDefault: '%stackname%-computemme-%index%'
  RoleParametersDefault:
    TunedProfileName: "virtual-host"
  # Deprecated & backward-compatible values (FIXME: Make parameters consistent)
  # Set uses_deprecated_params to True if any deprecated params are used.
  # These deprecated_params only need to be used for existing roles and not for
  # composable roles.
  uses_deprecated_params: True
  deprecated_param_image: 'NovaImage'
  deprecated_param_extraconfig: 'NovaComputeExtraConfig'
  deprecated_param_metadata: 'NovaComputeServerMetadata'
  deprecated_param_scheduler_hints: 'NovaComputeSchedulerHints'
  deprecated_param_ips: 'NovaComputeIPs'
  deprecated_server_resource_name: 'NovaCompute'
  deprecated_nic_config_name: 'compute.yaml'
  update_serial: 25
  ServicesDefault:
    - OS::TripleO::Services::Aide
    - OS::TripleO::Services::AuditD
    - OS::TripleO::Services::BootParams
    - OS::TripleO::Services::CACerts
    - OS::TripleO::Services::CephClient
    - OS::TripleO::Services::CephExternal
    - OS::TripleO::Services::CertmongerUser
    - OS::TripleO::Services::Collectd
    - OS::TripleO::Services::ComputeCeilometerAgent
    - OS::TripleO::Services::ComputeNeutronCorePlugin
    - OS::TripleO::Services::ComputeNeutronL3Agent
    - OS::TripleO::Services::ComputeNeutronMetadataAgent
    - OS::TripleO::Services::ComputeNeutronOvsAgent
    - OS::TripleO::Services::Docker
    - OS::TripleO::Services::IpaClient
    - OS::TripleO::Services::Ipsec
    - OS::TripleO::Services::Iscsid
    - OS::TripleO::Services::Kernel
    - OS::TripleO::Services::LoginDefs
    - OS::TripleO::Services::MetricsQdr
    - OS::TripleO::Services::Multipathd
    - OS::TripleO::Services::MySQLClient
    - OS::TripleO::Services::NeutronBgpVpnBagpipe
    - OS::TripleO::Services::NeutronLinuxbridgeAgent
    - OS::TripleO::Services::NeutronVppAgent
    - OS::TripleO::Services::NovaAZConfig
    - OS::TripleO::Services::NovaCompute
    - OS::TripleO::Services::NovaLibvirt
    - OS::TripleO::Services::NovaLibvirtGuests
    - OS::TripleO::Services::NovaMigrationTarget
    - OS::TripleO::Services::ContainersLogrotateCrond
    - OS::TripleO::Services::Podman
    - OS::TripleO::Services::Rear
    - OS::TripleO::Services::Rhsm
    - OS::TripleO::Services::Rsyslog
    - OS::TripleO::Services::RsyslogSidecar
    - OS::TripleO::Services::Securetty
    - OS::TripleO::Services::Snmp
    - OS::TripleO::Services::Sshd
    - OS::TripleO::Services::Timesync
    - OS::TripleO::Services::Timezone
    - OS::TripleO::Services::TripleoFirewall
    - OS::TripleO::Services::TripleoPackages
    - OS::TripleO::Services::Tuned
    - OS::TripleO::Services::Vpp
    - OS::TripleO::Services::OVNController
    - OS::TripleO::Services::OVNMetadataAgent

Comment 4 jpateteg 2021-05-07 20:34:45 UTC
The default service  - OS::TripleO::Services::Tuned

seems like triggering

# OS::TripleO::Services::Tuned: deployment/tuned/tuned-baremetal-ansible.yaml

  role_data:
    description: Role data for tuned
    value:
      service_name: tuned
      host_prep_tasks:
        - include_role:
            name: tuned
      ansible_group_vars:
        tuned_profile: {get_param: TunedProfileName}
        tuned_custom_profile: {get_param: TunedCustomProfile}

Where a default tuned profile (throughput-performance) is configured.

Additional, when setting TunedProfileName on a per-role basis on compute role it triggers tuned on other way:

# OS::TripleO::Services::BootParams: deployment/kernel/kernel-boot-params-baremetal-ansible.yaml

      deploy_steps_tasks:
        # TODO(skramaja): Tasks of Tuned TripleO service can be used here
        # But the configuration in that service has to be moved from host_prep_tasks to step 0 of deploy_step_tasks
        - name: Configure tuned before reboot
          when: step|int == 0
          include_role:
            name: tuned
          vars:
            tuned_profile: {get_attr: [RoleParametersValue, value, tuned_profile]}
            tuned_isolated_cores: {get_attr: [RoleParametersValue, value, isolated_cores]}


So when both are activated the default will override the per-role tuned configuration.

Deleting  - OS::TripleO::Services::Tuned

from roles_data.yaml will fix the issue but this is considered a workaround.

Comment 5 Chris Fields 2021-05-10 20:06:52 UTC
I'm seeing the same in 16.1.4. I generated a custom role from the Compute role.  From roles_data.yaml the way it got generated:
- name: ComputeOvsHwOffload
    TunedProfileName: "virtual-host"

From my THT for this custom role: 
  ComputeOvsHwOffloadParameters:
    TunedProfileName: "cpu-partitioning"

I end up with throughput performance. 

[root@overcloud-computeovshwoffload-0 tuned]# grep 'tuned.profiles.loader'  /var/log/tuned/tuned.log
2021-05-04 13:38:09,958 INFO     tuned.profiles.loader: loading profile: virtual-guest
2021-05-04 13:44:49,603 INFO     tuned.profiles.loader: loading profile: cpu-partitioning
2021-05-04 13:49:47,868 INFO     tuned.profiles.loader: loading profile: cpu-partitioning
2021-05-04 13:59:29,002 INFO     tuned.profiles.loader: loading profile: throughput-performance
2021-05-04 17:16:01,896 INFO     tuned.profiles.loader: loading profile: cpu-partitioning
2021-05-04 17:23:14,539 INFO     tuned.profiles.loader: loading profile: throughput-performance
2021-05-10 18:35:24,573 INFO     tuned.profiles.loader: loading profile: throughput-performance

The only difference in my deployment is that I don't see the 'Invalid argument' ERRORs.


Note You need to log in before you can comment on or make changes to this bug.