This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2012-192497, filed on Aug. 31, 2012, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a technique of suppressing the power consumption of a processor such as a Central Processing Unit (CPU) or the like that executes instructions.
Processors that execute instructions are widespread in the form of products under the name of a CPU, an MPU (Micro-Processing Unit), a processor, etc., and are mounted on various types of electronic devices. In particular, servers that are required to have a high processing performance have many processors.
Voltages applied to processors are much lower than voltages of a commercial power supply. Accordingly, an information processing apparatus such as a server having a processor is provided with at least one power supply device for converting voltages. An information processing apparatus that is required to have a high reliability is provided with a plurality of power supply devices. This is for the purpose of enabling operations even when one power supply device has become unable to supply power due to a failure or the like.
Usually, a power supply device is provided with an overcurrent protection function, which prevents an overcurrent from flowing, so that the power supply device itself or load devices are not broken. This overcurrent protection function limits the amounts of output currents so as to reduce output voltages when currents that have been determined to be overcurrents have flowed.
Selection of a power supply device provided with an overcurrent protection function as described above has to be made in such a manner that the occurrence of overcurrents is prevented. However, as the ratings of power supply devices increase, their procurement costs also increase, and their sizes also increase. Also, the conversion efficiency of power varies in accordance with the amount of power to be supplied, and tends to decrease as the amount of supplied power becomes smaller than the amount of supplied power that leads to the highest conversion efficiency. Accordingly, the rating of a power supply device to be employed is usually controlled so that it does not considerably exceed the maximum power consumption of the information processing apparatus by taking the procurement costs, the size, and the conversion efficiency into consideration. This is also applied to a case where a plurality of power supply devices provide power. It is desirable to employ a power supply device of a smaller size in order to reduce the total size of the information processing apparatus.
Because of the above reasons, when a plurality of power supply devices provide power, there is a possibility that the stoppage of a supply of power from at least one power supply device causes overcurrents to flow to power supply devices that are providing power. Many information processing apparatuses such as servers or the like are provided with redundant power supply devices that provide power as necessary. In an information processing apparatus provided with this redundant power supply device, a redundant power supply device can start a supply of power when the supply of power from a power supply device has stopped. However, even when a redundant power supply device has started a supply of power, overcurrents may flow to a power supply device that is supplying power when the start of the supply of power is delayed, resulting in lowered output voltages.
Today, electronic devices such as a processor like a CPU or the like, a semiconductor memory, etc., have been advanced to operate at lower voltages. Accompanying this advance toward operations at lower voltages, the tolerance of variations in voltages of electronic devices has become narrower. Many such electronic devices are used in an information processing apparatus such as a server, etc. Accordingly, reduction in output voltages in a power supply device often cause malfunctions of electronic device. Malfunctions of electronic devices cause systems to go down. Thus, it is also important to be able to immediately suppress the power consumption of an information processing apparatus so that overcurrents do not flow to a power supply device.
Today, accompanying the advance of semiconductor technology, processors have started to include an immense number of transistors, and their power consumption has also increased. Usually, processors consume a large part of the power consumed by electronic devices included in an information processing apparatus. Accordingly, it is important to suppress the power consumption of processors in order to efficiently suppress the power consumption of an information processing apparatus.
In recent years, some information processing apparatuses have a DVFS (Dynamic Voltage Frequency Scaling) function as a power saving function. A DVFS function can reduce the power-supply voltage applied to a processor and/or the frequency of a clock used by a processor. Reduction in ether a power-supply voltage or a clock frequency will lead to better suppression of the power consumption of the processor. A power-supply voltage applied to a processor is usually obtained by converting power supplied by a power supply device.
However, reducing a power-supply voltage and a clock frequency requires time to some extent. For example, changing a clock frequency requires changing the multiplication number of a PLL (Phase Locked Loop) circuit. This change of a clock frequency through a PLL circuit can be performed within approximately several hundred μs. When a power supply device has failed, the power-supply voltage decreases gradually, and this time period is long enough to cause malfunctions in modern processors. Accordingly, it is important to be able to suppress power consumption in a processor immediately.
Patent Document 1: Japanese Laid-open Patent Publication No. 2009-60758
Patent Document 2: Japanese Laid-open Patent Publication No. 7-28561
A system to which embodiments of the present invention have been applied includes an instruction issuance unit configured to control issuance of an instruction, an instruction processing circuit configured to execute an instruction issued by the instruction issuance unit, an instruction input unit configured to input, from outside, a power instruction related to power consumption, and an execution frequency control unit configured to control the instruction issuance unit or the instruction processing circuit or any combination thereof so as to reduce an execution frequency at which the instruction processing circuit executes an instruction, when the power instruction input by the instruction input unit requests that the power consumption be suppressed.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
Hereinafter, embodiments of the present invention will be explained in detail by referring to the drawings.
Converter) 4, and a storage device 5. The information processing apparatus also includes a PCI (Peripheral Components Interconnect) card or the like as constituent elements, although they are not illustrated in the drawings. This PCI card is used for performing communications through, for example, networks.
The above CPU 3 is a processor according to the present embodiment. An information processing apparatus according to the present embodiment includes this CPU 3 as a constituent element. The configuration of the information processing apparatus is not limited to the configuration illustrated in
The PSUs 2 are power supply devices that output direct-current power obtained by stepping down the voltage of an input alternating current. As illustrated in
The AC/DC conversion unit 21 converts an input alternating current into a direct current. The current sensor 22 detects the amount of the direct current obtained by the conversion. The comparator 23 compares the result of detecting the current amount by the current sensor 22 with the value that corresponds to the rating of the AC/DC conversion unit 21, and thereby determines whether or not the current being supplied from the AC/DC conversion unit 21 is an overcurrent. The determination result by the comparator 23 is output to the SP 1. Hereinafter, this determination result is also referred to as a “present report”. The purpose of outputting this present report to an SP 20 in real time is to respond immediately to the overcurrent flowing into the PSUs 20.
The SP 20 is a management device that manages the information processing apparatus including the SP 20, and includes an MPU 11, an FPGA (Field Programmable Gate Array) 12, a memory 13, and a ROM (Read Only Memory) 14. In addition, the SP 20 includes a PCI card for performing communication with networks, although this is not illustrated specifically.
The ROM 14 stores control FW (FirmWare) to be executed by the MPU 11. The MPU 11 manages the information processing apparatus by reading, onto the memory 13, control FW (firmware) 140 stored in the ROM 14 so as to execute the control FW 140. The FPGA 12 is mounted on the SP 1 for performing communication with the PSUs 2 and the CPU 3. On this FPGA 12, a communication unit 121 used for communication with the CPU 3, an overcurrent display register (reg) 122 to which the values of present reports are written, and a mounting state register (reg) 123 are mounted. The mounting state register (reg) 123 stores mounting information that represents constituent elements included in the information processing apparatus.
The control FW 140 executed by the MPU 11 includes an SP-OS communication control function 141, a configuration recognition function 142, a configuration report function 143, an overcurrent report detection function 144, an overcurrent abnormality cancellation report function 145, and an interruption process function 146 as subprograms. These functions 141 through 146 are related to the control of power consumption in the CPU 3. Functions related to ordinary management are omitted from the figure.
The SP-OS communication control function 141 is a function for controlling communication that uses the communication unit 121 of the FPGA 12. The configuration recognition function 142 is a function for recognizing the configuration of the information processing apparatus, and results of recognizing constituent elements by the configuration recognition function 142 are stored in the mounting state register 123 of the FPGA 12 as mounting information. The configuration report function 143 is a function for reporting mounting information stored in the mounting state register 123 to the CPU 3. The SP-OS communication control function 141 is used for reporting mounting information to the CPU 2.
The overcurrent report detection function 144 is a function for detecting the occurrence of overcurrents by referring to the present report data stored in the overcurrent display register 122.
The FPGA 12 detects changes in the content of present reports, i.e., changes from content indicating no occurrence of overcurrents into content indicating the occurrence of overcurrents, and turns on (activates), for example, a forcible-low-power-mode signal output from the communication unit 121. A forcible low-power mode is a mode that makes the CPU 3 suppress the power consumption immediately, and turning on a forcible-low-power-mode signal indicates that this forcible low-power mode has been set. In this example, it is assumed that the value of the forcible-low-power-mode signal is 1, i.e., that the voltage level thereof is H (high). This forcible-low-power-mode signal is output from a state detorminator 901 illustrated in
The overcurrent abnormality cancellation report function 145 is a function for transmitting a cancellation report of a response to an overcurrent (overcurrent abnormality cancellation report) to the CPU 3. The interruption process function 146 is a function for making the MPU 11 perform an interruption process in instruction to make a response to the occurrence of an overcurrent.
The CPU 3 includes a communication unit 31, a forcible power saving control circuit (an execution frequency control circuit) 32, a state display register 33, a DVFS setting register 34, and a DVFS control circuit (voltage frequency control circuit) 35. More detailed explanations will be given later by referring to
The communication unit 31 enables communications with the communication unit 121 of the FPGA 12. The forcible power saving control circuit 32 and the DVFS control circuit 35 can both suppress the power consumption of the CPU 3. A forcible-low-power-mode signal output from the communication unit 121 of the FPGA 12 is input to the forcible power saving control circuit 32 directly, not via the communication unit 31.
Power output from the PSUs 2 is converted by the DDC4 into power at a different voltage, and is supplied to the CPU 3. The DVFS control circuit 35 can control the voltage of power supplied from the DDC4 (power-supply voltage) in accordance with a VID (voltage IDentifier) set in the DDC4. The DVFS control circuit 35 can control the frequency of a clock for operating the CPU 3 in accordance with the setting of the multiply rate of a PLL circuit 210 illustrated in
Making the DVFS control circuit 35 reduce a power-supply voltage and/or a clock frequency requires a time period to some extent. Accordingly, even when the DVFS control circuit 35 immediately reduces a power-supply voltage and/or a clock frequency in response to a present report indicating the occurrence of an overcurrent, there is a possibility that the voltage of power supplied by the PSUs 2 drops to a level sufficient to cause a malfunction in the CPU 3 or the like. Accordingly, the forcible power saving control circuit 32 is provided in order to suppress the power consumption of the CPU 3 more rapidly. The purpose of inputting, directly to the forcible power saving control circuit 32, the forcible-low-power-mode signal output from the communication unit 121 of the FPGA 12 is to suppress the power consumption of the CPU 3 more rapidly.
When a forcible-low-power-mode signal has been turned on, the forcible power saving control circuit 32 stores, in the state display register 33, data indicating that the signal has been turned on. The data stored in the state display register 33 is referred to by the OS 50. Thereby, the OS 50 recognizes the fact that the forcible low-power mode has been set.
This OS 50 includes a DVFS set value change request reception function 51, a DVFS set value determination function 52, a DVFS set value setting function 53, an interruption process function 54, a configuration report reception function 55, an SP-OP communication control function 56, and an overcurrent abnormality cancellation reception function 57 as subprograms. These functions 51 through 57 are related to setting of a forcible low-power mode. Ordinary functions related to an OS are omitted in this explanation.
The DVFS set value change request reception function 51 refers to data stored in the state display register 33 so as to determine the necessity of performing DVFS. In
The DVFS set value determination function 52 is a function for determining a VID and a multiply rate to be set, and is activated by the DVFS set value determination function 52. The DVFS set value setting function 53 is a function for storing, in the DVFS setting register 34, data representing a VID and a multiply rate determined by the DVFS set value determination function 52. The interruption process function 54 is a function that refers to data stored in the state display register 33 so as to make the CPU 3 activate, for example, the DVFS set value change request reception function 51 via an interruption process.
The configuration report reception function 55 is a function for processing mounting information that is reported from the SP 20 and that is stored in the mounting state register 123. The SP-OP communication control function 56 is a function for controlling communications with the SP 20 via the communication unit 31. The overcurrent abnormality cancellation reception function 57 is a function for processing the cancellation of a response to an overcurrent reported from the SP 20. This overcurrent abnormality cancellation reception function 57 can activate the DVFS set value determination function 52 in order to return a VID and a multiply rate to the normal values.
The cyclic counter 211 transmits and receives data through a bus. The communication unit 31 illustrated in
In order to read an instruction, the instruction issuance control circuit 205 specifies the address of the instruction, and performs a reading process. Then, the instruction stored in the level 2 cache 202 at the specified instruction is output to the instruction issuance control circuit 205 via the instruction level 1 cache 203. Data is read by the control logic 207, and accordingly the address of the data is specified so as to perform the reading process. Data stored in the level 2 cache 202 is output to one of registers in the register group 209 via the level 1 cache 204. This register group 209 includes an input register group for storing data to be supplied to the ALU group 208, and an output register group for storing data output from the ALU group 208.
The instruction issuance control circuit 205 reads an instruction stored in the instruction level 1 cache 203, and issues the read instruction as an instruction to be executed. The instruction issuance control circuit 205, as illustrated in, for example,
The instruction type/instruction dependency determination circuit 301 generates an address of an instruction to be fetched from the instruction level 1 cache 203 so as to fetch the instruction, predicts the branching destination and the branching direction of the fetched instruction, and stores an instruction to be issued in one of the queues 302 through 304 in accordance with the instruction type. Thereby, the integer computation instruction queue 302 only stores integer computation instructions, the floating-point computation instruction queue 303 only stores floating-point computation instructions, and the instruction queue 304 only stores instructions of types other than the first two types. In this example, it is assumed that only instructions to generate virtual addresses (referred to as “virtual address addition instruction” hereinafter) are stored in the instruction queue 304. According to this assumption, the ALU group 208 includes at least one integer execution pipeline, at least one floating-point execution pipeline, and at least one virtual address adder, respectively.
The two cyclic counters 211 count the clock output from the PLL circuit 210, and turn on (activate) a carry signal so as to reset the counted value to the initial value when the counted value has reached a set value (denoted by “count value” in
The two instruction processing circuits 206 are buffers for holding, for example, instructions of corresponding instruction types until those instructions become executable. Accordingly, instructions read from the respective queues 302 through 304 of the instruction issuance control circuit 205 are output to one of the instruction processing circuits 206 to which the instruction has to be output. Instruction types to be made to correspond to the respective instruction processing circuits 206 are not limited particularly. However, in this example, it is assumed for convenience that integer computation instructions and floating-point computation instructions are made to correspond to the instruction processing circuit 206-1 while virtual address addition instructions are made to correspond to the instruction processing circuit 206-2. It is also assumed that carry signals output from the cyclic counter 211-1 are input to the integer computation instruction queue 302 and the floating-point computation instruction queue 303 while carry signals output from the cyclic counter 211-2 are input to the instruction queue 304.
Instructions held by the instruction processing circuits 206 are read by the register group 209. This control logic 207 reads instructions that have become executable (can be input) from the corresponding instruction processing circuits 206, and supplies the instructions to corresponding ALUs in the ALU group 208. Data necessary to execute instructions of the ALU group 208 is obtained from the register group 209. Data obtained by executing instructions of the ALU group 208 can be output to the level 1 cache 204 via the register group 209.
Data that has been written to the state display register 33 by the forcible power saving control circuit 32 is referred to by the OS 50 via the ALU group 208. Data is stored in the DVFS setting register 34, which is referred to by the DVFS control circuit 35, also via the ALU group 208.
The forcible power saving control circuit 32 is a circuit that sets count values for the cyclic counters 211. When a forcible-low-power-mode signal has been turned on, i.e., when the forcible low-power mode has been set, the forcible power saving control circuit 32 sets a greater count value for at least one of the two cyclic counters 211. This decreases the frequency at which the instruction issuance control circuit 205 issues instructions.
This decrease in the instruction issuance frequency decreases the frequency at which instructions are issued in the ALU group 208. This causes a reduction in switching by the CPU 3, and also makes the clock gating mechanism, which blocks the supply of clocks to ALUs that are not operating, operate more. Count values can be set for the two cyclic counters 211 very promptly. A forcible-low-power-mode signal, which triggers updating of setting of count values for the cyclic counters 211, is input directly from the FPGA 12 to the forcible power saving control circuit 32. Therefore, even when an overcurrent has occurred in one of the two PSUs 2, the power consumption of the CPU 3 can be reduced to a sufficiently low level.
In an information processing apparatus, the power consumption by CPUs occupies a majority part of the total power consumption. For example, the power consumption of a PCI card is approximately 25 W and the power consumption of a hard disk device is approximately 15 W, while the power consumption of a CPU is approximately 250 W. It is possible to design a system that reduces immediately the power consumption of CPUs so as to avoid a situation where an output voltage of the PSU 2 for supplying power decreases to a level that causes malfunctions in the overcurrent protection function.
It is possible to avoid a situation where a voltage output from the PSU 2 for supplying power decreases to a level that causes malfunctions in the overcurrent protection function, and thereby continuous operations are possible even when a PSU is not mounted on an information processing apparatus as a substitute for the PSU 2 that has stopped supplying power. Accordingly, by reducing the number of PSUs to be mounted, the reduction of production costs, size, etc. of information processing apparatuses can be achieved more easily.
When “1” is set as the count value for each of the cyclic counters 211, the situation is a normal situation, where none of the PSUs 2 have overcurrents occurring therein.
The changing of the count values for the cyclic counters 211-1 and 211-2 in the forcible low-power mode as illustrated in
The cyclic counter 211-2 for which “0” has been set as the count value does not turn on a carry signal. Accordingly, the instruction issuance control circuit 205 does not output an instruction to the instruction processing circuit 206-2. The purpose of changing the count value of the cyclic counter 211-2 to “0” is to make the clock gating mechanism operate more effectively. In other words, the purpose is to achieve necessary power consumption reduction more securely. When the count value of the cyclic counter 211-2 is changed to “0”, the supply of power to the corresponding ALU may be stopped.
When the ALU group 208 includes a plurality of ALUs that are of the same type, it is also possible to employ a configuration in which the count values of the cyclic counters 211 are not changed and the supply of power is stopped for all ALUs of the same type except for at least one ALU. Even when the supply of power for ALUs is stopped, power consumption can be reduced sufficiently.
Usually, at the time when the frequency at which the instruction issuance control circuit 205 issues instructions, instructions that have not been executed remain in the respective instruction processing circuits 206. However, the time required to execute one instruction is ins or shorter. It is sufficient to be able to eliminate an overcurrent condition of the PSUs 2 before the time period of 100 μs elapses after the overcurrent occurred. Accordingly, the number of instructions that remain unexecuted in the respective instruction processing circuits 206 can be ignored in practice because they are all processed before the time period of 100 μs elapses.
The example illustrated in
When a forcible-low-power-mode signal has been turned on, the forcible power saving control circuit 32 stores in the state display register 33 data indicating that the forcible low-power mode has been set. Thereby, the VID to be set and the data representing the multiply rate are stored in the DVFS setting register 34 under the control of the OS 50. Thereby, the DVFS control circuit 35 changes at least one of the VID set in the DDC4 and the multiply rate set in the PLL circuit 210. A VID to be set and data representing a multiply rate are referred to as a “DVFS setting value” hereinafter.
As a configuration of the information processing apparatus, only the numbers of the CPUs 3, the DIMMs, and the PCI cards are assumed. Thereby,
When the forcible low-power mode has been set, the DVFS control circuit 35 controls the DDC4 and the PLL circuit 210 in accordance with the DVFS setting value determined as illustrated in
This cancellation instruction is given after performing the control of the DDC4 and the PLL circuit 210, i.e., after the setting of the VID and the multiply rate and before the completion of the changing based on the settings. Therefore, even when the count values for the cyclic counters 211 are returned to the count values for the normal state, the power consumption can be reduced sufficiently. Accordingly, the forcible power saving control circuit 32 cancels the setting of the forcible low-power mode in accordance with the cancellation instruction from the DVFS control circuit 35, and sets the count values for the normal state in the cyclic counters 211. The purpose of making the forcible power saving control circuit 32 cancel the setting of the forcible low-power mode as described above is to simplify the process of the OS/control FW, and it is also possible to employ a configuration in which the setting of the forcible low-power mode is cancelled by the OS/FW, not by the hardware.
The overcurrent that has occurred in the PSU 2 is detected by the current sensor 22, and a present report indicating the occurrence of an overcurrent is output from the comparator 23 (S1). In response to this present report, the FPGA 12 turns on a forcible-low-power-mode signal, and that present report is stored as data in the overcurrent display register 122 of the FPGA 12 (S2). As a result of this, the occurrence of the overcurrent is recognized by the MPU 11 (the control FW 140 executed by the MPU 11) of the SP 1 and by the OS 5 executed by the CPU 3. In response to the turning on of the forcible-low-power-mode signal, the forcible power saving control circuit 32 of the CPU 3 sets the count values for the cyclic counters 211 as illustrated in
The OS 50 that has detected the occurrence of the overcurrent, i.e., the fact that the forcible low-power mode has been set, refers to the mounting information (
In response to the storing of the DVFS setting value in the DVFS setting register 34, the DVFS control circuit 35 controls the DDC 4 and the PLL circuit 210 so as to reduce the voltage of the power output from the DDC 4 and the frequency of the clock output from the PLL circuit 210. After reducing the voltage and the frequency, the DVFS control circuit 35 instructs the forcible power saving control circuit 32 to cancel the setting of the forcible low-power mode. In response to this instruction, the forcible power saving control circuit 32 sets the count values of the normal state in the cyclic counters 211. By setting these count values, the operations of the information processing apparatus accompanying the occurrence of an overcurrent in at least one of the PSUs 2 is completed.
Usually, in a configuration employing the two PSUs 2 for supplying power, what causes an overcurrent in at least one of the two PSUs 2 is the stoppage of a supply of power from one of the PSUs 2. Even when one of the PSUs 2 has stopped supplying power, the reduction in the power consumption in the CPU 3 based on the setting of the forcible low-power mode eliminates the overcurrent in the PSU 2 that is supplying power. Accordingly, it is assumed in the present embodiment that the supply of power after the stoppage of the supply of power from one of the PSUs 2 is restarted by replacement with a different PSU 2. Replacement with a different PSU 2 is recognized by the configuration recognition function 142 of the control FW 140. Next, detailed explanations will be given for the operations performed by the information processing apparatus when the replacement with a different PSU 2 has been performed, by referring to
When a maintenance technician has replaced the PSU 2 that has stopped supplying power with a different PSU 2, the PSU 2 that has been mounted newly as a result of that replacement is recognized by the MPU 11 of the SP 1. In response to this recognition, the MPU 11 makes the FPGA 12 transmit an overcurrent abnormality cancellation report to the CPU 3 (S11).
The overcurrent abnormality cancellation report transmitted to the CPU 3 is processed by the OS 50. The OS 50 sets the DVFS setting value for the normal state in response to the reception of the overcurrent abnormality cancellation report, and stores the set DVFS setting value in the DVFS setting register 34 (S12). Thereby, the voltage of power output from the DDC 4 and the frequency of the clock output from the PLL circuit 210 are both returned to the values in the normal state. As a result of this, the power saving state of the CPU 3 is cancelled, and the operations performed by the information processing apparatus accompanying the replacement with a different PSU 2 are completed.
Note that although the DVFS control circuit 35 performs the cancellation of the setting of the forcible low-power mode in the forcible power saving control circuit 32 in the present embodiment, the forcible power saving control circuit 32 may perform this cancellation by using a different method. Hereinafter, an alternative example thereof will be explained specifically by referring to
A timer 902 outputs a rest signal to the state detorminator 901, e.g., turns on (activates) a reset signal after a prescribed time period has elapsed after the forcible-low-power-mode signal has been turned on. The state detorminator 901 turns off the forcible-low-power-mode signal in response to the turning on of the reset signal. The value of the reset signal in the ON state is assumed to be 1; in other words, the voltage level thereof is assumed to be High.
In the arrangement of the FPGA 12 as described above, by setting a time that is longer than a prescribed period in the timer 902, a time period can be secured before the DDC 4 and the PLL circuit 210 have reduced a voltage and a clock frequency under the control of the DVFS control circuit 35. Therefore, the cancellation of the forcible low-power mode in the forcible power saving control circuit 32 can be performed appropriately.
When the arrangement as illustrated in
Also, depending upon the system configuration, there is a possibility that the power consumption by the hardware and the amount of the power supplied by one PSU 2 will be in balance with each other, which is a situation where software loads make the power consumption by the hardware exceed the amount of supplied power only during a short period of time. In such a case, operations are possible in the cycle of an increase in software loads, the occurrence of an overcurrent in the PSU 2, the reduction of the power consumption in the CPU 3, the elimination of the overcurrent in the PSU 2, termination of software processes that need loads, the cancellation of the reduction of the power consumption of the CPU 3, and the continuation of the operation. When this operation is performed, it is possible to control the reduction in the processing performance of the information processing apparatus (CPU 3) caused by the stoppage of power supplied by the PSU 2 so that the processing performance reduction occurs only during a short period of time when the software loads are in an increased state.
When the information processing apparatus operates in the above cycle, it is not necessary to make the information processing apparatus perform the operation of the flowchart illustrated in
In response to a turning off of a forcible-low-power-mode signal, the forcible power saving control circuit 32 cancels the setting of the forcible low-power mode and also writes to the state display register 33 data indicating that the cancellation has been made, and reports that fact to the OS 50 (S21). In response to the report, the OS 50 stores the DVFS setting value in the normal state in the DVFS setting register 34 (S22). Thereby, the DVFS control circuit 35 returns the voltage output from the DDC 4 and the clock frequency output from the PLL circuit 210 to their normal states, respectively. As a result of this, the power saving state of the CPU 3 is cancelled, and the operations performed by the CPU 3 accompanying the turning off of a forcible-low-power-mode signal is completed.
There is a strong possibility that an overcurrent will occur in the PSUs 2 again when software loads have not been decreased after the cancellation of the power saving state as described above. Accordingly, the cancellation of the power saving state is performed during a short period of time before a forcible-low-power-mode signal is turned on again.
Alterations other than the above alteration examples maybe made for the present embodiment. For example, it is also possible to employ a configuration in which a forcible-low-power-mode signal is turned on so as to set the forcible low-power mode in the forcible power saving control circuit 32, and thereafter the setting is cancelled automatically when a prescribed time period measured by the timer 902 has elapsed.
By employing the present invention, when an overcurrent has occurred in a power supply device that supplies power, the power consumption of the information processing apparatus to which the power is supplied can be suppressed immediately.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2012-192497 | Aug 2012 | JP | national |