Information processing apparatus and control method

The information processing device with integrated and discrete GPUs manages power modes to maintain discrete GPU operations until program completion, ensuring consistent performance by transitioning to integrated GPUs for low power modes, addressing performance drops in SWG systems.

JP2024167703AActive Publication Date: 2024-12-04LENOVO IRELAND INTERNATIONAL LTD

Patent Information

Application Number
JP2023083955
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-12-04
Estimated Expiration
2043-05-22

AI Technical Summary

Technical Problem

In systems with switchable graphics (SWG) that include both integrated and discrete GPUs, transitioning to low power consumption modes can result in unexpected performance drops due to the discontinuation of discrete GPU operations, even for applications requiring significant image processing, leading to suboptimal performance.

Method used

An information processing device with integrated and discrete GPUs that includes an execution management unit and power control unit to manage processor selection and power modes, allowing for controlled transitions between high and low power modes by suspending discrete GPU operations until program completion and restarting with the integrated GPU for low power modes.

Benefits of technology

Ensures consistent performance by maintaining discrete GPU operations until program completion and switching to integrated GPU for low power modes, preventing performance drops and achieving expected performance levels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024167703000001_ABST
    Figure 2024167703000001_ABST
Patent Text Reader

Abstract

To provide expected performance in a selected power control mode.SOLUTION: An execution management unit selects a processor corresponding to a program whose execution is instructed, based on setting information indicating an execution processor for each program. A power control unit controls an operation state based on power consumption of a first processor and a second processor, according to a power control mode selected from a plurality of levels of power control modes that differ in rated power, and stops access to the second processor, when changing the power control mode from a high power control mode whose rated power is higher than or equal to a prescribed rated power to a low power control mode whose rated power is lower than the prescribed rated power.SELECTED DRAWING: Figure 12
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to an information processing device and a control method, for example, to an information processing device including multiple types of processors. [Background technology]

[0002] Some information processing devices such as personal computers (PCs) are equipped with a graphics processing unit (GPU) in addition to a central processing unit (CPU). The inclusion of a GPU has enhanced graphic functions. GPUs mainly perform image processing (graphics processing), i.e., processing for drawing images. In image processing, standardized and large amounts of calculations are performed in parallel. The calculation resources of GPUs, which excel at parallel processing, can also be used for purposes other than image processing.

[0003] For example, the information processing device described in Patent Document 1 includes a CPU and a GPU, and performs playback processing by performing image processing on video data and displaying the video data on a display unit. The CPU and GPU perform image processing on each of the frame images that make up the video data. The processing speed of the GPU is faster than that of the CPU. The CPU selects a partial area of ​​the frame image as a selected area in response to a user instruction, and the GPU performs image processing on the selected area. The CPU performs image processing on areas other than the selected area.

[0004] GPUs may be integrated with or built into the CPU. GPUs integrated or built into the CPU are also called iGPUs (integrated GPUs) or IGPs (integrated graphics processors). Independent GPUs are also called dGPUs (discrete GPUs). Computer systems equipped with an iGPU and a separate dGPU are called switchable graphics (SWG). SWGs allow switching between iGPU and dGPU for image processing. By switching between iGPU and dGPU, SWGs allow the selection of enhanced image processing by the dGPU and reduced power consumption during low load by using the iGPU. In contrast, a system configuration that has an iGPU and no dGPU is called a unified memory architecture (UMA). Due to the difference in system configuration, SWGs are expected to have higher image processing capabilities overall than UMAs.

[0005] A computer system has multiple power control modes with different power consumption levels, and one of the power control modes may be selected depending on the operating conditions or user operation. The power consumption is controlled using the selected power control mode. However, the selected power control mode may not provide the expected performance. In the example of FIG. 13, in the SWG, in a low power consumption mode in which the rated power is lower than a predetermined rated power, the performance does not change significantly regardless of the increase in power consumption. In addition, the performance of the SWG (solid line) is lower than the performance of image processing by the UMA (dashed line). Therefore, when operating the SWG in the low power consumption mode, it has been considered to stop the operation of the dGPU. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2018-32147 A Summary of the Invention [Problem to be solved by the invention]

[0007] In an operating system (OS), an execution processor (sometimes referred to as an "execution processor" in this application) may be set for each application program (sometimes referred to as an "app" in this application). For a specific app that provides a function that requires a large amount of image processing, the dGPU may be specified as the execution processor. Therefore, even in a low power consumption mode, when a specific app (sometimes referred to as a "specific app" in this application) is instructed to be started, the dGPU may operate. In addition, when a specific app is executed on the dGPU, even when the power control mode is changed from a high power consumption mode to a low power consumption mode, which is a power control mode that consumes less power, the dGPU may continue to process the specific app without stopping its operation. As a result, the performance expected according to the power consumption is not exhibited. [Means for solving the problem]

[0008] The present application has been made to solve the above-mentioned problems, and an information processing device according to one embodiment of the present application comprises a first processor and a second processor, and comprises an execution management unit that selects a processor corresponding to a program instructed to be executed based on setting information indicating an execution processor for each program, and a power control unit that controls the operating state based on the power consumption of the first processor and the second processor in accordance with a power control mode selected from multiple power control modes having different rated power, and the power control unit stops access to the second processor when the power control mode is changed from a high power control mode in which the rated power is equal to or greater than a predetermined rated power to a low power control mode in which the rated power is lower than the predetermined rated power.

[0009] In the above information processing device, when a change from the high power control mode to the low power control mode is instructed during execution of program processing using the second processor, the power control unit may output guidance information indicating at least one of a hold on the change to the low power control mode, a resumption of program processing using the first processor, and an end of program processing.

[0010] In the above-mentioned information processing device, when an instruction is given to postpone the change to the low power control mode, the power control unit may wait without stopping access to the second processor until processing of the program using the second processor is completed.

[0011] In the above information processing device, the power control unit may set setting information indicating the second processor as a processor for executing the program.

[0012] In the above-mentioned information processing device, when an instruction is given to resume processing of the program using the first processor, the power control unit may stop processing of the program using the second processor, and then resume processing of the program using the first processor.

[0013] In the above information processing device, the power control unit may set setting information indicating the first processor as a processor for executing the program.

