Processor control method and device, server and storage medium

The substrate management controller monitors the processor status and voltage adjustment module status to improve the output voltage accuracy, solves the problem of sudden drop in performance of the processor under high load, and realizes the stability of processor performance and system reliability.

CN120336123APending Publication Date: 2025-07-18INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510449750.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The existing processor dynamic frequency modulation technology cannot effectively utilize processor performance in high load scenarios, resulting in a sudden drop in performance and cannot maximize the utilization of processor performance while ensuring system stability.

Method used

The substrate management controller monitors the processor status parameters and load in real time, and combines the voltage adjustment module's status parameters to improve the output voltage accuracy to stabilize power supply, avoid direct frequency downs, and ensure that the processor's performance is maintained under high loads.

Benefits of technology

The stability and reliability of processor performance under high load conditions are achieved, the performance is avoided and the stability and reliability of the system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120336123A_ABST
    Figure CN120336123A_ABST
Patent Text Reader

Abstract

The invention discloses a processor control method and device, a server and a storage medium. The processor control method comprises the steps of obtaining state parameters and operation frequency of a processor; obtaining the load capacity of the processor in response to the condition that the state parameter of the processor meets the first early warning condition; when the load capacity of the processor is larger than or equal to a load capacity threshold value and the fluctuation of the operation frequency of the processor meets a preset fluctuation condition, state parameters of a voltage regulation module used for providing output voltage for the processor are obtained; and in response to the condition that the state parameter of the voltage regulation module meets the second early warning condition, the voltage regulation module is controlled to improve the precision of the output voltage, so that the performance of the processor is effectively maintained, the stability and reliability of the system are improved, and the decline of the performance of the processor caused by rough frequency reduction of a traditional scheme is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a control method, device, server, and storage medium for a processor. Background Art

[0002] With the development of integrated circuit technology, the performance of processors has increased exponentially. Multi-core architectures, high-frequency designs, and advanced processes (such as nanoscale processes) enable processors to integrate billions of transistors and achieve powerful computing capabilities. However, processor design needs to seek a balance among performance, power consumption, heat dissipation, and cost. Dynamic frequency modulation technology reduces the power consumption and operating temperature of the processor by adjusting the processor frequency in real time, thereby reducing the power consumption and heat generated by the processor.

[0003] However, the existing processor dynamic frequency modulation technology usually adjusts the frequency based on a single indicator of temperature or power consumption. For example, when the temperature exceeds a threshold, the frequency is forced to decrease to reduce heat generation. However, in high-load scenarios (such as server intensive computing), a rough frequency reduction will cause a sharp drop in performance and cannot fully utilize the computing power of the processor. Summary of the Invention

[0004] This application provides a control method, device, server, and storage medium for a processor, which can maximize the performance utilization rate of the processor on the premise of ensuring system stability by monitoring the processor, the load of the processor, and the voltage regulation module, and combining the output voltage accuracy regulation of the voltage regulation module.

[0005] In a first aspect, this application provides a control method for a processor, which is applied to a baseboard management controller and includes:

[0006] Obtain the status parameters and operating frequency of the processor;

[0007] In response to the status parameters of the processor satisfying a first warning condition, obtain the load of the processor;

[0008] In response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition, obtain the status parameters of the voltage regulation module for providing an output voltage to the processor;

[0009] In response to the status parameters of the voltage regulation module satisfying a second warning condition, control the voltage regulation module to improve the accuracy of the output voltage.

[0010] In a second aspect, this application also provides a control device for a processor, including:

[0011] A first acquisition module, configured to acquire the status parameters and operating frequency of the processor;

[0012] A second processing module, configured to obtain the load of the processor in response to the status parameter of the processor satisfying a first warning condition;

[0013] A third processing module, configured to obtain the status parameter of a voltage regulation module for providing an output voltage to the processor in response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition;

[0014] An adjustment module, configured to control the voltage regulation module to improve the accuracy of the output voltage in response to the status parameter of the voltage regulation module satisfying a second warning condition.

[0015] In a third aspect, the present application further provides a server, including:

[0016] A processor;

[0017] A baseboard management controller, configured to: obtain the status parameter and the operating frequency of the processor; obtain the load of the processor in response to the status parameter of the processor satisfying a first warning condition; obtain the status parameter of a voltage regulation module for providing an output voltage to the processor in response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition; and send a first control instruction to the voltage regulation module in response to the status parameter of the voltage regulation module satisfying a second warning condition;

[0018] A voltage regulation module, configured to: improve the accuracy of the output voltage in response to the first control instruction of the baseboard management controller.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of the control method of the processor in the first aspect are implemented.

