CPC G06F 1/3234 (2013.01) | 12 Claims |
1. A method of adjusting power consumption of a server, the server including a baseboard management controller (BMC) and a processing module, the processing module including a central processing unit (CPU), the BMC being electrically connected to a power supply for receiving electrical energy supplied by the power supply, the processing module being electrically connected to the BMC and operating based on the electrical energy thus received according to a current setting value of a power consumption limit that is only related to power consumption of the CPU of the processing module, the method comprising steps of:
the BMC obtaining a series of consecutive values of power conveyed by the power supply to the server; and
based on the values of power currently obtained, the BMC adjusting the current setting value of the power consumption limit to be within a range from a preset standard lower limit to a preset standard upper limit,
wherein the step of adjusting the current setting value of the power consumption limit includes sub-steps of:
determining whether every single one of the values of power is greater than a first preset value; and
when it is determined that every single one of the values of power is greater than the first preset value, reducing the current setting value of the power consumption limit.
|