[0014] In the above information processing device, the first processor may be an integrated graphics processing unit integrated with a central processing unit, and the second processor may be an independent graphics processing unit.

[0015] A control method according to a second aspect of the present application is a control method for an information processing device having a first processor and a second processor, in which the information processing device selects a processor corresponding to a program instructed to be executed based on setting information indicating an execution processor for each program, controls the operating state based on the power consumption of the first processor and the second processor in accordance with a power control mode selected from multiple power control modes having different rated power, and stops access to the second processor when the power control mode is changed from a high power control mode in which the rated power is equal to or greater than a predetermined rated power to a low power control mode in which the rated power is lower than the predetermined rated power. Effect of the Invention

[0016] According to this embodiment, it is possible to achieve the expected performance in the selected power control mode. [Brief description of the drawings]

[0017] [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] 1 is a schematic block diagram illustrating an example of a functional configuration of an information processing device according to an embodiment of the present invention. [Diagram 3] 5 is a diagram illustrating an example of an execution processor for each power control mode according to the embodiment; FIG. [Figure 4] 11 is a table showing examples of power control modes according to the present embodiment. [Diagram 5] FIG. 13 is a diagram showing an example of a power control mode setting screen. [Figure 6] FIG. 4 is a diagram illustrating an example of a power control table according to the embodiment. [Figure 7] 11 is a diagram illustrating an example of graphics setting information according to the embodiment. FIG. [Figure 8] 13 shows an example of a message screen according to the embodiment. [Figure 9] FIG. 11 illustrates an example of an application selection screen. [Figure 10]FIG. 13 is a diagram illustrating an example of a graphics setting screen. [Figure 11] 13 is a diagram showing another example of the graphics setting information according to the embodiment. FIG. [Figure 12] 10 is a flowchart illustrating an example of application execution control according to the embodiment. [Figure 13] FIG. 11 is a diagram illustrating a comparative example of performance evaluation values ​​of information processing devices. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] 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 the present embodiment will be described. In the following description, a case where the information processing device 1 is a PC will be mainly taken as an example. However, the information processing device 1 is not necessarily limited to a PC, and may be configured as a tablet terminal device, a smartphone, or the like.

[0019] 1 is a schematic block diagram showing an example of a hardware configuration of an information processing device 1 according to the present embodiment. The information processing device 1 is configured as an SWG. The information processing device 1 includes a CPU 11, a main memory 12, a GPU 13, a display 14, a chipset 21, a ROM 22, an auxiliary storage device 23, an audio system 24, a communication module 25, an input / output interface 26, an EC 31, an input device 32, a power supply circuit 33, a temperature sensor 351, a drive circuit 352, a heat dissipation fan 353, and a power switch 36.

[0020] The CPU 11 is a core processing device of the information processing device 1. The CPU 11 controls the operation of the entire information processing device 1. The CPU 11 executes processes based on programs, such as an OS (Operating System), firmware, device drivers, utilities, and application programs (sometimes referred to as "apps" in the present application). Note that executing processes instructed by commands written in various programs may be referred to as "executing a program" or "running a program", etc.

[0021] The CPU 11 includes a GPU in the same core as the main body. That is, the GPU included in the CPU 11 functions as an iGPU. The GPU processes drawing commands sent from the CPU 11 main body to realize functions related to image display (sometimes referred to as "image processing" in this application). The GPU outputs the obtained drawing information to the display 14 as display data indicating display information.

[0022] The main memory 12 is a writable memory used as a read area for the execution programs of the CPU 11 and the GPU 13 or as a work area for writing processing data for the execution programs. The main memory 12 is composed of, for example, a plurality of DRAM (Dynamic Random Access Memory) chips.

[0023] The GPU 13 is provided in a core separate from the CPU 11, and functions as a dGPU. In order to realize functions related to image display, the GPU 13 processes drawing commands notified from the CPU 11, and outputs the obtained drawing information to the display 14 as display data indicating display information. As will be described later, for a specific power control mode, either the GPU (iGPU) provided in the CPU 11 or the GPU 13 (dGPU) may be pre-defined as a processor for executing image processing for a predetermined program, for example, an application. Graphics setting information indicating the processor for execution is pre-defined as part of setting information related to the execution of the OS. The graphics setting information may be set and generated according to a user operation (user definition).

[0024] The CPU 11, the main memory 12, and the GPU 13 correspond to the minimum hardware that constitutes a host system 100 (described later). For an application for which graphics setting information is set, the CPU 11 issues a drawing command to a processor designated by the graphics setting information and causes the processor to execute image processing based on the drawing command. The image processing function of the GPU 13 is usually faster than the image processing function of the CPU 11. The iGPU and GPU 13 (dGPU) of the CPU 11 may execute parallel arithmetic processing other than image processing, or may share some parallel processing with the CPU 11. Although the present application mainly refers to image processing, this embodiment may apply these parallel processes instead of or together with image processing.

[0025] The display 14 displays a display screen based on display data input from an iGPU or a GPU 13 (dGPU) included in 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.

[0026] The chipset 21 includes a plurality of controllers and can be connected to a plurality of devices to input and output various data. The controller is, 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 ROM 22, an auxiliary storage device 23, an audio system 24, a communication module 25, an input / output interface 26, and an EC 31, which will be described later.

[0027] A ROM (Read Only Memory) 22 mainly stores system firmware, firmware for controlling the operation of the EC 31 and other devices, etc. The ROM 22 may be, for example, any of an EEPROM (Electrically Erasable Programmable Read Only Memory) and a flash ROM.

[0028] The auxiliary storage device 23 stores various data used in the processing of the CPU 11, the GPU 13, and other devices, or various data acquired by the processing, various programs, etc. The auxiliary storage device 23 may be, for example, any one of an SSD (Solid State Drive), an HDD (Hard Disk Drive), etc., or any combination thereof.

[0029] 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.

[0030] The communication module 25 connects to a communication network wirelessly or by wire. The communication module 25 communicates various data with other devices connected to the communication network. The communication module includes, for example, a wireless LAN (Local Area Network), and enables various data to be transmitted and received between devices according to a predetermined wireless communication method (for example, IEEE802.11). In the wireless LAN, communication between devices is performed via an access point.