[0020] The present application can obtain the status parameter and the operating frequency of the processor through real-time monitoring by the baseboard management controller, and obtain the load of the processor when the status parameter of the processor satisfies the first warning condition. If the load of the processor is greater than or equal to the load threshold and the fluctuation of the operating frequency of the processor satisfies the preset fluctuation condition, it indicates that the performance of the processor may decline. Therefore, the status parameter of the voltage regulation module for providing the output voltage to the processor is triggered to be obtained. If the status parameter of the voltage regulation module satisfies the second warning condition, it indicates that the accuracy of the output voltage provided by the voltage regulation module to the processor cannot meet the requirement for the processor to maintain a stable frequency. Therefore, the present application controls the voltage regulation module to improve the accuracy of the output voltage. Since the voltage regulation module provides a more stable and appropriate output voltage accuracy, the performance of the processor can be effectively maintained, and the performance degradation caused by overheating or overloading of the processor can be avoided, thereby improving the stability and reliability of the system. Description of the Drawings

[0021] To more clearly illustrate the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0022] Figure 1 It is a flowchart of a control method for a processor provided by an embodiment of the present application;

[0023] Figure 2 It is a schematic flowchart of another control method for a processor provided by an embodiment of the present application;

[0024] Figure 3 It is a schematic structural diagram of a control device for a processor provided by an embodiment of the present application;

[0025] Figure 4 It is a schematic structural diagram of a server provided by an embodiment of the present application. Detailed Embodiments

[0026] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.

[0027] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0028] To enable those skilled in the art of this technology to better understand the solution of the present application, the present application will be further described in detail below in conjunction with the drawings and specific embodiments.

[0029] With the development of technology, the performance of processors has been continuously improved. From the early single-core processors to the current multi-core processors, the frequency has increased from low to high, and the number of threads has developed from single-thread to high-thread. The manufacturing process has also become more and more advanced. The nanoscale manufacturing process enables processors to integrate more transistors, thus achieving higher performance. However, the design of processors needs to balance multiple factors, including performance, power consumption, space / area, and cost.

[0030] The processor dynamic frequency modulation technology mainly reduces the power consumption and working temperature of the processor by temporarily changing the operating frequency of the processor, so as to achieve the purpose of reducing power consumption and reducing the heat generation of the processor. In order to balance performance and power consumption, when the processor temperature is too high or reaches the set power consumption limit, the operating system or hardware will prevent overheating by reducing the operating frequency of the processor. Through the processor frequency reduction technology, the power consumption and heat generated by the processor can be significantly reduced, the service life of the hardware can be extended, and the stable operation of the system can be guaranteed.

[0031] However, in the existing technology, the dynamic frequency modulation of the processor is simply achieved based on the temperature and power consumption of the processor. However, the decrease in the operating frequency of the processor may also reduce the performance of the processor to a certain extent, especially in the case of high server load. The existing frequency modulation methods will reduce the performance of the processor and cannot maximize the performance of the processor while ensuring the stable operation of the system. Therefore, an optimized control method for the processor is needed to improve the utilization of the processor performance and maximize the performance of the processor.

[0032] The embodiment of the present application provides a control method for a processor. Figure 1 It is a flowchart of a control method for a processor provided by the embodiment of the present application. The control method for a processor provided by the embodiment of the present application can be applied to a baseboard management controller. Figure 1 It is a flowchart of the control method for a processor according to the embodiment of the present application. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here. As Figure 1 shown, the control method for a processor provided by the present application includes:

[0033] S101. Obtain the state parameters and operating frequency of the processor.

[0034] In the embodiments of the present application, a baseboard management controller can be used to obtain the state parameters and operating frequency of a processor. The baseboard management controller is responsible for the management and monitoring of the processor. The baseboard management controller is a small computer system embedded on the motherboard, and can be responsible for monitoring the hardware status of each hardware device, executing remote management tasks, and handling alarms and faults, for example. The state parameters and operating frequency of the processor can be monitored in real time through the baseboard management controller. The state parameters of the processor can include, for example, but are not limited to, the processor temperature, the processor power consumption, etc. By monitoring the state parameters and operating frequency of the processor, abnormal conditions of the processor can be detected in a timely manner. By collecting multiple parameters (such as processor temperature, processor power consumption, operating frequency), a global state model of the processor can be constructed to avoid misjudgment of a single subsequent indicator (for example, a short-term temperature fluctuation may not require frequency reduction, etc.).

[0035] S102. In response to the state parameters of the processor satisfying a first warning condition, obtain the load of the processor.

[0036] If the state parameters of the processor satisfy the first warning condition, it indicates that the current operating state of the processor is not good and needs to be adjusted. The first warning condition can be specifically set according to actual application requirements, and can include, for example, but are not limited to, the temperature of the processor being greater than a first temperature threshold. Exemplarily, if the temperature of the processor is greater than the first temperature threshold, it indicates that the processor may be overheated at this time, so obtaining the load of the processor is triggered.

