Information processing apparatus and control method

The information processing device optimizes power consumption by monitoring and adjusting processor parameters based on responsiveness, addressing inefficiencies in existing power management systems to reduce waste and enhance performance.

JP2024135666AActive Publication Date: 2024-10-04LENOVO IRELAND INTERNATIONAL LTD

Patent Information

Application Number
JP2023046466
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04
Estimated Expiration
2043-03-23

AI Technical Summary

Technical Problem

Existing information processing devices face challenges in effectively controlling power consumption of processors, leading to inefficiencies and waste, as the relationship between power consumption and performance is influenced by factors like background tasks and memory bandwidth, resulting in suboptimal power management.

Method used

An information processing device with an arithmetic processing unit and a power monitoring unit that monitors power consumption and responsiveness, determining power control parameters based on detected responsiveness to commands, using methods like binary search to minimize power consumption within a predetermined range.

Benefits of technology

This approach reduces power waste without impairing user experience by optimizing power consumption based on responsiveness, thus enhancing efficiency and reducing unnecessary power usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135666000001_ABST
    Figure 2024135666000001_ABST
Patent Text Reader

Abstract

To provide an information processing apparatus and a control method which can eliminate or reduce waste of power without impairing user's experience.SOLUTION: An information processing apparatus comprises: an arithmetic processing unit; and a power monitoring unit which monitors power consumption of the arithmetic processing unit. The power monitoring unit detects responsiveness to a prescribed command in the arithmetic processing unit, and determines a power control parameter for use in power control of the arithmetic processing unit on the basis of the responsiveness. The present embodiment can be implemented in any form such as the information processing apparatus, a control method, or the like.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to a technique for controlling power consumption of an information processing device. [Background technology]

[0002] Information processing devices such as personal computers (PCs) are equipped with processors such as central processing units (CPUs) and execute various types of arithmetic processing. The power consumption of the processor accounts for a large portion of the power consumption of the information processing device. In general, the more the power consumption of the processor increases, the shorter the calculation time tends to be (see FIG. 11). In such cases, the processor's response time is shortened, resulting in a better user experience (UX). However, depending on the operating state of the processor, even if the power control parameters are changed to accommodate more power consumption, the calculation time of the processor may not be shortened. In such a situation, the performance does not improve even if the power consumption increases, and power is wasted. Therefore, it is desirable to control the power consumption of the processor within an effective control range where the performance is significantly improved as the power consumption increases (see FIG. 12). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-041007 A Summary of the Invention [Problem to be solved by the invention]

[0004] The relationship between power consumption and performance depends on various factors. For example, when background tasks are running, the effective control range tends to be narrow (see Figure 13). In such cases, power consumption is not effectively controlled. Power consumption due to calculation processing generates heat and causes performance degradation. In addition to calculation speed, memory bandwidth also affects processor performance. In general, the larger the memory bandwidth, the higher the power consumption tends to be (see Figure 14). Therefore, even if the processor parameters are changed, the power consumption does not change significantly, and power is wasted. [Means for solving the problem]

[0005] The present application has been made to solve the above-mentioned problems, and an information processing device according to one aspect of the present application comprises a calculation processing unit and a power monitoring unit that monitors the power consumption of the calculation processing unit, and the power monitoring unit detects the responsiveness of the calculation processing unit to a specified command and determines power control parameters to be used for power control of the calculation processing unit based on the responsiveness.

[0006] In the above-mentioned information processing device, the power monitoring unit may select, as the control value of the power control parameter, a candidate parameter that minimizes the power consumption from among candidate parameters that are power control parameters that provide a responsiveness that is within a predetermined range from a reference parameter that is a reference value of the power control parameter.

[0007] In the above information processing device, the power monitoring unit may use a binary search method to search for a candidate parameter that minimizes the power consumption from N (N is an integer equal to or greater than 2) candidate parameters.

[0008] In the above information processing device, the power monitoring unit may issue the command to the arithmetic processing unit, and detect a response time to the command as the responsiveness.

[0009] In the above information processing device, the arithmetic processing unit may notify the power monitoring unit of responsiveness to the command when it detects the issuance of the command.

[0010] In the above-mentioned information processing device, the power monitoring unit may determine the power control parameter based on the responsiveness when the load amount of the calculation processing unit is greater than a first reference load amount, and when the load amount of the calculation processing unit is equal to or less than a second reference load amount, select a predetermined power control parameter that gives a smaller power consumption than the candidate parameter as the control value of the power control parameter.

[0011] In the above-mentioned information processing device, the power control parameters include a first limit power, a second limit power and a fourth limit power, the first limit power being the rated power of a processor constituting the arithmetic processing unit, the second limit power being the short-term average maximum power of the processor, and the fourth limit power being the instantaneous maximum power of the processor.

[0012] A control method according to a second aspect of the present application is a control method in an information processing device having an arithmetic processing unit, in which the information processing device monitors power consumption of the arithmetic processing unit, detects responsiveness of the arithmetic processing unit to a specified command, and determines power control parameters to be used for power control of the arithmetic processing unit based on the responsiveness. Effect of the Invention

[0013] According to this embodiment, it is possible to eliminate or mitigate power waste without impairing the user experience. [Brief description of the drawings]