[0031] The input / output interface 26 is connected to various devices such as peripherals in a wired or wireless manner. The input / output interface 26 is, for example, a connector for inputting and outputting data in a wired manner in accordance with the USB standard.

[0032] The EC (Embedded Controller) 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, a ROM, a RAM, an A / D (Analog-to-Digital) input terminal for multiple channels, a D / A (Digital-to-Analog) output terminal, a timer, and digital input / output terminals (not shown) separate from the CPU 11 and the GPU 13. For example, an input device 32, a power supply circuit 33, a temperature sensor 351, a drive circuit 352, a power switch 36, etc. are connected to the input / output terminals of the EC 31.

[0033] The input device 32 detects a user's operation and outputs an operation signal corresponding to the detected operation to the EC 31. The input device 32 includes, for example, any combination of a keyboard, a touch pad, and the like. The input device 32 may be a touch sensor, or may overlap the display 14 and be configured as a touch panel.

[0034] The power supply circuit 33 converts the voltage of DC power supplied from an external power supply or a battery 34 into a voltage required for the operation of each device constituting the information processing device 1, and supplies the power having the converted voltage to the device as a supply destination. The power supply circuit 33 executes power supply according to the control of the EC 31. The power supply circuit 33 includes a converter that converts the voltage of the power supplied to itself, and a power supply device that charges the battery 34 with the power whose voltage has been converted. The power supply device charges the battery 34 with the power that is supplied from the external power supply and that is not consumed by each device. When power is not supplied from the external power supply, or when the power supplied from the external power supply is insufficient, the power discharged from the battery 34 is supplied to each device as operating power.

[0035] The battery 34 charges or discharges power using the power supply circuit 33. The battery 34 may be, for example, a lithium ion battery, a sodium ion battery, or the like. The temperature sensor 351, the drive circuit 352, and the heat dissipation fan 353 constitute a heat dissipation unit that dissipates heat generated in the device itself. The temperature sensor 351 detects its own temperature and outputs a temperature signal indicating the detected temperature to the EC 31. For example, the temperature sensor 351 is installed adjacent to the CPU 11 to detect the temperature of the CPU 11. The number of temperature sensors 351 provided in the information processing device 1 is not limited to one, and may be two or more. A temperature sensor separate from the temperature sensor 351 adjacent to the CPU 11 may be installed adjacent to the GPU 13. The temperatures detected by the temperature sensors adjacent to the CPU 11 and the GPU 13 may be used for the operation of the CPU 11 and the GPU 13, and for driving the heat dissipation fan 353.

[0036] The drive circuit 352 supplies the power supplied to itself from the power supply circuit 33 to the heat dissipation fan 353 under the control of the EC 31. In this way, the operation of the heat dissipation fan 353 is controlled. The heat dissipation fan 353 dissipates heat generated in the information processing device 1. The heat dissipation fan 353 includes a motor that consumes power supplied from the drive circuit 352 to rotate fins (blades), and causes air to flow into the housing of the information processing device 1. The air that flows in exchanges heat with each part of the information processing device 1, and is then discharged outside the housing.

[0037] Each time a pressing operation is received, the power switch 36 controls the state of power supply to the entire information processing device 1 to either power on (Power ON) or power off (Power OFF). When a pressing operation is received, the power switch 36 outputs a pressing signal indicating a press to the EC 31. When the information processing device 1 is powered off and a pressing signal is input from the power switch 36, the EC 31 causes the power circuit 33 to start supplying power to each device of the information processing device 1 (power on).

[0038] When the CPU 11 detects the start of power supply to itself, it reads the system firmware from the ROM 22, loads it into the main memory 12, and executes a startup process (boot) in accordance with the instructions written in the system firmware. In the startup process, the CPU 11 loads data saved in the auxiliary storage device 23 into the main memory 12. Thereafter, the CPU 11 starts the OS, and after the startup of the OS is completed, starts the execution of device drivers related to the control of devices such as the auxiliary storage device 23, the communication module 25, and the input / output interface 26.

[0039] On the other hand, when power is supplied to the information processing device 1 and a press signal is input from the power switch 36, the EC 31 causes the CPU 11 to execute a stop process (shutdown). In the stop process, the CPU 11 saves data present in the working area at that time to the auxiliary storage device 23. After completing the data save, the CPU 11 stops processing by the application, device driver, and other programs that are being executed at that time. Thereafter, the CPU 11 notifies the EC 31 of the completion of the stop process. The EC 31 causes the power supply circuit 33 to stop the supply of power to each device of the information processing device 1.

[0040] In addition, the CPU 11 may control the operation of the GPU 13 depending on the power control mode and the operating state of the CPU 11 itself. For example, the CPU 11 can suppress the power consumption of the entire information processing device 1 by stopping the operation of the GPU 13. In a power control mode in which the rated power is lower than a predetermined rated power, or in which the load of image processing is less than a predetermined load amount, the CPU 11 maintains the operation of the iGPU of the CPU 11 and stops the operation of the dGPU 13. In a power control mode in which the rated power is equal to or higher than a predetermined rated power, or in which the load of image processing is equal to or higher than a predetermined load amount, the CPU 11 starts up the GPU 13 and causes it to execute image processing. In this case, the image processing function of the iGPU of the CPU 11 may be stopped.

[0041] The CPU 11 and the GPU 13 are each supplied with power of a constant voltage from the power supply circuit 33, but the power consumption is generally variable. The CPU 11 and the GPU 13 may vary the operating frequency according to the power consumption. For example, the CPU 11 sets the maximum operating frequency allowed according to the power control mode of the host system 100 in the registers of the CPU 11 and the GPU 13. When the operating frequency at that time is higher than the set maximum operating frequency, the CPU 11 and the GPU 13 each change the operating frequency stepwise so that the operating frequency is equal to or lower than the set maximum operating frequency. The reduction in the operating frequency can reduce the power consumption of the CPU 11 and the GPU 13. The CPU 11 and the GPU 13 each control the operating frequency so that the moving average value of the power consumption is equal to or lower than the rated power.