[0037] The embodiments of the present application do not limit the method for obtaining the load of the processor. For example, the baseboard management controller can obtain the processor load (such as the percentage of processor utilization) through an operating system interface, or indirectly calculate the processor load through a performance counter, etc.

[0038] S103. In response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition, obtain the state parameters of a voltage regulation module for providing an output voltage to the processor.

[0039] If the load of the processor is greater than or equal to the load threshold, it indicates that the processor is operating under high-load and high-performance requirements, and at this time, the processor has high performance requirements. If it is monitored that the fluctuation of the operating frequency of the processor meets the preset fluctuation condition, it indicates that the operating frequency of the processor is unstable, which means that the frequency is unstable under high load, and this may be caused by power supply quality problems. Then, obtain the status parameters of the voltage regulation module that provides the output voltage to the processor. In some alternative embodiments, for example, it may be determined that the fluctuation of the operating frequency of the processor meets the preset fluctuation condition when the fluctuation of the operating frequency of the processor is greater than the frequency fluctuation threshold. This frequency fluctuation threshold can be pre-stored and set in the baseboard management controller. In the embodiments of the present application, the baseboard management controller can monitor the working state of the voltage regulation module, such as status parameters of the voltage regulation module such as output voltage, output current, and temperature of the voltage regulation module. When the present application detects that the status parameters of the processor are abnormal and the fluctuation of the operating frequency is abnormal under high-load operation, it triggers the monitoring of the status parameters of the voltage regulation module, thereby realizing the monitoring of whether the output of the voltage regulation module is stable. Through the dual judgment of the processor's load and the fluctuation of the operating frequency, the unstable state under high load is accurately identified, avoiding false triggering (for example, short-term load fluctuations do not require adjustment).

[0040] S104. In response to the status parameters of the voltage regulation module meeting the second warning condition, control the voltage regulation module to improve the accuracy of the output voltage.

[0041] The baseboard management controller will analyze the monitored status parameters of the voltage regulation module to determine whether the voltage regulation module is in a normal working state, that is, to determine whether the status parameters of the voltage regulation module meet the second warning condition. The second warning condition can be specifically set according to actual application requirements, such as the output voltage deviation exceeding the limit, etc. If the status parameters of the voltage regulation module meet the second warning condition, it indicates that the current output of the voltage regulation module is unstable and cannot provide high-quality power supply for the processor at this time.

[0042] There is a certain coupling relationship between the operating frequency of the processor and the output voltage of the voltage regulation module. The fluctuation of the output voltage of the voltage regulation module will directly cause the fluctuation of the operating frequency of the processor. After improving the accuracy of the output voltage of the voltage regulation module, the fluctuation of the operating frequency of the processor will correspondingly decrease, which enables the processor to operate stably at a higher average frequency. Therefore, in the embodiments of the present application, the baseboard management controller can send an instruction to the voltage regulation module to control the voltage regulation module to improve the accuracy of the output voltage, reduce the impact of the unstable output of the voltage regulation module on the performance of the processor, and enable it to maintain a stable operating frequency under high load.

[0043] It should be noted that the accuracy of the output voltage of the voltage regulation module refers to the error range of the output voltage of the voltage regulation module, for example, the accuracy of the output voltage of the voltage regulation module is 5%. The accuracy of the output voltage is 5%, which means that the deviation percentage between the actual output voltage of the voltage regulation module and the target output voltage is within 5%.

[0044] The control method of the processor provided in the embodiment of the present application, when the state parameter of the processor is monitored to meet the first warning condition, if the load of the processor is greater than or equal to the load threshold and the fluctuation of the operating frequency of the processor meets the preset fluctuation condition, it indicates that the current performance requirement of the processor is high and unstable. Therefore, the state parameter of the voltage regulation module that provides output voltage to the processor is checked. If the state parameter of the voltage regulation module meets the second warning condition, it indicates that the voltage regulation module is abnormal. Then, by improving the output voltage accuracy of the voltage regulation module instead of directly reducing the frequency of the processor, stable power supply is provided to the processor through fine output voltage regulation under high load, providing more stable power supply, effectively maintaining the performance of the processor, avoiding the performance degradation caused by overheating or overloading of the processor, thereby improving the stability and reliability of the system, and avoiding the cliff-like decline in processor performance caused by the rough frequency reduction of the traditional solution.

[0045] In some optional implementations, the processor control method provided in the embodiments of the present application further includes:

[0046] In response to the load of the processor being less than a load threshold, the processor is controlled to reduce an operating frequency.