[0014] [Figure 1] 1 is a schematic block diagram illustrating an example of a hardware configuration of an information processing device according to an embodiment of the present invention. [Diagram 2] 2 is a block diagram showing an example of a functional configuration of the information processing device according to the present embodiment. FIG. [Diagram 3] FIG. 4 is an explanatory diagram showing an example of setting power control parameters according to the embodiment; [Figure 4] FIG. 4 is an explanatory diagram showing a first example of a procedure for selecting power control parameters in the present embodiment. [Diagram 5] FIG. 11 is an explanatory diagram showing a second example of a procedure for selecting power control parameters in the present embodiment. [Figure 6] 11 is a block diagram showing another example of the functional configuration of the information processing device according to the embodiment. FIG. [Figure 7] FIG. 11 is a diagram illustrating a first example of power consumption when an application is executed. [Figure 8] FIG. 11 is a diagram illustrating a second example of power consumption when an application is executed. [Figure 9] FIG. 11 is a diagram illustrating an example of a change over time in power consumption when an application is executed. [Figure 10] FIG. 13 is an enlarged view showing an example of a change in power consumption over time in a certain period. [Figure 11] FIG. 2 is an explanatory diagram illustrating an example of the processing amount and power consumption of a processor. [Figure 12] 1 is an explanatory diagram showing an example of power consumption, processing time, and UX of a processor. [Figure 13] 11 is an explanatory diagram showing another example of the power consumption, operation time, and UX of a processor. FIG. [Figure 14] FIG. 11 is an explanatory diagram showing an example of memory power consumption and memory bandwidth. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, an embodiment of the present application will be described with reference to the drawings. First, an overview of an information processing device 1 according to this embodiment will be described. The information processing device 1 includes a processing unit and a power monitoring unit that monitors the power consumption of the processing unit. The power monitoring unit detects the responsiveness of the processing unit to a predetermined command, and determines a power control parameter to be used for power control of the processing unit based on the detected responsiveness.

[0016] Next, a hardware configuration example of the information processing device 1 according to the present embodiment will be described. Fig. 1 is a schematic block diagram showing a hardware configuration example of the information processing device 1 according to the present embodiment. The information processing device 1 includes a CPU 11, a main memory 12, a video subsystem 13, a display 14, a chipset 21, a BIOS memory 22, an auxiliary storage device 23, an audio system 24, a WLAN card 25, a USB connector 26, an EC 31, an input unit 32, a power supply circuit 33, a battery 34, a heat dissipation fan 35, and a temperature sensor 36.

[0017] The CPU 11 forms the core of a system device included in the information processing device 1. The CPU 11 is a processor that executes various arithmetic processes instructed by commands written in software (programs). The CPU executes processes instructed by various programs, such as an OS (Operating System), a BIOS, and application programs (sometimes referred to as "apps" in this application). Note that executing processes instructed by commands written in a program may be referred to as "executing a program" or "running a program", etc.

[0018] The main memory 12 is a writable memory used as a read area for the processor's execution program or as a work area for writing processing data for the execution program. The main memory 12 is composed of, for example, a plurality of DRAM chips. The execution program includes an OS, various drivers for operating hardware such as peripheral devices, various services / utilities, applications, etc.

[0019] Video subsystem 13 mainly executes real-time image processing and other parallel arithmetic processing under the control of CPU 11. CPU 11 executes a graphic driver on the OS to control the operation of video subsystem 13 and realizes image processing instructed by the OS, applications, and other programs. Video subsystem 13 processes drawing commands input from CPU 11, writes the processed drawing information to a video memory (not shown), and also reads out this drawing information from the video memory and outputs it to display 14 via CPU 11 as display data showing display information (image processing).

[0020] The display 14 displays a display screen based on the display data output from the CPU 11. The display 14 may be, for example, any of a liquid crystal display (LCD) and an organic light emitting diode (OLED) display.

[0021] The chipset 21 includes a plurality of controllers and can be connected to a plurality of devices to input and output various data. The controllers are, for example, any one or a combination of bus controllers such as a Universal Serial Bus (USB), a serial AT Attachment (Serial ATA), a Serial Peripheral Interface (SPI) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express bus, and a Low Pin Count (LPC). The plurality of devices include, for example, a BIOS memory 22, an auxiliary storage device 23, an audio system 24, a WLAN card 25, a USB connector 26, and an EC 31, which will be described later.

[0022] The BIOS memory 22 is composed of an electrically rewritable non-volatile memory such as an EEPROM (Electrically Erasable Programmable Read Only Memory) or a flash ROM. The BIOS memory 22 stores firmware for controlling the operation of the BIOS, the EC31, and other devices. The BIOS is firmware for performing basic input and output of the system device. In this application, the BIOS also includes firmware defined in accordance with the specifications defined in the UEFI (Unified Extensible Firmware Interface).

[0023] The auxiliary storage device 23 permanently stores various data. The stored data includes various programs that can be executed by the CPU 11 and other devices, parameters, data used in various processes, and data acquired by various processes. The auxiliary storage device 23 may be, for example, a hard disk drive (HDD) or a solid state drive (SSD), and is configured to include various non-volatile memories. For example, a flash memory is used as the non-volatile memory. The various programs may include, for example, an OS, a driver, firmware, an application, and the like.

[0024] A microphone and a speaker (not shown) are connected to the audio system 24, and record, play, and output audio data. The microphone and the speaker may be built into the information processing device 1, or may be separate from the information processing device 1, for example.

[0025] A WLAN (Wireless Local Area Network) card 25 connects to a network via a wireless LAN and performs data communication with other devices via the network. The USB connector 26 is a connector for connecting peripheral devices using USB.