[0042] The CPU 11 and the GPU 13 may each include a TCC (Thermal Control Circuit). For example, the TCC of each of the CPU 11 and the GPU 13 monitors the temperatures of the CPU 11 and the GPU 13 detected by their respective temperature sensors. When the load increases and the detected temperatures rise above a predetermined reference temperature, each TCC may reduce the operating frequency to reduce the power consumption of the CPU 11 and the GPU 13. This reduces the amount of heat generated, and suppresses or stops the temperature rise. In other words, when the power consumption is large, the amount of heat generated increases, and therefore the need for operation of the heat dissipation fan 353 or an increase in the amount of operation increases.

[0043] Next, an example of the functional configuration of the information processing device 1 according to this embodiment will be described. 2 is a schematic 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 a host system 100. The host system 100 realizes its functions by having the CPU 11 execute various programs and cooperate with hardware such as the main memory 12, the GPU 13, the display 14, the chipset 21, the communication module 25, the input / output interface 26, the EC 31, the input device 32, the temperature sensor 351 and the drive circuit 352.

[0044] The host system 100 includes an execution management unit 102 and a power control unit 104 . The execution management unit 102 refers to the graphics setting information and specifies a processor to be used for image processing instructed by an application to be executed. The graphics setting information indicates either the CPU 11 (iGPU) or the GPU 13 (dGPU) as a processor for executing image processing for a specific application. The execution management unit 102 can specify an unexecuted application instructed by an operation signal input from the input device 32 or the input / output interface 26 as an application to be newly instructed to be executed. The execution management unit 102 causes the CPU 11 to start execution of the specified application. For a drawing command directly or indirectly described in an application, the CPU 11 notifies the specified processor of the drawing command and causes the processor to execute the image processing instructed by the drawing command. When the drawing command is indirectly described, a call from another command is included.

[0045] The power control unit 104 selects one of a plurality of predetermined power control modes based on the change tendency of the power consumption of the CPU 11 and the GPU 13. The power control unit 104 may select a power control mode instructed by an operation signal input from the input device 32 or the input / output interface. The power control unit 104 controls the operation state based on the power consumption of the CPU 11 and the GPU 13 according to the selected power control mode. The presence or absence of access to the GPU 13 and the rated power of each of the CPU 11 and the GPU 13 are associated with each of the plurality of power control modes. The presence or absence of access corresponds to the presence or absence of use in processing such as image processing.

[0046] When the power control unit 104 changes the power control mode from the high power control mode to the low power control mode, it stops accessing the GPU 13 and continues accessing the CPU 11. The high power control mode is a power control mode in which the corresponding rated power is equal to or greater than a predetermined rated power. The low power control mode is a power control mode in which the corresponding rated power is lower than the predetermined rated power. Thus, in the high power control mode, the GPU 13 is used in image processing. In the low power control mode, the CPU 11 is used in image processing.

[0047] However, while the GPU 13 is executing an application, the power control unit 104 may be instructed to change the power control mode from the high power control mode to the low power control mode. In this case, the power control unit 104 outputs display data including guidance information regarding the processing of the GPU 13 to the display 14. The guidance information includes at least one of suspending the change of the power control mode to the low power control mode and resuming the execution of the application using the CPU 11, and information indicating immediate termination of the application using the GPU 13. Suspending the change of the power control mode to the low power control mode means continuing the use of the GPU 13 until the execution of the application is terminated, and changing the power control mode to the low power control mode after the execution of the application is terminated. Resuming the execution of the application using the CPU 11 means terminating the execution of the application using the GPU 13, and then starting the execution of the application using the CPU 11.

[0048] During the execution of the application using the GPU 13, the power control unit 104 waits for an operation signal input from the input device 32 or the input / output interface . The power control unit 104 determines whether an operation signal has been input that instructs the user to postpone the change to the low power control mode, to resume execution of the app using the CPU 11, or to immediately terminate the app using the GPU 13.

[0049] When the power control unit 104 is instructed to postpone the change to the low power control mode, the power control unit 104 waits without stopping access to the GPU 13 until the execution of the application by the GPU 13 is completed. After completing the execution of the application, the power control unit 104 changes the power control mode to the low power control mode. At this time, the power control unit 104 may generate graphic setting information indicating the GPU 13 as an execution processor of the application, and set and save it in the power control unit 104. Thereafter, when executing the application, the power control unit 104 refers to the set graphic setting information of the application and specifies the GPU 13 as the execution processor. The power control unit 104 executes the application using the specified GPU 13. At this time, the power control unit 104 may set the power control mode to the high power control mode.

[0050] When the power control unit 104 is instructed to resume execution of the application using the CPU 11, the power control unit 104 stops execution of the application by the GPU 13. Thereafter, the power control unit 104 changes the power control mode to a low power control mode, and starts execution of the application using the CPU 11. At this time, the power control unit 104 may generate graphic setting information indicating the CPU 11 as an execution processor for the application, and set and save it in the power control unit 104. When executing the application again after ending the execution of the application, the power control unit 104 refers to the set graphic setting information of the application and specifies the CPU 11 as the execution processor. The power control unit 104 executes the application using the specified CPU 11. In this case, the power control unit 104 may set the low power control mode as the power control mode.

[0051] Next, an example of the power control mode according to the present embodiment will be described. FIG. 3 is a diagram showing an example of an execution processor for each power control mode according to the present embodiment. In the example of FIG. 3, three power control modes are set. The three power control modes are an eco mode (E: Eco), a balanced mode (B: Balance), and a high performance mode (P: Performance). The eco mode (E) is a power control mode that emphasizes power saving. The power consumption parameters for the eco mode (E) are set to be lower than those of the other power control modes. The balanced mode (B) is a power control mode that emphasizes the balance between power saving and performance. The power consumption parameters for the balanced mode (B) are set to be intermediate between the power consumption parameters for the eco mode (E) and the high performance mode (P). The power consumption parameters for the high performance mode (P) is a power control mode that emphasizes performance. The power consumption parameters for the high performance mode (P) are set to be higher than those of the other power control modes. As will be described later, the power consumption parameters include the rated power of the processor.