[0047] Figure 2 A flowchart of another processor control method provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the control method of the processor provided in the embodiment of the present application includes:

[0048] S201, obtaining processor status parameters and operating frequency;

[0049] S202: In response to a state parameter of the processor satisfying a first warning condition, obtaining a load of the processor.

[0050] S203: Determine whether the processor load is greater than or equal to the load threshold. If yes, execute S204; otherwise, execute S205.

[0051] S204: In response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition, obtaining a state parameter of a voltage regulation module for providing an output voltage to the processor.

[0052] S205 . In response to the load of the processor being less than a load threshold, control the processor to reduce an operating frequency.

[0053] S206. In response to the status parameters of the voltage regulation module satisfying the second warning condition, control the voltage regulation module to improve the accuracy of the output voltage.

[0054] The embodiments of the present application can perform adjustment control with different strategies according to the load condition of the processor. In the low-load or idle state, that is, when the load of the processor is less than the load threshold, the processor can be directly controlled to reduce the operating frequency. For example, the processor can be controlled to enter the energy-saving mode, thereby reducing the overall energy consumption. By reducing the frequency in the low-load state, that is, dynamically adjusting the operating frequency of the processor, the embodiments of the present application can make more reasonable use of computing resources, release more computing resources for other tasks, and improve the resource utilization rate. In the high-load or high-performance computing scenarios, by improving the output voltage accuracy of the voltage regulation module, the performance of the processor can be maintained under high-load conditions, avoiding problems such as high temperature and high power consumption caused by high load of the processor, and improving the response speed of the system. By distinguishing the control strategies under different load conditions, the embodiments of the present application perform frequency reduction processing in the low-load or idle state, reducing overheating and wear of the processor, thereby extending the service life of the hardware. In the high-load state, by adjusting the output voltage accuracy of the voltage regulation module, the temperature and power consumption of the processor can be effectively reduced, and the performance of the processor can be ensured, playing a role in protecting the hardware. Through multi-dimensional state monitoring and cooperative control strategies, the problem of performance loss of traditional frequency modulation technology under high load is solved, while the energy efficiency in the low-load state is improved, and the hardware life is extended.

[0055] In some alternative embodiments, the control method of the processor provided by the embodiments of the present application further includes:

[0056] In response to the status parameters of the voltage regulation module satisfying the second warning condition, prohibit the processor from increasing the operating frequency and / or the operating load.

[0057] The baseboard management controller detects that the status parameters of the voltage regulation module satisfy the second warning condition, and at the same time, the load of the processor is high and the operating frequency fluctuation of the processor exceeds the threshold. On the one hand, the baseboard management controller sends a control instruction to the voltage regulation module to improve the accuracy of its output voltage. On the other hand, the baseboard management controller sends a control instruction to the processor to control the processor to maintain the current state and prohibit the processor from increasing the operating frequency and / or the operating load. For example, the baseboard management controller controls the processor to lock the maximum operating frequency of the processor and restricts the task scheduler from allocating new tasks. Through this cooperative control, the pressure on the voltage regulation module is avoided from increasing due to the processor continuing to increase the load or the operating frequency, and at the same time, the basic performance of the processor under the current load is ensured, preventing transistor switch failures (such as increased subthreshold leakage current) or timing errors (such as clock signal distortion) in the processor due to insufficient voltage, and reducing the risk of hardware damage.

[0058] In some alternative embodiments, in response to the status parameter of the processor satisfying the first warning condition, obtaining the load of the processor includes:

[0059] In response to the processor temperature being greater than the first temperature threshold and / or the processor power consumption being greater than the power consumption threshold, it is determined that the status parameter of the processor satisfies the first warning condition, and the load of the processor is obtained.

[0060] In the embodiments of the present application, the status parameter of the processor may include the processor temperature and / or the processor power consumption. Temperature and power consumption are core indicators reflecting the operating pressure of the processor. Exceeding the threshold indicates that the current operating state may face risks of overheating or overload, and it is necessary to further combine the load to determine the adjustment strategy. In the embodiments of the present application, the processor temperature, processor power consumption, etc. can be monitored in real time through the baseboard management controller, so as to timely discover and solve problems that may cause processor abnormalities. Optionally, for example, the first temperature threshold and the power consumption threshold can be set in the baseboard management controller. If the processor temperature is greater than the first temperature threshold and / or the processor power consumption is greater than the power consumption threshold, it is determined that the status parameter of the processor satisfies the first warning condition, and obtaining the load of the processor is triggered. The first temperature threshold and the power consumption threshold can be determined according to the hardware configuration and the operating environment. The first temperature threshold can be preset according to the hardware heat dissipation capacity, and the power consumption threshold can be preset according to the power supply design specifications, for example.

