dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
340 stars 164 forks source link

SysProfile with setting PerfOptimized - no changes #491

Closed GamerGun closed 1 year ago

GamerGun commented 1 year ago

How can the team help?

Details: ?

As with https://github.com/dell/dellemc-openmanage-ansible-modules/issues/415

I can't get SysProfile with setting PerfOptimized to work;

Item setting: SysProfile Item value: PerfOptimized Message: No changes found to commit!

    attributes:
      SysProfile: "PerfOptimized"

Redfish API still shows PerfPerWattOptimizedDapc

Happens on R740 system

anupamaloke commented 1 year ago

@GamerGun, thank you for submitting this issue. System Profile settings have a dependency on other BIOS attributes as well. If you set the SysProfile attribute to PerfOptimized then you might need to also change other BIOS attributes else it might not get applied. For e.g. when I use the GUI to change the 'SysProfile' to PerfOptimized, iDRAC automatically sets the CPU Power Management (i.e. ProcPwrPerf) to OsDbpm. See below screenshot:

image

Also, following is the text from the BIOS Attribute Registry for "System Profile":

Performance-per-watt (OS), otherwise known as 'OS Control', is similar to the DAPC profile for all sub-options except for the CPU Power Management. The power management scheme used for this profile is called 'OS DBPM', which allows the Operating System to manipulate processor frequencies for higher power efficiency.

But it seems that you can only set the ProcPowerPerf attribute when the SysProfile attribute is set to Custom. See below is the excerpt from BIOS attribute registry:

Has a dependency on the System Profile. Can only be set if the System Profile is set to Custom.

So, IMHO, the issue that you are observing could be due to the BIOS attributes dependency. You might have to execute the following workflow to set the system profile using the idrac_bios module:

If you want to minimize the number of reboots, then you can import a small SCP with only these BIOS attributes.

anupamaloke commented 1 year ago

@GamerGun, I am marking this issue as closed. Please reopen or raise a new issue if you face any issue while using OpenManage Ansible modules.