[0052] The low power control mode mentioned above corresponds to, for example, the eco mode (E) and the balanced mode (B). In the low power control mode, the CPU 11 operates and the GPU 13 does not operate. The high power control mode mentioned above corresponds to the high performance mode (P). In the high power control mode, the CPU 11 and the GPU 13 operate. Therefore, in the low power control mode, the GPU 13 is not made to perform image processing, and the iGPU provided in the CPU 11 is made to perform image processing, thereby solving the problem of the processing capacity not being able to be exerted in accordance with the increase in power consumption in the low power control mode.

[0053] Figure 4 is a table showing an example of a power control mode according to this embodiment. Each power control mode is mainly characterized by a set power. The set power is a parameter of power consumption for the processor. In the example of Figure 4, a noise upper limit and a target temperature are included. As the set power, a first limit power (Power Limit 1: PL1) and a second control power (Power Limit 2: PL2) are set for each of the CPU 11 and the GPU 13. PL1 corresponds to the rated power. PL1 is a threshold value for allowing the moving average value of power consumption to temporarily exceed this value, but restricting it from exceeding this value continuously for a predetermined time or more. PL1 is also called the long-term limit power. PL2 is a threshold value for restricting the moving average value of power consumption from exceeding this value. PL2 is also called the short-term limit power. The set power for each power control mode of the CPU 11 and the GPU 13 may be preset in their respective registers. The CPU 11 and the GPU 13 each have a control mechanism for adjusting the clock frequency so that the instantaneous value of power consumption does not exceed PL2 and the moving average of power consumption does not exceed PL1.

[0054] In Figure 4, the subscript "i" indicates the CPU 11 (iGPU), and "d" indicates the GPU 13 (dGPU). The subscript "e" indicates the eco mode, "b" indicates the balance mode, and "p" indicates the high-performance mode. Here, it is set that PL1ie < PL1ib < PL1ip. Also, it is set that PL1ie < PL2ie, PL1ib < PL3ib, PL2ip < PL2ip, and PL2ie ≦ PL2ib ≦ PL2ip. However, for the eco mode (E) and the balance mode (B), since the GPU 13 is not used, the PL1 and PL2 for the GPU 13 are not set.

[0055] The target temperature is the target value of the temperature of the CPU 11 or the GPU 13 for each power control mode. Here, it is set that TMe ≤ TMb ≤ TMp. The noise upper limit is the maximum value of the noise level generated by the operation of the cooling fan 353. Generally, the larger the operation amount of the cooling fan 353, the higher the noise level. Here, it is set that NLe < NLb < NLp. The target temperature and the noise upper limit illustrated in FIG. 4 are mainly for the purpose of showing the characteristics of the power control mode, and do not necessarily have to be used for the control of the cooling fan 353. Instead of the noise upper limit, or together with the noise upper limit, parameters of the operation amount of the cooling fan 353, for example, the rotation speed and the power consumption, may be used.

[0056] For the purpose of controlling the operation of the cooling fan 353, for example, the EC 31 stores a temperature control table in advance. The temperature control table is configured to include one or more sets of the operation amount and the operation temperature of the cooling fan 353 for each power control mode. The operation temperature is the temperature at which, when the temperature detected by the temperature sensor 351 is on an upward trend, the cooling fan 353 is instructed to operate with the operation amount corresponding to that operation temperature. The maximum value of the operation amount for each power control mode may correspond to the above-described noise upper limit, and the operation temperature may correspond to the target temperature.

[0057] Next, a method for the EC 31 to control the operation of the cooling fan 353 using the temperature control table will be described. When the detected temperature is on an upward trend and exceeds the operation temperature of a certain stage in the power control mode at that time, the EC 31 causes the drive circuit 352 to supply power to the cooling fan 353 that provides the operation amount corresponding to that operation temperature. When the detected temperature is on a downward trend and falls below the temperature lower than the operation temperature of a certain stage by a predetermined decrease width, the EC 31 specifies the operation amount corresponding to the operation temperature of the stage one stage lower than the operation temperature of that stage. The EC 31 causes the drive circuit 352 to supply power to the cooling fan 353 corresponding to that operation amount.

[0058] If there is no output corresponding to the operating temperature one step lower, EC 31 determines to stop and causes drive circuit 352 to stop power supply to heat dissipation fan 353. The temperature control table may be common to the temperatures of CPU 11 and GPU 13, or may be separate. When sets of different operation amounts and operating temperatures are set in separate temperature control tables, EC 31 may determine different operation amounts for the temperatures of CPU 11 and GPU 13. In that case, EC 31 may cause drive circuit 352 to supply power to heat dissipation fan 353 corresponding to the larger of the different operation amounts.

[0059] When a power control mode setting menu preset in the OS is instructed, the power control unit 104 may display a power control mode setting screen on the display 14. FIG. 5 is a diagram showing an example of a power control mode setting screen. The power control mode setting screen is a screen for selecting a power control mode of the host system 100 by operation. The illustrated power control mode setting screen includes a slider bar. The slider bar has items corresponding to eco mode (E), balanced mode (B), and high performance mode (P) arranged in that order from left to right. In the example shown in FIG. 5, "emphasis on power saving" corresponds to eco mode (E), "balanced" corresponds to balanced mode (B), and "emphasis on performance" corresponds to high performance mode (P). By moving the knob to the position of any of the items according to the operation, the power control unit 104 selects the power control mode related to the item to which the knob is moved. In the illustrated example, eco mode (E) is selected.

[0060] The power control mode is also changed depending on the operating state of the host system 100. A power control table indicating the transition conditions for each mode transition pattern is set in advance in the power control unit 104. The mode control pattern indicates a set of power control modes before and after the change. The power control unit 104 monitors the operating state of the host system 100, and refers to the power control table to identify the transition conditions corresponding to the mode transition pattern in which the power control mode at that time is the power control mode before the change.

[0061] When the operating state satisfies a transition condition from the current power control mode to another power control mode, the power control unit 104 changes the current power control mode to another power control mode corresponding to the transition condition. The power control unit 104 notifies the CPU 11 and GPU 13 of the changed power control mode, and causes them to operate according to the set power corresponding to the changed power control mode. The power control unit 104 notifies the EC 31 of the changed power control mode, and causes the heat dissipation fan 353 to operate at an operating amount and operating temperature corresponding to the changed power control mode.

