Description of problem: Need to support "script" plug-in for node tuning operator There exist tuned profiles which use the "script" plug-in to complete various tunings. For example cpu-partitioning uses script to update irqbalance and create files for a tuned initrd: https://github.com/redhat-performance/tuned/blob/master/profiles/cpu-partitioning/script.sh We need functionality like this if we want to support more tuned profiles like cpu-partitioning and realtime, which are critical for Telco usage.
Andrew, which profiles are we considering here to be enabled? Are you considering to write your own or rely only the existing one?
(In reply to Zvonko Kosic from comment #1) > Andrew, which profiles are we considering here to be enabled? Are you > considering to write your own or rely only the existing one? I think we would write a new profile, but we need some of the functionality we see in cpu-partitioning's script.sh: 1) irqbalance_banned_cpus_setup: set up banned_cpus variable in irqbalance and restart it 2) Adding things to 2nd initrd: -systemd: set up CPUaffinity -00-tuned-pre-udev.sh: script to tuned kernel very early in boot process If these things can be handled without a script plug-in, then maybe we don't need to support script plug-in explicitly.
(In reply to Andrew Theurer from comment #3) > (In reply to Zvonko Kosic from comment #1) > > Andrew, which profiles are we considering here to be enabled? Are you > > considering to write your own or rely only the existing one? > > I think we would write a new profile, but we need some of the functionality > we see in cpu-partitioning's script.sh: > > 1) irqbalance_banned_cpus_setup: set up banned_cpus variable in irqbalance > and restart it A tuned should take care of this internally. > 2) Adding things to 2nd initrd: > -systemd: set up CPUaffinity And again a tuned profile should take care of this internally. > -00-tuned-pre-udev.sh: script to tuned kernel very early in boot process > > If these things can be handled without a script plug-in, then maybe we don't > need to support script plug-in explicitly.
Andrew, I believe what you are asking is writing container compatible profiles for tuned which do not use the script plugin or at least make sure they work on RHCOS too. Can this BZ be closed or made into a more specific one? Thanks.
Closing as this is an RFE tracked internally by Jira cards.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days