[0026] The EC 31 is a one-chip microcomputer that monitors and controls various devices (peripheral devices, sensors, etc.) regardless of the operating state of the system of the information processing device 1. The EC 31 includes a CPU separate from the CPU 11, a ROM, a RAM, A / D input terminals for multiple channels, a D / A output terminal, a timer, and digital input / output terminals (not shown). For example, an input unit 32, a power supply circuit 33, a heat dissipation fan 35, a temperature sensor 36, etc. are connected to the digital input / output terminals of the EC 31, and the EC 31 is capable of controlling the operations of these devices. Furthermore, the EC 31 may control power consumption by changing the operating frequency of the CPU 11, controlling the average processing speed, etc. via the chipset 21.

[0027] The input unit 32 includes an input device, such as a keyboard or a touch pad, that detects a user operation and outputs an operation signal corresponding to the detected operation to the EC 31. The input unit 32 may be configured as a touch sensor overlapping the display 14.

[0028] The power supply circuit 33 includes, for example, a DC / DC converter, a charge / discharge unit, and an AC / DC adapter. For example, the power supply circuit 33 converts a DC voltage supplied from an external power source such as an AC adapter (not shown) or a battery 34 into a plurality of voltages required for operating the information processing device 1. The power supply circuit 33 also supplies power to each unit of the information processing device 1 under the control of the EC 31.

[0029] The battery 34 includes a secondary battery such as a lithium ion battery. When the information processing device 1 is supplied with power from an external power source, the battery 34 is charged via the power supply circuit 33, and when the information processing device 1 is not supplied with power from an external power source, the battery 34 outputs the accumulated power via the power supply circuit 33 as the operating power of the information processing device 1.

[0030] The heat dissipation fan 35 is installed in a housing (not shown) of the information processing device 1, and cools the components stored inside the housing. The heat dissipation fan 35 mainly dissipates heat generated from components that generate a large amount of heat, such as the CPU 11. The heat dissipation fan 35 rotates fins to take in air into the housing, and exchanges heat between the taken-in air and the components installed inside the housing. The air whose temperature has increased due to the heat exchange is discharged to the outside of the housing. The operation of the heat dissipation fan 35 is controlled by, for example, the EC 31.

[0031] The temperature sensor 36 is provided inside the housing of the information processing device 1 and detects the temperature at that position. The temperature sensor 36 is placed close to a device that generates a large amount of heat, for example, a position within a predetermined distance from the CPU 11. The temperature sensor 36 outputs a temperature signal indicating the detected temperature to the EC 31. The EC 31 controls the operation of the heat dissipation fan 35 based on the temperature indicated by the temperature signal input from the temperature sensor 36.

[0032] In general, the power consumption of the CPU 11 is variable. The CPU 11 has a mechanism for controlling one or both of the operating voltage and the operating frequency according to the power consumption. For example, the CPU 11 executes system firmware and sets in its own register the maximum operating frequency allowed according to the operating state (operating mode) or power control mode of the main system of the information processing device 1. The main system is a computer system including hardware such as the CPU 11 and the main memory 12, and software such as an OS and schedule tasks. The devices that constitute the main system correspond to system devices. The CPU 11 forms the core of the system devices.

[0033] The CPU 11 executes the BIOS and cooperates with other system devices to control the input and output of data by each system device. The CPU 11 executes the OS in cooperation with the main memory 12 or other devices to provide basic functions of the information processing device 1. The basic functions include, for example, management and control of the execution states of various applications and other programs, provision of a standard interface for the execution of these programs, management of resources in the main system and in hardware that directly or indirectly cooperates with the main system, and the like.

[0034] Generally, the higher the operating frequency, the more the power consumption of a processor increases. A lower limit and an upper limit of the operating frequency are set for the processor. For example, a function or a control table showing the relationship between each operating frequency and power consumption is set in advance for the processor, and the operating frequency corresponding to the target power consumption can be determined by referring to this relationship. By setting the operating frequency to the lower limit, a minimum processing capacity is ensured. By setting the operating frequency to the upper limit, the processing capacity is maximized. This relationship can be associated with an operating mode and a power control parameter, as described below.

[0035] Generally, the higher the operating frequency or the higher the usage rate of a processor, the greater the power consumption and therefore the more heat it generates. The processor operates so that the power consumption is equal to or less than the set maximum power consumption by setting the operating frequency corresponding to the power consumption that is equal to or less than the maximum power consumption allowed. Therefore, the lower the operating frequency, the less the power consumption and the longer the process execution time. In addition, the OS allocates computing resources such as memory and power consumption to each process in order to enable the processing of multiple processes to be executed simultaneously. The execution time depends on the presence or number of other processes executed simultaneously and the processing instructed in each process. Therefore, the responsiveness of the CPU 11 depends on the operating state at any given time, and affects the user experience (UX: User Experience).

[0036] Next, an example of the functional configuration of the information processing device 1 according to this embodiment will be described. Fig. 2 is a block diagram showing an example of the functional configuration of the information processing device 1 according to this embodiment. The information processing device 1 includes an arithmetic processing unit 11a and a power monitoring unit 11b. The functions of the arithmetic processing unit 11a and the power monitoring unit 11b are realized by the CPU 11 working in cooperation with the main memory 12 and other hardware to execute processes instructed by commands (instructions) written in various programs such as an OS (Operating System), utility software, firmware, and application programs.