[0062] FIG. 6 is a diagram showing an example of a power control table according to the present embodiment. In the example of FIG. 6, the power consumption P and duration of the host system 100 are shown for each mode transition pattern. A set of the power consumption P and the duration indicates a transition condition. For example, a transition condition from the balanced mode (B) or the eco mode (E) to the high performance mode (P) is that the state in which the power consumption P is equal to or greater than Pbp continues for a duration of Tbp or more. A transition condition from the eco mode (E) to the balanced mode (B) is that the state in which the power consumption P is equal to or greater than Peb continues for a duration of Teb or more. A transition condition from the high performance mode (P) or the balanced mode (B) to the eco mode (E) is that the state in which the power consumption P is equal to or less than Pbe continues for a duration of Tbe or more. A transition condition from the high performance mode (P) to the balanced mode (B) is that the state in which the power consumption P is equal to or less than Ppb continues for a duration of Tpb or more. Pbp, Peb, Pbe, and Ppb each indicate a predetermined power consumption threshold. Here, it is sufficient that Pbp>Peb, Ppb>Pbe, Peb>Pbe, and Pbp>Ppb are set. Furthermore, the durations Tbp, Teb, Tbe, and Tpb are each set to, for example, about several seconds to several minutes.

[0063] Next, an example of the graphics setting information will be described. The graphics setting information is information indicating a processor used for image processing for each application. FIG. 7 is a diagram showing an example of the graphics setting information according to this embodiment. In the example of FIG. 7, a CPU 11 (iGPU) is set for APP01 and APP02. Applications that do not perform a large amount of image processing or other parallel processing when executed are specified as APP01 and APP02. Examples of such applications include a text document creation application and a presentation document creation application. A GPU 13 (dGPU) is set for APP03 and APP04. Applications that perform a large amount of image processing or other parallel processing when executed are specified as APP03 and APP04. Examples of such applications include an online video editing application, a lyrics / video synchronous playback application, and a game application.

[0064] Next, an example of the guidance information will be described. When the power control mode is changed from the high power control mode to the low power control mode during the execution of an application for which the GPU 13 is specified as an execution processor, the power control unit 104 causes the display 14 to present the guidance information. Fig. 8 shows an example of a message screen according to this embodiment. On the message screen, messages indicating the application being executed on the GPU 13, the suspension of the change of the power control mode to the low power control mode, the resumption of the execution of the application using the CPU 11, and the immediate termination of the application are arranged as options constituting the guidance information.

[0065] In the message screen exemplified in FIG. 8, icons indicating APP03 and APP04 as applications being executed by the GPU 13 are arranged. Also, a message for inquiring about stopping the GPU 13 and changing to an eco mode, which is a low power control mode, and buttons indicating three options are arranged. As options, a message "App will be terminated now" indicating immediate termination of the application, a message "App will not be terminated now" indicating a hold on changing to the low power control mode, and a message "Application will be resumed by CPU 11" indicating resumption of execution of the application using the CPU 11 are shown. The power control unit 104 can identify the button detected as being pressed and identify the option corresponding to the identified button. In this application, "press" includes the meaning of acquiring or detecting an operation signal indicating the position of a screen component such as a button or other display information.

[0066] Next, an example of the application selection screen will be described. For example, when the power control unit 104 selects a system setting menu of the OS, the power control unit 104 displays the application selection screen on the display 14. FIG. 9 is a diagram showing an example of the application selection screen. The application selection screen shown in the figure is a screen showing a list of applications for which graphics setting information is to be set and applications for which graphics setting information has already been set. In the example shown in the figure, the application APP03 is specified as the setting target. The button with the word "Add" displayed functions as a button for instructing the specified APP03 to display a graphics setting screen. APP01 and APP02 are icons showing applications for which graphics setting information has already been set. These icons function as buttons for instructing the power control unit 104 to display a graphics setting screen related to the application when pressed.

[0067] Next, an example of the graphics setting screen will be described. FIG. 10 is a diagram showing an example of the graphics setting screen. The graphics setting screen shown in FIG. 10 is a screen showing information for setting a power control mode and an execution processor as an image processing operation mode for a selected application. In the illustrated example, one of three items can be selected. "Leave it to the OS" indicates that the power control mode and the processor preset by the OS are applied. "Power saving CPU" indicates that the power control mode is a low power control mode, and that the execution processor is the CPU 11. "High performance GPU" indicates that the power control mode is a high power control mode, and that the execution processor is the GPU. The "Set" button is a button for instructing the generation of graphics setting information. The "Cancel" button is a button for instructing the cancellation of the generation of graphics setting information. The host system 100 erases the display of the graphics setting screen by pressing the "Cancel" button.

[0068] Note that the power control unit 104 may display a message screen, and when detecting that a change to the low power control mode for a running application is pending, may configure a graphics setting screen indicating the high power control mode as the power control mode and indicating the GPU as the execution processor, and display it on the display 14. When the power control unit 104 detects pressing of the "Settings" button, it generates and saves graphics setting information indicating the GPU 13 as the execution processor for the application.

[0069] The power control unit 104 may display a message screen, and when detecting resumption of execution of a running application using the CPU 11, may indicate the low power control mode as the power control mode, configure a graphics setting screen indicating the CPU as the execution processor, and display it on the display 14. When the power control unit 104 detects pressing of the "Settings" button, it generates and saves graphics setting information indicating the CPU 11 as the execution processor of the application.

[0070] The power control unit 104 may store user setting information indicating that the information was generated in response to an operation, such as pressing a button on the message screen or pressing a "Settings" button on the graphics setting screen, in association with the graphics setting information. In the graphics setting information illustrated in FIG. 11, the user setting information is added to the graphics setting information related to APP03. The power control unit 104 stores the graphics setting information associated with the user setting information without erasing or changing it until another operation is received. Depending on the specifications of the OS, the power control unit 104 may erase the graphics setting information generated in accordance with the OS when the power control mode changes from the low power control mode to the high power control mode. By storing the graphics setting information in association with the user setting information, erasure of the graphics setting information generated in response to an operation is avoided.