[0061] The acquisition of the processor temperature can be performed, for example, by using a digital thermal sensor built into the processor or an external thermistor. The calculation of the processor power consumption can be performed, for example, by obtaining the real-time current through a current sensor in the processor power supply circuit and combining the supply voltage to calculate the instantaneous power consumption.

[0062] In some alternative embodiments, the status parameter of the voltage regulation module includes at least one of the output voltage of the voltage regulation module, the output current of the voltage regulation module, and the temperature of the voltage regulation module.

[0063] Correspondingly, in response to the status parameter of the voltage regulation module satisfying the second warning condition, controlling the voltage regulation module to improve the accuracy of the output voltage includes:

[0064] In response to at least one of the deviation between the output voltage of the voltage regulation module and the target voltage being greater than the first deviation threshold, the deviation between the output current of the voltage regulation module and the target current being greater than the second deviation threshold, and the temperature of the voltage regulation module being greater than the second temperature threshold, it is determined that the status parameter of the voltage regulation module satisfies the second warning condition, and the voltage regulation module is controlled to improve the accuracy of the output voltage.

[0065] The target voltage of the voltage regulation module can be, for example, the rated voltage corresponding to the current operating frequency of the processor. For example, 3.0 GHz corresponds to 1.2 V. If the deviation between the output voltage of the voltage regulation module and the target voltage is too large, it indicates that the output of the voltage regulation module is unstable. The output current of the voltage regulation module reflects the load intensity, and too large a deviation from the target current may cause a voltage drop. If the temperature of the voltage regulation module is too high, the heat dissipation capacity will decrease, which may affect the output stability. If at least one of the state parameters of the voltage regulation module satisfies that the deviation between the output voltage and the target voltage of the voltage regulation module is greater than the first deviation threshold, the deviation between the output current and the target current of the voltage regulation module is greater than the second deviation threshold, and the temperature of the voltage regulation module is greater than the second temperature threshold, it is determined that the state parameters of the voltage regulation module satisfy the second warning condition, indicating that the power supply quality of the voltage regulation module is abnormal, and it is necessary to improve the accuracy of the output voltage (that is, reduce the voltage fluctuation range) to stably supply power to the processor.

[0066] It should be noted that the deviation between the output voltage and the target voltage of the above voltage regulation module can be, for example, a deviation value or a deviation percentage, which is used to reflect the fluctuation of the output voltage. Correspondingly, the deviation between the output current and the target current of the voltage regulation module can be, for example, a deviation value or a deviation percentage, which is used to reflect the fluctuation of the output current. Optionally, the above first deviation threshold and second deviation threshold can also be set in advance in the baseboard management controller.

[0067] In some alternative embodiments, controlling the voltage regulation module to improve the accuracy of the output voltage includes:

[0068] Controlling the improvement amplitude of the accuracy of the output voltage of the voltage regulation module according to at least one of the deviation between the output voltage and the target voltage of the voltage regulation module, the deviation between the output current and the target current of the voltage regulation module, and the difference between the temperature of the voltage regulation module and the second temperature threshold.

[0069] Among them, the improvement amplitude of the accuracy of the output voltage is positively correlated with the deviation between the output voltage and the target voltage of the voltage regulation module, the deviation between the output current and the target current of the voltage regulation module, or the difference between the temperature of the voltage regulation module and the second temperature threshold.

[0070] The embodiments of the present application can determine the improvement amplitude of the accuracy of the output voltage according to the deviation of the state parameters of the voltage regulation module. The larger the deviation value, the higher the required improvement in the accuracy of the output voltage, ensuring that the adjustment strength matches the power supply quality level of the voltage regulation module and avoiding over-adjustment or under-adjustment of the accuracy of the output voltage.

[0071] For example, the deviation between the output voltage of the voltage regulation module and the target voltage is A1. Increase the precision level by 2. For example, increase the precision of the output voltage from 5% to 3%. The deviation between the output voltage of the voltage regulation module and the target voltage is A2, and A2 is less than A1. Increase the precision level by 1. For example, increase the precision of the output voltage from 5% to 4%. It should be noted that this example is only introduced by taking the deviation between the output voltage of the voltage regulation module and the target voltage, and the fluctuation of the precision levels of two adjacent output voltages differing by 1% as an example, rather than a limitation on the embodiments of this application. In other implementation manners, the precision level of the output voltage can also be set according to the actual situation, or the corresponding relationship between different deviation degrees and the precision of the output voltage can be set.

[0072] In some alternative implementation manners, if the precision of the output voltage of the voltage regulation module is already the highest precision, indicating that the highest output voltage precision still cannot achieve the stable operation of the processor. At this time, to avoid hardware damage or a decrease in the performance of the processor, a prompt message can be sent to an external management platform, thereby prompting the management or operation and maintenance personnel to perform targeted regulation, repair, or hardware replacement.