[0037] The arithmetic processing unit 11a executes arithmetic processing instructed by commands constituting various types of software. The power monitoring unit 11b monitors the operating state of the arithmetic processing unit 11a and controls the power consumption of the arithmetic processing unit 11a according to the operating state. Items to be monitored include power consumption. The power monitoring unit 11b functions as, for example, a power checker. Furthermore, a plurality of power control parameters are set in advance in the power monitoring unit 11b. The power monitoring unit 11b detects a predetermined event in the arithmetic processing unit 11a. The power monitoring unit 11b detects the responsiveness to the event detected for each power control parameter. The power monitoring unit 11b selects one power control parameter based on the detected responsiveness, and sets the selected power control parameter in the arithmetic processing unit 11a.

[0038] The power monitoring unit 11b issues a predetermined command to the arithmetic processing unit 11a (S02). The arithmetic processing unit 11a executes the process instructed by the command received from the power monitoring unit 11b, and outputs a response indicating the execution status to the power monitoring unit 11b. In this embodiment, a command for instructing a process that is a small-scale task (tiny task) and whose execution result is presented in a short time can be applied. As such a command, for example, existing commands such as a ping command, a process generation command, a thread creation command, and a window generation command can be used.

[0039] The power monitoring unit 11b receives a response input from the arithmetic processing unit 11a (S04). The power monitoring unit 11b detects the responsiveness to the issuance of a command to the arithmetic processing unit 11a based on the received response, and determines a power control parameter corresponding to the operating state of the arithmetic processing unit 11a (S06). The power monitoring unit 11b can measure the period from the issuance time of the command to the response time as an index of responsiveness. The response time is the time at which the response is obtained from the arithmetic processing unit 11a. The power monitoring unit 11b sets the determined power control parameters in the calculation processing unit 11a (S08). The calculation processing unit 11a controls power consumption using the set power control parameters.

[0040] The power control parameters include a first limit power (PL1: Power Limit 1), a second limit power (PL2: Power Limit 2), and a fourth limit power (PL4: Power Limit 4) in part or in whole. PL1 corresponds to the rated power. PL1 is a threshold value for allowing the power consumption of the CPU 11 to exceed this value temporarily, but restricting the power consumption of the CPU 11 from exceeding this value for a predetermined duration T or more. PL1 is also called a long-term power limit. When the power consumption exceeds PL1 for a duration τ (for example, 0.2 to 1 [s]) or more, the calculation processing unit 11a reduces the operating frequency so that the long-term moving average value of the power consumption becomes equal to or less than PL1. Also, the calculation processing unit 11a increases the operating frequency of the CPU 11 at that time point within a range in which the moving average value of the power consumption does not exceed PL1.

[0041] PL2 is a threshold value for restricting the short-term moving average of power consumption from exceeding this value. That is, the calculation processing unit 11a controls power consumption so that the short-term moving average does not exceed PL2. PL2 is also called a short-term power limit. PL4 corresponds to the instantaneous maximum power. PL4 is a threshold for restricting the instantaneous value of the power consumption of the CPU 11 from exceeding this value even if it is instantaneous (for example, for a short period of time of several tens of μs to several tens of ms). PL4 can be a value significantly larger than PL2 smoothed over time. The power control parameters may further include EPP (Energy Performance Preference). EPP is a parameter related to the frequency behavior of the operating frequency of the CPU 11. EPP is a parameter for instructing that the CPU 11 operates with higher performance as the setting value is smaller, and operates with lower power consumption as the setting value is larger.

[0042] The power monitoring unit 11b may repeat the processes of steps S02 to S08 (sometimes referred to herein as "parameter adjustment") at regular intervals (for example, 10 seconds to 3 minutes). Furthermore, when setting parameters once (S08), the power monitoring unit 11b may repeat the processes of S02 to S06 a predetermined number of times (for example, 5 to 20 times) or a predetermined period (for example, 30 seconds to 10 minutes) up to that point in time, and determine the power control parameters based on a moving average value obtained by averaging the responsiveness of each time. The moving average value may be a simple average value or a weighted average value.

[0043] The power monitoring unit 11b does not need to always perform parameter adjustment. For example, when power consumption is low and the operation mode is a power saving mode, parameter adjustment does not need to be performed. The power saving mode is an operation mode that consumes less power than the normal operation mode (sometimes referred to as "normal mode" in this application). The power saving mode corresponds to, for example, sleep states S1 to S4 defined in ACPI (Advanced Configuration and power Interface), and the normal operation mode corresponds to the S0 state.

[0044] Next, a power control parameter setting example according to this embodiment will be described below. Fig. 3 is an explanatory diagram showing a power control parameter setting example. The power monitoring unit 11b may monitor the operating status of the arithmetic processing unit 11a, and start parameter adjustment when the load amount of the arithmetic processing unit 11a exceeds a predetermined first reference load amount. The power monitoring unit 11b may determine that the load amount of the arithmetic processing unit 11a exceeds the first reference load amount, for example, when detecting any of the following cases. (ST01) When the power consumption P of the calculation processing unit 11a exceeds a predetermined start judgment power P_ON, (ST02) when the calculation processing unit 11a starts a foreground application, (ST03) when the calculation processing unit 11a detects input / output with other devices except the power monitoring unit 11b, etc.

[0045] The power monitoring unit 11b may end the parameter adjustment when the load amount of the calculation processing unit 11a becomes equal to or less than a second reference load amount determined in advance. The calculation processing unit 11a can determine that the load amount of the calculation processing unit 11a becomes equal to or less than the second reference load amount, for example, when any of the following conditions is met. (ED01) When the power consumption P of the calculation processing unit 11a becomes less than a predetermined stop determination power P_OFF, (ED02) When the execution of the foreground app is terminated in the calculation processing unit 11a, (ED03) When the calculation processing unit 11a does not detect input / output with other devices for a certain period of time (e.g., 1 to 3 minutes) or more, etc.

