NVIDIA BlueField BMC Software v24.07
NVIDIA BlueField BMC Software v24.07

Power Capping

Info

Power capping is supported on NVIDIA® BlueField®-3 only.

It is possible to adjust the system for reduced power consumption using the BMC. It is important to note that changes to power capping configuration only takes effect after BlueField reboot.

Info

Power capping is disabled by default.

Getting General Power Capping Information

Control information:

Copy
Copied!
            

curl -k -u root:'<password>' -X GET https://<bmc_ip>/redfish/v1/Chassis/Card1/Controls/PowerLimit_0

Output example:

Copy
Copied!
            

{ "@odata.id": "/redfish/v1/Chassis/Card1/Controls/PowerLimit_0", "@odata.type": "#Control.v1_3_0.Control", "AllowableMax": 300, "AllowableMin": 200, "ControlMode": "Manual", "ControlType": "Power", "Id": "PowerLimit_0", "Name": "System Power Control", "SetPoint": 10, "SetPointUnits": "%", "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Enabled" } }

Power consumption information:

Copy
Copied!
            

curl -k -u root:'<password>' -X GET https://<bmc_ip>/redfish/v1/Chassis/Card1/PowerSubsystem

Output example:

Copy
Copied!
            

{ "@odata.id": "/redfish/v1/Chassis/Card1/PowerSubsystem", "@odata.type": "#PowerSubsystem.v1_1_0.PowerSubsystem", "Allocation ": { "AllocatedWatts": 200, "RequestedWatts": 30, }, "CapacityWatts ": 300, "Id": "PowerSubsystem", "Name": "Power Subsystem", "PowerSupplies": { "@odata.id": "/redfish/v1/Chassis/Card1/PowerSubsystem/PowerSupplies" }, "Status": { "Health": "OK", "State": "Enabled" } }


Enabling/Disabling Power Capping

Copy
Copied!
            

curl -k -u root:'<password>' -H "Content-Type: application/json" -X PATCH https://<bmc_ip>/redfish/v1/Chassis/Card1/Controls/PowerLimit_0 -d '{"ControlMode":<"Manual"/"Disabled">}'


Setting Power Allocation Percentage

Copy
Copied!
            

curl -k -u root:'<password>' -H "Content-Type: application/json" -X PATCH https://<bmc_ip>/redfish/v1/Chassis/Card1/Controls/PowerLimit_0 -d '{"SetPoint": <val>}'

Where val is the percentage of maximum capacity in Watts (AllowableMax).

Note

If user configuration is lower than the minimum capacity power, then the UEFI sets the system power to minimum capacity.


Getting Power Capping Status

Copy
Copied!
            

ipmitool raw 0x32 0xc4


Enabling/Disabling Power Capping

Copy
Copied!
            

ipmitool raw 0x32 0xc5 <val>

Where val:

  • 0 – disable

  • 1 – enable

Note

Changeable only from BMC prompt using admin account.


Getting Power Capping Percentage

Copy
Copied!
            

ipmitool raw 0x32 0xc8


Setting Power Capping Percentage

Copy
Copied!
            

ipmitool raw 0x32 0xc9 <val>

Where val is the value in percentage [0:100].

Note

Changeable only from BMC prompt using admin account.

For example, if the maximum power capacity is 120 Watts, then set the system to work at 60 Watts (50%) using the following command:

Copy
Copied!
            

ipmitool raw 0x32 0xc9 50

Note

If user configuration is lower than the minimum capacity power, then the UEFI sets the system power to minimum capacity.


Getting Maximum Power Capacity

Copy
Copied!
            

ipmitool raw 0x32 0xc6

Info

Power is given in watts.


Getting Minimum Power Capacity

Copy
Copied!
            

ipmitool raw 0x32 0xca

Info

Power is given in watts.


Getting Capacity Allocation

Copy
Copied!
            

ipmitool raw 0x32 0xce

The amount of power allocated to the system in Watts.

This value indicates if user configuration was accepted or ignored by the UEFI.

© Copyright 2024, NVIDIA. Last updated on Aug 19, 2024.