[0071] Next, an example of application execution control according to this embodiment will be described. Fig. 12 is a flowchart showing an example of application execution control according to this embodiment. However, the example is a case where the high power control mode is the high performance mode (P) and the low power control mode is the balanced mode (B) or the eco mode (E).

[0072] (Step S102) The power control unit 104 monitors the operating state of the host system 100. The power control unit 104 monitors whether or not an operation signal indicating a power control mode has been input. The power control unit 104 also monitors the power consumption of the CPU 11 and GPU 13 constituting the host system 100, and determines whether or not the power consumption satisfies a transition condition from the current power control mode to another power control mode. (Step S104) The power control unit 104 judges whether or not a change in the power control mode from the high performance mode to the balanced mode or the eco mode has been instructed. If it is judged that a change in the power control mode has been instructed (step S104 YES), the process proceeds to step S106. If it is judged that a change in the power control mode has not been instructed (step S104 NO), the process returns to step S102.

[0073] (Step S106) The power control unit 104 uses the GPU 13 to determine whether or not an application is running. The power control unit 104, for example, outputs an inquiry command for the running program to the GPU 13. When the inquiry command is input from the power control unit 104, the GPU 13 outputs response information indicating the presence or absence of a running program to the power control unit 104. When an running program is running, the GPU 13 may output information indicating the name of the program by including it in the response information. When it is determined that an running application is running (step S106 YES), the process proceeds to step S108. When it is determined that an running application is not running (step S106 NO), the process proceeds to step S124. (Step S108) The power control unit 104 outputs display data including guidance information related to the processing of the GPU 13 to the display 14, and causes the display 14 to display a message screen showing the guidance information.

[0074] (Step S110) The power control unit 104 judges whether or not an operation signal input to the power control unit 104 has instructed the immediate termination of the application using the GPU 13. If it is judged that the instruction has been given (step S110 YES), the process proceeds to step S112. If it is judged that the instruction has not been given (step S110 NO), the process proceeds to step S114. (Step S112) The power control unit 104 causes the GPU 13 to end the execution of the application being executed. The power control unit 104 issues, for example, an application end command to the GPU 13. When the end command is input from the power control unit 104, the GPU 13 stops the processing based on the application being executed. The power control unit 104 outputs a stop notification indicating the stop of the processing to the power control unit 104. Then, the process proceeds to step S124.

[0075] (Step S114) The power control unit 104 judges whether or not a suspension of the change of the power control mode has been instructed by an operation signal input to the power control unit 104. If it is judged that a suspension has been instructed (step S114 YES), the process proceeds to step S116. If it is judged that a suspension has not been instructed (step S114 NO), the process proceeds to step S118. (Step S116) The power control unit 104 monitors the execution state of the application in the GPU 13, and waits for the end of the execution of the application. When the power control unit 104 detects the end of the execution of the application, the power control unit 104 proceeds to the process of step S124.

[0076] (Step S118) The power control unit 104 judges whether or not an operation signal input to the power control unit 104 has instructed the power control unit 104 to resume execution of the application using the CPU 11. If it is judged that the instruction has been given (step S118 YES), the power control unit 104 proceeds to the process of step S120. If it is judged that the instruction has not been given (step S118 NO), the power control unit 104 returns to the process of step S102.

[0077] (Step S120) The power control unit 104 terminates the execution of the application on the GPU 13. For example, the power control unit 104 issues an application termination command to the GPU 13. When the termination command is input from the power control unit 104, the GPU 13 stops the processing based on the application being executed. At this time, the GPU 13 generates an image file including parameters related to the operation of the application, input data that is scheduled to be input, and intermediate data and output data generated up to that point. The GPU 13 stores the generated image file in the main memory 12 or the auxiliary storage device 23. Thereafter, the GPU 13 outputs a stop notification indicating the stop of the processing to the power control unit 104. The GPU 13 may output address information indicating the location of the image file by including it in the stop notification. Thereafter, the process proceeds to step S124.

[0078] (Step S122) The power control unit 104 starts the execution of the application that has been terminated by the GPU 13. The power control unit 104 issues, for example, an execution command for the application to the CPU 11. The power control unit 104 may output the execution command including the address information notified by the GPU 13. The CPU 11 starts the execution of the application in response to the execution command input from the power control unit 104. Prior to starting the execution of the application, the CPU 11 acquires an image file whose location is indicated by the address information notified by the power control unit 104. The CPU 11 starts the execution of the application using the acquired image file. Thereafter, the process proceeds to step S124.

[0079] (Step S124) The power control unit 104 stops access to the GPU 13. (Step S126) The power control unit 104 changes the power control mode of the host system 100 to either the balanced mode or the eco mode determined in step S104. The power control unit 104 notifies the CPU 11 and the EC 31 of the changed power control mode. Then, the process returns to step S102.

[0080] In the above description, the CPU 11 and the GPU 13 share one main memory 12, but this is not limited to this. The information processing device 1 may include a plurality of main memories. In this case, the CPU 11 and the GPU 13 may use different main memories. Even when the operation of the GPU 13 is stopped, the power control unit 104 may maintain the operation of the main memory dedicated to the GPU 13 without stopping the power supply to the main memory while the CPU 11 is operating. This makes it possible to avoid failure in transferring an image file to the CPU 11 when the GPU 13 is stopped.

[0081] In the above description, the graphics setting information is mainly exemplified as the setting information indicating the processor for execution of each program, but it is not limited to this. It may be applied to programs other than apps, such as API (Application Programming Interface) functions, utility programs, etc. It may also be applied to parallel processing other than image processing, such as numerical calculations.

[0082] As described above, the information processing device 1 according to the present embodiment includes a first processor (e.g., CPU 11) and a second processor (e.g., GPU 13). The information processing device 1 includes an execution management unit 102 that selects a processor corresponding to a program to be executed based on setting information (e.g., graphics setting information) indicating an execution processor for each program (e.g., application), and a power control unit 104 that controls the operating state based on the power consumption of the first processor and the second processor according to a power control mode selected from a plurality of power control modes with different rated powers. The power control unit 104 stops access to the second processor when changing the power control mode from a high power control mode in which the rated power is equal to or higher than a predetermined rated power to a low power control mode in which the rated power is lower than the predetermined rated power. In addition, the first processor may be an iGPU integrated with the CPU 11, and the second processor may be a dGPU separate from the CPU 11. According to this configuration, when switching from the high power control mode to the low power control mode with a lower rated power, access to the second processor is stopped and processing using the second processor is not performed. Therefore, even if an execution processor is set for each program, performance commensurate with the increase in power consumption can be obtained by using the first processor in the low power control mode without using the second processor.