[0046] The stop determination power P_OFF ​​may be equal to or less than the start determination power P_ON. By setting the stop determination power P_OFF ​​to a value less than the start determination power P_ON, parameter adjustment is not immediately stopped even if the power consumption of the calculation processing unit 11a temporarily falls slightly below the start determination power P_ON. By continuing the parameter adjustment, it is possible to prepare for another increase in power consumption.

[0047] The normal mode is divided into a plurality of stages of operation modes, and power control parameters are set for each operation mode. The calculation processing unit 11a selects power control parameters corresponding to each operation mode according to the power consumption. In the example of FIG. 3, six stages of operation modes Eco, LV1 to LV5 are set in the power monitoring unit 11b. The operation modes Eco, LV1 to LV5 correspond to increasing power consumption in this order. The operation mode Eco is called an eco mode, and among all six stages of power control parameters, the power consumption that can be handled is the smallest. The operation mode Eco is applied when power consumption parameter adjustment is not performed (OFF), and is not applied when parameters are adjusted.

[0048] The operation modes LV1 to LV5 are applied when performing parameter adjustment (ON). The power monitoring unit 11b can also be considered to select one of the five operation modes LV1 to LV5 in parameter adjustment. In this example, PL1E, PL11, PL12, PL13, PL14, and PL15 are set as the power control parameter PL1max for the operation modes Eco, LV1, LV2, LV3, LV4, and LV5, respectively. PL1max corresponds to the maximum value of PL1 in each operation mode.

[0049] Next, a selection procedure for selecting one of the five power control parameters will be described. Fig. 4 is an explanatory diagram showing a first example of the power control parameter selection procedure of this embodiment. In the example of FIG. 4, in addition to five stages of operation modes LV1 to LV5, a reference mode Ref is preset in the power monitoring unit 11b. In the following description, the power control parameters corresponding to the operation modes LV1 to LV5 are collectively referred to as "candidate parameters", and the power control parameters corresponding to the reference modes are referred to as "reference parameters". The candidate parameters are candidates for the power control parameters. The reference parameters are reference values ​​for the power control parameters. In this example, the reference parameters are associated with even greater power consumption than the five stages of the candidate parameters.

[0050] Here, the power monitoring unit 11b sequentially issues a predetermined command to the arithmetic processing unit 11a for each of the candidate parameters and reference parameters for each stage. The arithmetic processing unit 11a waits for a command from the power monitoring unit 11b, and every time a command is detected, it executes the process instructed by the detected command and outputs a response indicating the result of the process to the power monitoring unit 11b.

[0051] The power monitoring unit 11b determines a response time from the time a command is issued to the time a response is received for each of the candidate parameters and the reference parameter. The power monitoring unit 11b normalizes each of the candidate parameters by dividing the response time for the reference parameter by the response time for the candidate parameter. The power monitoring unit 11b selects, as the control value of the power control parameter, the candidate parameter that minimizes power consumption from among the candidate parameters whose normalized response times are within a predetermined allowable range. The power monitoring unit 11b sets the control values ​​of the selected power control parameters in the arithmetic processing unit 11a. The arithmetic processing unit 11a uses the setting values ​​set by the power monitoring unit 11b for controlling power consumption.

[0052] When determining the control value of the power control parameter from N (N is a predetermined integer equal to or greater than 2) stages of candidate parameters, the power monitoring unit 11b may apply a binary search method to the response time measured for each of the candidate parameters. This makes it possible to limit the number of times the response time for the candidate parameters is measured to N-1 times or less.

[0053] In the example of FIG. 4, the power monitoring unit 11b measures the response time Resp_R for the reference parameter (S12). Thereafter, the power monitoring unit 11b determines a response time Resp_4 for the candidate parameters of the operation mode LV4 (S14). Then, the power monitoring unit 11b determines whether the response time Resp_4 normalized by the response time Resp_R is equal to or less than the threshold value Resp_th.

[0054] The threshold value Resp_th corresponds to the maximum value of the tolerance range of the response time. The threshold value Resp_th is, for example, 110 to 150%. In this example, the minimum value of the tolerance range does not need to be set in particular. This is because the reference parameter corresponds to more power consumption than any of the candidate parameters, and is therefore expected to result in the shortest response time. The exemplified tolerance range of the response time corresponds to a range in which the increase falls within a certain range, based on the response time for the reference parameter that gives the maximum power consumption. If the response time Resp_4 is equal to or less than the threshold value Resp_th, the process proceeds to step S16. If the response time Resp_4 is greater than the threshold value Resp_th, the process proceeds to step S18.

[0055] The power monitoring unit 11b determines a response time Resp_5 for the candidate parameters of the operation mode LV5 (S16). Then, the power monitoring unit 11b determines whether the response time Resp_5 is equal to or less than the threshold value Resp_th. If the response time Resp_5 is equal to or less than the threshold value Resp_th, the process proceeds to step S24. If the response time Resp_5 is greater than the threshold value Resp_th, the process proceeds to step S26.