[0073] In some alternative implementation manners, the baseboard management controller can record the log information of the adjustment of the processor operating frequency and / or the log information of the adjustment of the voltage regulation module. Among them, recording the log information of the adjustment of the processor operating frequency can include at least one of the operating frequency of the processor before and after adjustment, the adjustment time, and the reason for triggering the adjustment. Recording the log information of the adjustment of the voltage regulation module can include at least one of the state parameters of the voltage regulation module before and after adjustment, the precision of the output voltage, the adjustment time, and the reason for triggering the adjustment. The above log information can facilitate the administrator's subsequent troubleshooting and performance optimization.

[0074] In some alternative implementation manners, the baseboard management controller can accurately sample the state parameters of the voltage regulation module through an analog-to-digital converter. After sampling, the baseboard management controller can adopt a filtering algorithm to remove noise and interference and improve the accuracy of the sampled data.

[0075] Through the description of the above implementation manners, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation manner.

[0076] The embodiments of this application also provide a control device for a processor, Figure 3 which is a schematic structural diagram of a control device for a processor provided by the embodiments of this application, as Figure 3 shown. The control device for the processor includes:

[0077] The first acquisition module 31 is configured to acquire the state parameters and operating frequency of the processor;

[0078] The second processing module 32 is configured to, in response to the state parameters of the processor satisfying the first warning condition, acquire the load of the processor;

[0079] The third processing module 33 is configured to, in response to the load of the processor being greater than or equal to the load threshold and the fluctuation of the operating frequency of the processor satisfying the preset fluctuation condition, acquire the state parameters of the voltage regulation module for providing the output voltage to the processor;

[0080] The adjustment module 34 is configured to, in response to the state parameters of the voltage regulation module satisfying the second warning condition, control the voltage regulation module to improve the accuracy of the output voltage.

[0081] In some alternative embodiments, the control device of the processor may further include a frequency reduction module configured to, in response to the load of the processor being less than the load threshold, control the processor to reduce the operating frequency.

[0082] In some alternative embodiments, the adjustment module 34 may further be configured to, in response to the state parameters of the voltage regulation module satisfying the second warning condition, prohibit the processor from increasing the operating frequency and / or the operating load.

[0083] In some alternative embodiments, the second processing module 32 may be configured to, in response to the processor temperature being greater than the first temperature threshold and / or the processor power consumption being greater than the power consumption threshold, determine that the state parameters of the processor satisfy the first warning condition and acquire the load of the processor. Wherein, the state parameters of the processor include the processor temperature and / or the processor power consumption.

[0084] In some alternative embodiments, the adjustment module 34 may be configured to, in response to at least one of the deviation between the output voltage of the voltage regulation module and the target voltage being greater than the first deviation threshold, the deviation between the output current of the voltage regulation module and the target current being greater than the second deviation threshold, and the temperature of the voltage regulation module being greater than the second temperature threshold, determine that the state parameters of the voltage regulation module satisfy the second warning condition and control the voltage regulation module to improve the accuracy of the output voltage. Wherein, the state parameters of the voltage regulation module include at least one of the output voltage of the voltage regulation module, the output current of the voltage regulation module, and the temperature of the voltage regulation module.

[0085] In some alternative embodiments, the adjustment module 34 may be configured to control the improvement amplitude of the accuracy of the output voltage of the voltage regulation module according to at least one of the deviation between the output voltage of the voltage regulation module and the target voltage, the deviation between the output current of the voltage regulation module and the target current, and the difference between the temperature of the voltage regulation module and the second temperature threshold.

[0086] Among them, the improvement amplitude of the output voltage accuracy is positively correlated with the deviation between the output voltage of the voltage regulation module and the target voltage, the deviation between the output current of the voltage regulation module and the target current, or the difference between the temperature of the voltage regulation module and the second temperature threshold.

[0087] For the description of the features corresponding to the control device of the processor, reference can be made to the relevant description of the corresponding embodiment of the control method of the processor, which will not be elaborated here one by one.

[0088] The embodiment of the present application also provides a server. Figure 4 The following is a schematic structural diagram of a server provided by the embodiment of the present application, as Figure 4 shown, including:

[0089] A processor 41;

[0090] A baseboard management controller 42; configured to: obtain the status parameters and operating frequency of the processor; in response to the status parameters of the processor satisfying the first warning condition, obtain the load of the processor; in response to the load of the processor being greater than or equal to the load threshold and the fluctuation of the operating frequency of the processor satisfying the preset fluctuation condition, obtain the status parameters of the voltage regulation module for providing the output voltage to the processor; in response to the status parameters of the voltage regulation module satisfying the second warning condition, send a first control instruction to the voltage regulation module;

