Skip to main content

4.4.1 Setting the Upper Limit Value of Power Consumption


4.4.1 Setting the Upper Limit Value of Power Consumption
In the SPARC M12/M10, you can set the upper limit value of power consumption and the operation to perform when the upper limit value is exceeded.
Use the setpowercapping command of XSCF firmware to set the upper limit value of power consumption.
Execute the command with a user account that has the platadm or fieldeng privilege. Immediately after the command is executed, the set value is reflected by the XSCF.
XSCF> setpowercapping -s option=value [[-s option=value]...]
You can set the following items for option and value.
  1. Enabling/Disabling power capping function (activate_state)
    Specify either enabled or disabled. The default is disabled.
  2. Setting the upper limit value of power consumption
    Specify it in either of the following ways.
    - Number in watts (powerlimit_w)

    You can specify a numeric value from 0 to 999999.

    - Percentage (powerlimit_p)

    You can specify a numeric value from 0 to 100.
  3. Extension time when the upper limit value is exceeded (timelimit)
    You can specify an extension time in seconds, with a numeric value from 10 to 99999. You can also specify the following values for the extension time:
    - default: 30 seconds

    - none: No extension time
  4. Operation to perform for a violation (violation_actions)
    Specify the operation to perform when the extension time is exceeded after the upper limit value is exceeded. Specify any of the following operations. The default is none.
    - none

       Output the message.
    - shutdown

    Output the message and shut down physical partitions until power consumption falls below the upper limit value. An ordered shutdown is carried out on the physical partitions in decreasing order of PPAR-ID.

    - poff

    Output the message and forcibly power off physical partitions until power consumption falls below the upper limit value. The physical partitions are forcibly stopped in decreasing order of PPAR-ID.
Note - If the setting of the upper limit value of power consumption is based on the average power consumption during operation, the rush current generated in the power-on process, self-diagnosis test, etc. at SPARC M12/M10 system startup may be a problem. You can prevent exceeding the upper limit value of power consumption by using the setpowerupdelay command, which is an XSCF command, to stagger the power-on times of multiple physical partitions to even out the rush current.
Note - When the burden on the server suddenly increases due to the customer's operation, power consumption may also increase sharply. As a result, power consumption may exceed the designated upper limit over a long period of time. Therefore, before starting system operation for your business, set the value for violation_actions to "none" (default) to avoid affecting the continuity of system operation. Next, after executing an environment test on the customer's side, make sure that the upper limit for power consumption (powerlimit_w, powerlimit_p) is not too low, and the extension time (timelimit) for the upper limit to be exceeded is not too short. Then, set the value for violation_actions.
For details of the setpowercapping command, see the man page of the setpowercapping(8) command or the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 XSCF Reference Manual.
Operation Procedure
  1. Execute the showenvironment power command to check the system power information.
    Using the values for [Peak Permitted] and [Actual AC power consumption], set the upper limit for power consumption.
XSCF> showenvironment power
Power Supply Maximum      :5000W
Installed Hardware Minimum:1268W
Peak Permitted            :2322W
BB#00
    Permitted AC power consumption:5000W
    Actual AC power consumption   :1719W
  1. Each item shows the following:
    - Power Supply Maximum: Maximum power consumption of the power supply unit (PSU) for the entire system

    - Installed Hardware Minimum: The minimum value that can be set with setpowercapping

    - Peak Permitted: Reference value for assumed peak power

    - Permitted AC power consumption: Maximum power consumption of the PSU (*1)

    - Actual AC power consumption: Actual power consumption value in the chassis

    *1 In the SPARC M12, "Available AC power consumption" is displayed. The rated power consumption of the PSU is also displayed.
  1. Execute the setpowercapping command.
    The following example sets 1800 W as the upper limit value for power consumption and 90 seconds as the extension time when the upper limit value is exceeded.
XSCF> setpowercapping -s powerlimit_w=1800 -s timelimit=90
activate_state      :enabled -> -
powerlimit          :2322w -> 1800w
timelimit           :30 -> 90
violation_actions   :none -> -
The specified options will be changed.
Continue? [y|n]     :y
configured.
activate_state      :enabled
powerlimit          :1800w
timelimit           :90
violation_actions   :none
  1. Enable the limit for power consumption.
XSCF> setpowercapping -s activate_state=enabled
activate_state      :disabled -> enabled
powerlimit          :1800w -> -
timelimit           :90 -> -
violation_actions   :none -> -
The specified options will be changed.
Continue? [y|n]     :y
configured.

activate_state      :enabled
powerlimit          :1800w
timelimit           :90
violation_actions   :none