[0056] The power monitoring unit 11b determines a response time Resp_2 for the candidate parameters of the operation mode LV2 (S18). Then, the power monitoring unit 11b determines whether the response time Resp_2 is equal to or less than the threshold value Resp_th. If the response time Resp_2 is equal to or less than the threshold value Resp_th, the process proceeds to step S20. If the response time Resp_2 is greater than the threshold value Resp_th, the process proceeds to step S22.

[0057] The power monitoring unit 11b determines a response time Resp_3 for the candidate parameters of the operation mode LV3 (S20). Then, the power monitoring unit 11b determines whether the response time Resp_3 is equal to or less than the threshold value Resp_th. If the response time Resp_3 is equal to or less than the threshold value Resp_th, the process proceeds to step S28. If the response time Resp_3 is greater than the threshold value Resp_th, the process proceeds to step S30.

[0058] The power monitoring unit 11b determines a response time Resp_1 for the candidate parameters of the operation mode LV1 (S22). Then, the power monitoring unit 11b determines whether the response time Resp_1 is equal to or less than the threshold value Resp_th. If the response time Resp_1 is equal to or less than the threshold value Resp_th, the process proceeds to step S32.

[0059] The power monitoring unit 11b selects the candidate parameters for the operation mode LV5 as the control values ​​of the power control parameters, and sets the selected control values ​​in the calculation processing unit 11a (S24). The power monitoring unit 11b selects the candidate parameters for the operation mode LV4 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S26). The power monitoring unit 11b selects the candidate parameters for the operation mode LV3 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S28). The power monitoring unit 11b selects the candidate parameters for the operation mode LV2 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S30). The power monitoring unit 11b selects the candidate parameters for the operation mode LV1 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S32).

[0060] In the explanation of FIG. 4, a case where there are five operation modes is taken as an example, but there may be two, three, four, or six or more operation modes. Fig. 5 illustrates a procedure for selecting a power control parameter when the operation mode has three stages. Of the five operation modes described above, operation modes LV1, LV3, and Lv5 are used as the three operation modes illustrated. In the example of Fig. 5, the power monitoring unit 11b can determine the control value of the power control parameter as described below.

[0061] The power monitoring unit 11b measures the response time Resp_R for the reference parameters (S42) After that, the power monitoring unit 11b determines the response time Resp_5 for the operation mode LV5 candidate parameters (S44). Then, the power monitoring unit 11b determines whether or not the response time Resp_5 normalized by the response time Resp_R is equal to or less than the threshold value Resp_th. If the response time Resp_5 is equal to or less than the threshold value Resp_th, the process proceeds to step S48. If the response time Resp_5 is greater than the threshold value Resp_th, the process proceeds to step S46.

[0062] The power monitoring unit 11b determines a response time Resp_3 for the candidate parameters of the operation mode LV3 (S46). Then, the power monitoring unit 11b determines whether the response time Resp_3 is equal to or less than the threshold value Resp_th. If the response time Resp_3 is equal to or less than the threshold value Resp_th, the process proceeds to step S50. If the response time Resp_3 is greater than the threshold value Resp_th, the process proceeds to step S52.

[0063] The power monitoring unit 11b selects the candidate parameters for the operation mode LV5 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S48). The power monitoring unit 11b selects the candidate parameters for the operation mode LV3 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S50). The power monitoring unit 11b selects the candidate parameters for the operation mode LV1 as the control values ​​of the power control parameters, and sets the selected control values ​​in the arithmetic processing unit 11a (S52).

[0064] In the example of Fig. 4, if the response time Resp_1 for the candidate parameter of the operation mode LV1 is greater than the threshold value Resp_th, the power monitoring unit 11b may select the reference parameter corresponding to the reference mode as the control value of the power control parameter. In this case, the power monitoring unit 11b may select the candidate parameter of the operation mode LV1 as the control value of the power control parameter. In this case, the process of step S22 illustrated in Fig. 4 is omitted, and if the response time Resp_2 is greater than the threshold value Resp_th, the process proceeds to step S32.

[0065] In the examples of Figures 4 and 5, the N-stage candidate parameters are separate from the reference parameters, but this is not limited thereto. Any one of the candidate parameters may be used as the reference parameter. In this case, it is not necessary to measure the response time of the reference parameter (e.g., steps S12 and S42), but it is sufficient to measure the response time of each candidate parameter as part of the response time measurement.

[0066] Furthermore, the power control parameters for the operation mode Eco may be common to the candidate parameters for the minimum power consumption among the N stages of candidate parameters. The reference parameters do not have to be constant and may be variable. The candidate parameters set in the calculation processing unit 11a at that time may be adopted as the reference parameters. In this way, a new candidate parameter is selected based on the responsiveness to the candidate parameters at the current time.

[0067] The exemplary response time tolerance range does not necessarily have to be set based on the response time for the reference parameter or candidate parameter that gives the maximum power consumption, but may be set based on the response time for the lowest candidate parameter in the standard mode, or may be set based on the response time for the candidate parameter currently set as the control value.

[0068] The power monitoring unit 11b may be configured with response time data indicating the response time for each candidate parameter for each different operating condition of the arithmetic processing unit 11a. The response time data may be in the form of a data table indicating the response time for the operating condition and the candidate parameter, or in the form of a function for calculating the response time for the operating condition and the candidate parameter. The power monitoring unit 11b can measure the response time for one stage of candidate parameters, refer to the response time data, identify the operating condition of the arithmetic processing unit 11a, and estimate the response time for each candidate parameter for the identified operating condition. Then, the power monitoring unit 11b can select, from among the estimated response times, a candidate parameter that gives the maximum value of the response time within a predetermined allowable range as the control value of the power control parameter.