[0091] A voltage regulation module 43; configured to: improve the accuracy of the output voltage in response to the first control instruction of the baseboard management controller.

[0092] Exemplarily, referring to Figure 4 , the processor 41 and the voltage regulation module 43 are bidirectionally connected through an SVID (System Voltage Identification) interface for transmitting control signals related to voltage regulation to ensure that the processor obtains an appropriate supply voltage. The voltage regulation module 43 is provided with a PMBus (Power Management Bus) interface and communicates with the baseboard management controller 42 through an I 2 C bus, so that the baseboard management controller 42 can monitor and manage the voltage regulation module 43 to implement functions such as power-related configuration, status reading, and control. The processor 41 is provided with an SMBus (System Management Bus) interface and communicates through an I 2The C bus communicates with the baseboard management controller 42 to enable the baseboard management controller 42 to monitor and control the processor status. Among them, the above-mentioned processor can be a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU), etc.

[0093] In the embodiments of this application, the baseboard management controller can monitor the status parameters, operating frequency, load of the processor, and status parameters of the voltage regulation module. If the baseboard management controller monitors that the status parameters of the processor meet the first warning condition, the load of the processor is greater than or equal to the load threshold, and the fluctuation of the operating frequency of the processor meets the preset fluctuation condition, it indicates that the current performance requirement of the processor is high and unstable. Therefore, subsequent control can be performed by checking the status parameters of the voltage regulation module that provides the output voltage to the processor. Among them, the voltage regulation module provides the output voltage to the processor. If the status parameters of the voltage regulation module meet the second warning condition, it means that the current output of the voltage regulation module is unstable and cannot provide high-quality power supply for the processor at this time. There is a certain coupling relationship between the operating frequency of the processor and the output voltage of the voltage regulation module, and the output voltage fluctuation of the voltage regulation module will directly cause the operating frequency fluctuation of the processor. Therefore, when the baseboard management controller sends the first control instruction to the voltage regulation module, the voltage regulation module can improve the output voltage accuracy based on the first control instruction. After improving the output voltage accuracy of the voltage regulation module, the operating frequency fluctuation of the processor will decrease accordingly, which enables the processor to operate stably at a higher average frequency, reduces the impact of the unstable output of the voltage regulation module on the processor performance, and enables it to maintain a stable operating frequency under high load.

[0094] In this application, the baseboard management controller is a dedicated management chip independent of the processor and the operating system. Even if the system crashes or the high load causes the operating system to be unresponsive, the baseboard management controller can continue to monitor the hardware status. The baseboard management controller reads the processor temperature and power consumption through a dedicated interface (such as SMBus), and reads the state parameters of the voltage regulation module through a dedicated interface (such as PMBus), which can bypass the operating system scheduling delay and achieve millisecond-level response. Traditional solutions usually only focus on a single dimension (such as temperature or power consumption) and lack the linkage analysis of "power stability-load demand-frequency adjustment". This application monitors the state parameters of the processor (such as processor temperature, processor power consumption), the operating frequency and the state parameters of the voltage regulation module through the baseboard management controller. When the processor temperature and / or processor power consumption are detected to be over-limit, the processor load, the fluctuation of the processor's operating frequency and the state parameter state of the voltage regulation module are combined to determine whether the processor's operating frequency or the voltage accuracy of the voltage regulation module needs to be adjusted, which can achieve an optimized balance between performance and energy consumption, and avoid the performance loss or energy efficiency waste caused by the single-dimensional frequency modulation of the traditional solution. By implementing multi-parameter collaborative monitoring and closed-loop control of the voltage regulation module through the baseboard management controller, this application solves the performance loss problem of traditional dynamic frequency modulation technology in high-load scenarios, while significantly improving energy efficiency and system stability. This application upgrades the frequency modulation decision from "single event trigger" to "multi-dimensional state machine response", providing an innovative energy efficiency optimization solution for servers, high-performance computing and other fields.

[0095] In some optional embodiments, the baseboard management controller is further configured to send a second control instruction to the processor in response to the load of the processor being less than a load threshold; the processor is further configured to reduce the operating frequency in response to the second control instruction.

[0096] If the baseboard management controller monitors that the status parameters of the processor meet the first warning condition and the processor load is less than the load threshold, a second control instruction can be sent to the processor. The processor reduces the operating frequency according to the second control instruction, for example, the processor enters the energy-saving mode, so as to more reasonably utilize computing resources and avoid waste of resources. It can also reduce overheating and wear of the processor, thereby extending the service life of the hardware.