[0083] In addition, when a change from the high power control mode to the low power control mode is instructed during execution of processing of a program using the second processor, the power control unit 104 outputs guidance information indicating at least one of the suspension of the change to the low power control mode, the resumption of processing of the program using the first processor, and the termination of processing of the program. According to the output guidance information, during execution of the processing of the program using the second processor, without immediately stopping the processing by the second processor, one of suspending the change to the low power control mode and resuming the processing of the program using the first processor, and terminating the processing of the program are presented as options corresponding to stopping the second processor, so that the user is given an opportunity to select one of the options while taking into consideration the execution state of the processing being executed.

[0084] Furthermore, when an instruction to postpone the change to the low power control mode is given, the power control unit 104 waits without stopping access to the second processor until the processing of the program using the second processor is completed. According to this configuration, the second processor operates until the processing currently being executed by the second processor is completed, so that obtaining the results of the processing currently being executed can be given priority.

[0085] Furthermore, the power control unit 104 may set setting information indicating the second processor as the processor for executing the program. By prioritizing the completion of an ongoing process by the second processor, a preference for using the second processor for execution of the program is inferred. By using the second processor indicated in the configuration information for execution of the program, the user's preference can be met.

[0086] In addition, when instructed to resume processing of a program using the first processor, the power control unit 104 may stop processing of the program using the second processor and then resume processing of the program using the first processor. According to this configuration, the second processor immediately stops the processing being executed and the processing of the program is resumed using the first processor, so that even if the processing of the program is temporarily interrupted, the execution of the program using the first processor can be prioritized.

[0087] Furthermore, the power control unit 104 may set setting information indicating the first processor as the processor for executing the program. By prioritizing resumption of processing by the first processor, a preference for using the first processor for execution of the program is inferred. By using the first processor indicated in the configuration information for execution of the program, the user's preference can be met.

[0088] Note that the design items such as various setting information and parameters related to the above processing are not limited to those exemplified, and may vary according to various requirements such as the processing capacity of the processor. In the above description, the eco mode (E) and the balanced mode (B) are low power control modes, and the high performance mode (P) is a high power control mode, but the division between the low power control mode and the high power control mode may differ depending on the specifications of each processor. For example, the eco mode (E) may be the low power control mode, and the balanced mode (B) and the high performance mode (P) may be the high power control mode. In addition, the number of stages of the power control mode is not limited to three stages, and may be two stages or four stages or more.

[0089] Also, the power control mode stages PL1 and PL2, the power consumption parameters constituting the power control mode transition conditions, the duration, etc. may be different. Also, if the duration is a constant value regardless of the power control mode, it may be omitted from the mode transition table.

[0090] Furthermore, when determining the continuation of the state of the host system 100, the power control unit 104 may use a moving average value up to that point in time instead of the instantaneous value as the power consumption of the CPU 11 and the GPU 13. The moving average value may be, for example, an exponentially weighted moving average, or a simple moving average value within a predetermined period (for example, several seconds to several minutes) up to the time of interest.

[0091] 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]

[0092] 1...information processing device, 11...CPU, 12...main memory, 13...GPU, 21...chipset, 22...ROM, 23...auxiliary storage device, 24...audio system, 25...communication module, 26...input / output interface, 31...EC, 32...input device, 33...power supply circuit, 34...battery, 36...power switch, 351...temperature sensor, 100...host system, 102...execution management unit, 104...power control unit, 352...drive circuit, 353...heat dissipation fan

Claims

1. A first processor and a second processor are included, Based on the configuration information that indicates the execution processor for each program, an execution management unit for selecting a processor corresponding to a program to be executed; a power control unit that controls an operation state based on power consumption of the first processor and the second processor in accordance with a power control mode selected from a plurality of power control modes having different rated powers; The power control unit is When the power control mode is changed from a high power control mode in which the rated power is equal to or higher than a predetermined rated power to a low power control mode in which the rated power is lower than the predetermined rated power, Stopping access to the second processor Information processing device.

2. The power control unit is During execution of processing of a program using the second processor, when a change from the high power control mode to the low power control mode is instructed, outputting guidance information indicating at least one of a hold on the change to the low power control mode, a restart of the processing of the program using the first processor, and an end of the processing of the program; The information processing device according to claim 1 .

3. The power control unit is When a command is issued to hold the change to the low power control mode, until the processing of the program using the second processor is completed, Waiting for access to the second processor without stopping The information processing device according to claim 2 .

4. The power control unit is Setting information indicating the second processor as an execution processor for the program is set. The information processing device according to claim 3 .

5. The power control unit is when an instruction is given to resume processing of the program using the first processor, After stopping the processing of the program using the second processor, Resume processing of the program using the first processor. The information processing device according to claim 2 .

6. The power control unit is Setting information indicating the first processor as a processor for executing the program The information processing device according to claim 4.

7. the first processor is an integrated graphics processing unit integrated with a central processing unit; The second processor is an independent graphics processing unit. The information processing device according to claim 1 .

8. A method for controlling an information processing device including a first processor and a second processor, comprising: The information processing device, Based on the configuration information that indicates the execution processor for each program, Selecting a processor corresponding to the program to be executed; controlling an operation state based on power consumption of the first processor and the second processor in accordance with a power control mode selected from a plurality of power control modes having different rated powers; When the power control mode is changed from a high power control mode in which the rated power is equal to or higher than a predetermined rated power to a low power control mode in which the rated power is lower than the predetermined rated power, Stopping access to the second processor Control methods.

Citation Information

Patent Citations

  • Information processing apparatus, method for controlling the same, and program for controlling the same

    JP2018032147A

Cited By

  • Information processing device and control method

    JP7906931B1

  • Computation resource allocation device and program

    WO2026190965A1