[0069] Next, an example of this embodiment will be described. FIG. 7 shows an example of the power consumption of the arithmetic processing unit 11a when an application is executed. FIG. 7 shows the power consumption when a multimedia communication application is executed for a comparative example and this embodiment, in that order. In this embodiment, when the power control parameters are determined, the parameter selection procedure exemplified in FIG. 4 is executed. In the comparative example, unlike this embodiment, when the power control parameters are determined, the above-mentioned parameter adjustment is not performed, and the power consumption of the arithmetic processing unit 11a is compared with the target value set for each power control parameter. In this embodiment, the power consumption is reduced by about 7% compared to the comparative example.

[0070] Fig. 8 shows another example of power consumption of the calculation processing unit 11a when an application is executed. Fig. 8 shows the power consumption when a lyrics display application is executed for a comparative example and this embodiment, in that order. The lyrics display application executes music playback and lyrics display on the screen for each song in sync. In this embodiment, the power consumption is reduced by about 11% compared to the comparative example. 7 and 8, many processes are continuously performed in the CPU 11, consuming a lot of power. According to this embodiment, it is possible to reduce power consumption while suppressing the deterioration of responsiveness within a certain range.

[0071] FIG. 9 shows an example of the change over time in power consumption of the arithmetic processing unit 11a when an application is executed. FIG. 9 shows an example of the change over time in power consumption when seven types of applications APP01 to APP07 are executed in sequence for each of the comparative example and this embodiment. The comparative example and this embodiment are represented by a dashed line and a solid line, respectively. The level of power consumption and its change tendency differ depending on the function of the application. Of the seven types, APP04 and APP07 correspond to a multimedia communication application and a lyrics display application, respectively. Parameter adjustment is performed during the execution of each of APP04 and APP07, but is not performed during the execution of other applications. During the execution of APP04 and APP07, a state in which power consumption is higher than that of other applications continues. In this embodiment, a state in which power consumption temporarily increases is periodically repeated during the execution of APP04 and APP07, but overall power consumption is lower than that of the comparative example. The temporary increase in power consumption is mainly due to the measurement of response time in parameter adjustment.

[0072] FIG. 10 is an enlarged view illustrating the change in power consumption over time in a period T04 in FIG. 9. The sudden increase in power consumption at the beginning is due to the fact that the amount of processing becomes larger than immediately before the start of APP04. The power monitoring unit 11b sets new power control parameters for the arithmetic processing unit 11a that give a larger power consumption when the power consumption of the arithmetic processing unit 11a becomes larger than the start judgment power P_ON. Thereafter, the power monitoring unit 11b repeats parameter adjustment at regular intervals. The power consumption of the arithmetic processing unit 11a becomes significantly larger when the response time is measured than when it is not measured. In the measurement, the setting of reference parameters or candidate parameters, command issuance, and response are performed. Then, the measured response times are compared, and among the candidate parameters for which the normalized response time is equal to or less than the threshold, the candidate parameter that minimizes the power consumption is selected as the control value of the new power control parameter. In the illustrated example, the setting of the new power control parameter selected by the first measurement increases the power consumption more than before the setting. Then, the measurement of the response time and the setting of the power control parameter are repeated.

[0073] In the above description, the arithmetic processing unit 11a mainly waits for a predetermined command issued by the power monitoring unit 11b and responds to the arithmetic processing unit 11a with the execution result of the received command, but this is not limited to the above. The arithmetic processing unit 11a may issue its own predetermined command. As illustrated in FIG. 6, the arithmetic processing unit 11a may notify the power monitoring unit 11b of the monitoring result of its own (S62). The arithmetic processing unit 11a can determine whether or not a predetermined command has been issued by referring to log information stored in the auxiliary storage device 23, for example. The log information accumulates a history of the issuance of each command in the arithmetic processing unit 11a and the execution result. The issuance of each command and the execution result include the time at which each piece of information is acquired.

[0074] The power monitoring unit 11b can estimate the responsiveness of the arithmetic processing unit 11a to the command based on the execution result received from the arithmetic processing unit 11a. The power monitoring unit 11b can determine, for example, the time from the issuance time to the reception time of the command included in the execution result as the response time. As described above, the power monitoring unit 11b can determine power control parameters corresponding to the operating status of the arithmetic processing unit 11a based on the determined responsiveness (S66), and set the determined power control parameters in the arithmetic processing unit 11a (S68).

[0075] As described above, the information processing device 1 according to this embodiment includes a calculation processing unit 11a and a power monitoring unit 11b that monitors the power consumption of the calculation processing unit 11a. The power monitoring unit 11b detects the responsiveness of the calculation processing unit 11a to a predetermined command and determines power control parameters based on the detected responsiveness. According to this configuration, the power control parameters used for power control of the arithmetic processing unit 11a are determined based on the responsiveness detected in the arithmetic processing unit 11a in response to a predetermined command. By controlling power consumption using the power control parameters determined based on the responsiveness of the arithmetic processing unit 11a, it is possible to avoid or reduce wasteful power consumption without impairing the user experience, compared to the case where a power control parameter determined without considering the responsiveness is used.

[0076] The power monitoring unit 11b may select, as the control value of the power control parameter, a candidate parameter that minimizes power consumption from among candidate parameters that are power control parameters that provide responsiveness that is within a predetermined range from a reference parameter that is a reference value of the power control parameter. According to this configuration, the power control parameters that minimize the power consumption are selected from among the power control parameters whose responsiveness falls within a predetermined range, so that it is possible to avoid an increase in power consumption without impairing the responsiveness of the arithmetic processing unit 11a.