[0097] For the description of the features in the embodiment corresponding to the server, reference can be made to the relevant description of the embodiment corresponding to the processor control method, which will not be repeated here.

[0098] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in any of the above-mentioned processor control method embodiments are implemented.

[0099] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media that can store computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), mobile hard disks, magnetic disks, or optical discs.

[0100] An embodiment of the present application also provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, the steps in any of the above-described control method embodiments of the processor are implemented.

[0101] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above-described control method embodiments of the processor are implemented.

[0102] Those skilled in the art can further realize that the modules and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0103] The above has introduced in detail the production management method provided by the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. A control method for a processor, characterized in that, Applied to a baseboard management controller, the method includes: Obtaining the state parameters and operating frequency of a processor; In response to the state parameters of the processor satisfying a first warning condition, obtaining the load of the processor; In response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition, obtaining the state parameters of a voltage regulation module for providing an output voltage to the processor; In response to the state parameters of the voltage regulation module satisfying a second warning condition, controlling the voltage regulation module to improve the accuracy of the output voltage.

2. The control method of the processor according to claim 1, characterized in that It further includes: In response to the load of the processor being less than the load threshold, controlling the processor to reduce the operating frequency.

3. The control method of the processor according to claim 1, characterized in that, It further includes: In response to the state parameters of the voltage regulation module satisfying a second warning condition, prohibiting the processor from increasing the operating frequency and / or operating load.

4. The control method of the processor according to claim 1, characterized in that, The state parameters of the processor include the processor temperature and / or the processor power consumption; The obtaining the load of the processor in response to the state parameters of the processor satisfying a first warning condition includes: In response to the processor temperature being greater than a first temperature threshold and / or the processor power consumption being greater than a power consumption threshold, determining that the state parameters of the processor satisfy the first warning condition and obtaining the load of the processor.

5. The control method of the processor according to claim 1, wherein The state parameters of the voltage regulation module include at least one of the output voltage of the voltage regulation module, the output current of the voltage regulation module, and the temperature of the voltage regulation module; The controlling the voltage regulation module to improve the accuracy of the output voltage in response to the state parameters of the voltage regulation module satisfying a second warning condition includes: In response to at least one of the deviation between the output voltage of the voltage regulation module and a target voltage being greater than a first deviation threshold, the deviation between the output current of the voltage regulation module and a target current being greater than a second deviation threshold, and the temperature of the voltage regulation module being greater than a second temperature threshold, determining that the state parameters of the voltage regulation module satisfy the second warning condition and controlling the voltage regulation module to improve the accuracy of the output voltage.

6. The control method of the processor according to claim 5, characterized in that The controlling the voltage regulation module to improve the accuracy of the output voltage includes: Controlling the improvement amplitude of the accuracy of the output voltage of the voltage regulation module according to at least one of the deviation between the output voltage of the voltage regulation module and a target voltage, the deviation between the output current of the voltage regulation module and a target current, and the difference between the temperature of the voltage regulation module and a second temperature threshold; Wherein, the improvement amplitude of the accuracy of the output voltage is positively correlated with the deviation between the output voltage of the voltage regulation module and a target voltage, the deviation between the output current of the voltage regulation module and a target current, or the difference between the temperature of the voltage regulation module and a second temperature threshold.

7. A control device for a processor, characterized in that, It includes: A first obtaining module for obtaining the state parameters and operating frequency of a processor; A second processing module for obtaining the load of the processor in response to the state parameters of the processor satisfying a first warning condition; A third processing module for obtaining the state parameters of a voltage regulation module for providing an output voltage to the processor in response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition; An adjustment module, configured to control the voltage regulation module to improve the accuracy of the output voltage in response to the status parameters of the voltage regulation module satisfying a second warning condition.

8. A server, characterized in that, It includes: A processor; A baseboard management controller; Configured to: obtain the status parameters and operating frequency of the processor; in response to the status parameters of the processor satisfying a first warning condition, obtain the load of the processor; In response to the load of the processor being greater than or equal to a load threshold and the fluctuation of the operating frequency of the processor satisfying a preset fluctuation condition, obtain the status parameters of the voltage regulation module for providing the output voltage to the processor; in response to the status parameters of the voltage regulation module satisfying a second warning condition, send a first control instruction to the voltage regulation module; A voltage regulation module; configured to: improve the accuracy of the output voltage in response to the first control instruction of the baseboard management controller.

9. The server according to claim 8, wherein The baseboard management controller is further configured to send a second control instruction to the processor in response to the load of the processor being less than the load threshold; the processor is further configured to reduce the operating frequency in response to the second control instruction.

10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, wherein when the computer program is executed by the processor, the steps of the control method of the processor according to any one of claims 1 to 6 are implemented.