[0077] The power monitoring unit 11b may use a binary search method to search for a candidate parameter that minimizes the power consumption from among N (N is an integer equal to or greater than 2) candidate parameters. According to this configuration, when searching for candidate parameters that minimize power consumption, it is sufficient to measure the responsiveness N-1 times, which reduces the load involved in searching for candidate parameters.

[0078] The power monitoring unit 11b may issue a predetermined command to the arithmetic processing unit 11a and detect the response time to the command as the responsiveness. According to this configuration, the power monitoring unit 11b can take the initiative in acquiring the response time as an index of responsiveness.

[0079] When the calculation processing unit 11a detects the occurrence of a predetermined command, it may notify the power monitoring unit 11b of the responsiveness to the command. According to this configuration, the power monitoring unit 11b can obtain responsiveness by waiting for a notification from the arithmetic processing unit 11a, which reduces the load compared to the case where commands are issued periodically.

[0080] When the load amount of the calculation processing unit 11a is greater than a first reference load amount, the power monitoring unit 11b may determine a power control parameter based on responsiveness, and when the load amount of the calculation processing unit 11a becomes equal to or less than a second reference load amount, may select a predetermined power control parameter that gives a smaller power consumption than the candidate parameter as the control value of the power control parameter. According to this configuration, when the load on the calculation processing unit 11a is small, the parameter adjustment process for determining the control value of the power control parameter is not performed, and the power control parameter is fixed to a predetermined value. In this case, the load related to the parameter adjustment process can be avoided.

[0081] The power control parameters include a first limit power (PL1), a second limit power (PL2) and a fourth limit power (PL4), where the first limit power is the rated power of a processor (e.g., CPU 11) constituting the calculation processing unit 11a, the second limit power is the short-term average maximum power of the processor, and the fourth limit power may be the instantaneous maximum power of the processor.

[0082] In the above description, the information processing device 1 is mainly provided with a CPU 11 as a processor that constitutes a system device, but the present invention is not limited to this. The number of cores that constitute the processor is not limited to one, and may be two or more. The type of processor is not limited to a CPU, and may include other types of arithmetic devices or arithmetic circuits (e.g., GPU (Graphics Processing Unit)). In the above description, the power monitoring unit 11b is logically partitioned on the same hardware as the arithmetic processing unit 11a, but the present invention is not limited to this. The power monitoring unit 11b may be realized using hardware (arithmetic circuit) separate from the arithmetic processing unit 11a.

[0083] Although the embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above embodiment, and the present invention also includes designs that do not deviate from the gist of the present invention. The configurations described in the above embodiment can be combined in any combination. [Explanation of symbols]

[0084] 1...information processing device, 11...CPU, 11a...arithmetic processing unit, 11b...power monitoring unit, 12...main memory, 13...video subsystem, 14...display, 21...chipset, 22...BIOS memory, 23...auxiliary storage device, 24...audio system, 25...WLAN card, 26...USB connector, 31...EC, 32...input unit, 33...power supply circuit, 34...battery, 35...heat dissipation fan, 36...temperature sensor

Claims

1. A computing unit and a power monitoring unit that monitors the power consumption of the computing unit, The power monitoring unit Detecting responsiveness of the arithmetic processing unit to a predetermined command; A power control parameter used for power control of the arithmetic processing unit is determined based on the responsiveness. Information processing device.

2. The power monitoring unit Among candidate parameters that are candidates for power control parameters that provide a responsiveness within a predetermined range from a reference parameter that is a reference value of the power control parameter, a candidate parameter that minimizes the power consumption is selected as a control value of the power control parameter. The information processing device according to claim 1 .

3. The power monitoring unit A binary search method is used to search for candidate parameters that minimize the power consumption from N (N is an integer equal to or greater than 2) candidate parameters. The information processing device according to claim 2 .

4. The power monitoring unit The command is issued to the arithmetic processing unit, and a response time to the command is detected as the responsiveness. The information processing device according to claim 1 .

5. The arithmetic processing unit is When the occurrence of the command is detected, the power monitoring unit is notified of the responsiveness to the command. The information processing device according to claim 1 .

6. The power monitoring unit When the load amount of the arithmetic processing unit is greater than a first reference load amount, determining the power control parameters based on the responsiveness; When the load amount of the arithmetic processing unit becomes equal to or less than a second reference load amount, Select a predetermined power control parameter that gives a smaller power consumption than the candidate parameter as a control value of the power control parameter. The information processing device according to claim 2 .

7. The power control parameters are: a first limit power, a second limit power and a fourth limit power; the first limited power is a rated power of a processor constituting the arithmetic processing unit, the second power limit is a short-term average maximum power of the processor; The fourth power limit is an instantaneous maximum power of the processor. The information processing device according to claim 1 .

8. A control method for an information processing device including a calculation processing unit, The information processing device includes: monitoring power consumption of the arithmetic processing unit; Detecting responsiveness of the arithmetic processing unit to a predetermined command; A power control parameter used for power control of the arithmetic processing unit is determined based on the responsiveness. Control methods.

Citation Information

Patent Citations

  • Information processing device, power control method, program, and information processing system

    JP2017041007A

Cited By

  • Information processing apparatus and control method

    EP4738065A1

  • Information processing device and control method

    JP7906931B1