A control method of a server and related apparatus
By retrieving and burning power configuration data into the voltage regulator in the server, and adjusting the CPU current value using the SVID protocol, the problem of switching between server performance and power consumption is solved, enabling fast and convenient performance and power consumption adjustment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2022-07-28
- Publication Date
- 2026-06-23
AI Technical Summary
Existing technologies cannot quickly and easily switch between high performance and low power consumption in servers. Traditional methods require changes to heat dissipation methods or structures, which leads to operational difficulties.
By retrieving power configuration data and burning it into the voltage regulator, the CPU current value is adjusted using the SVID protocol to regulate the CPU frequency, thereby switching between performance and power consumption.
It enables quick and convenient switching between server performance and power consumption. Users can select performance options and adjust CPU frequency according to their needs without changing the heat dissipation method or structure.
Smart Images

Figure CN115202463B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to a server control method; it also relates to a server control device, equipment, and computer-readable storage medium. Background Technology
[0002] With the diversification of server application scenarios, users have different priorities when choosing servers. For the same server, the choice between high performance, low power consumption, or a compromise between the two depends on the user's needs. Typically, the server's configuration and structure determine its performance and power consumption at the factory. Modifying a server's performance or power consumption after it leaves the factory is quite difficult. Traditionally, modifying a server's performance or power consumption after manufacturing involves altering its cooling system, structure, processor model, memory, etc., to achieve high performance or low power consumption. However, these traditional methods cannot quickly and easily achieve a switch between high performance and low power consumption.
[0003] Therefore, providing a technical solution that can quickly and easily switch between high performance and low power consumption in servers has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a server control method that enables quick and convenient switching between high performance and low power consumption. Another purpose of this application is to provide a server control device, equipment, and computer-readable storage medium, all of which achieve the aforementioned technical effects.
[0005] To address the aforementioned technical problems, this application provides a server control method, comprising:
[0006] Retrieve the corresponding power configuration data based on the selected performance option;
[0007] The power configuration data is programmed into the voltage regulator via a first protocol, so that the voltage regulator transmits the corresponding current value to the CPU via a second protocol according to the power configuration data, and the CPU adjusts the CPU frequency according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0008] Optionally, the power configuration data includes: first power configuration data, second power configuration data, and third power configuration data; when the voltage regulator programs the first power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is higher than the actual current value output by the voltage regulator; when the voltage regulator programs the second power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is equal to the actual current value output by the voltage regulator; when the voltage regulator programs the third power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is lower than the actual current value output by the voltage regulator.
[0009] Optionally, before burning the power configuration data to the voltage regulator via the first protocol, the method further includes:
[0010] The CRC check value of the power configuration data is verified, and after the CRC check value is verified, the power adapter data is burned into the voltage regulator.
[0011] Optionally, before burning the power configuration data to the voltage regulator via the first protocol, the method further includes:
[0012] Verify the voltage regulator address, and after the voltage regulator address verification is successful, burn the power configuration data to the voltage regulator corresponding to the voltage regulator address.
[0013] Optionally, the step of burning the power configuration data to the voltage regulator via the first protocol includes:
[0014] The power configuration data is burned into the voltage regulator via the PMbus protocol.
[0015] Optionally, the voltage regulator transmits the corresponding current value to the CPU via a second protocol based on the power configuration data, including:
[0016] The voltage regulator transmits the corresponding current value to the CPU via the SVID protocol based on the power configuration data.
[0017] Optional, also includes:
[0018] After the power configuration data is burned into the voltage regulator using the first protocol, the server is started.
[0019] To address the aforementioned technical problems, this application also provides a server control device, comprising:
[0020] The configuration data retrieval module is used to retrieve the corresponding power configuration data based on the selected performance option;
[0021] The configuration data programming module is used to program the power configuration data to the voltage regulator through a first protocol, so that the voltage regulator transmits the corresponding current value to the CPU through a second protocol according to the power configuration data, and the CPU adjusts the frequency of the CPU according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0022] To address the aforementioned technical problems, this application also provides a server control device, comprising:
[0023] Memory, used to store computer programs;
[0024] A processor for executing the computer program to implement the steps of the server control method as described in any of the preceding claims.
[0025] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the server control method as described in any of the preceding claims.
[0026] The server control method provided in this application includes: retrieving corresponding power configuration data according to the selected performance option; burning the power configuration data to a voltage regulator through a first protocol, so that the voltage regulator transmits a corresponding current value to the CPU through a second protocol according to the power configuration data, so that the CPU adjusts the CPU frequency according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0027] As can be seen, the server control method provided in this application, at the software level, adjusts the IMON curve by programming power configuration data into the voltage regulator, thereby enabling the CPU to adjust its frequency accordingly, and thus achieving regulation of CPU performance and power consumption. Users can quickly and easily switch between high performance and low power consumption by selecting performance options without needing to change the heat dissipation method, structure, etc.
[0028] The server control device, equipment, and computer-readable storage medium provided in this application all have the aforementioned technical effects. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 A schematic flowchart illustrating a server control method provided in an embodiment of this application;
[0031] Figure 2 This is a schematic diagram of a current monitoring curve provided in an embodiment of this application;
[0032] Figure 3 A schematic diagram of a server framework provided in an embodiment of this application;
[0033] Figure 4 A schematic diagram of a BMC web power selection interface provided in an embodiment of this application;
[0034] Figure 5 This is a schematic diagram of a server control device provided in an embodiment of this application;
[0035] Figure 6 This is a schematic diagram of a server control device provided in an embodiment of this application. Detailed Implementation
[0036] The core of this application is to provide a server control method that enables quick and convenient switching between high performance and low power consumption. Another core aspect of this application is to provide a server control device, equipment, and computer-readable storage medium, all of which achieve the aforementioned technical effects.
[0037] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0038] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a server control method provided in an embodiment of this application. (Refer to...) Figure 1 As shown, the method includes:
[0039] S101: Retrieve the corresponding power configuration data based on the selected performance option;
[0040] S102: The power configuration data is burned into the voltage regulator through the first protocol, so that the voltage regulator transmits the corresponding current value to the CPU (Central Processing Unit) through the second protocol according to the power configuration data, so that the CPU adjusts the frequency of the CPU according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0041] CPU performance decreases while power consumption decreases; CPU performance increases while power consumption increases. Besides hardware factors such as the CPU model, CPU power consumption and performance are also closely related to CPU power supply current monitoring. The CPU can monitor the current and voltage of each voltage regulator (VR) supplying power to it through relevant protocols. Based on the current provided by the voltage regulators and their actual output current monitored through these protocols, the CPU adjusts its frequency, thereby altering its performance and power consumption.
[0042] When a voltage regulator is configured, the current drawn by the CPU during operation will be limited by the voltage regulator configuration.
[0043] If the CPU detects, via a relevant protocol, that the current supplied by the voltage regulator is higher than the actual output current of the voltage regulator, the CPU will decrease its frequency. If the CPU detects, via a relevant protocol, that the current supplied by the voltage regulator is lower than the actual output current of the voltage regulator, the CPU will increase its frequency. If the CPU detects, via a relevant protocol, that the current supplied by the voltage regulator is equal to the actual output current of the voltage regulator, the CPU will maintain its current frequency.
[0044] Taking the CPU core power supply VCCIN as an example (the CPU core power supply is the main power supply for the CPU and has the largest current):
[0045] The IMON curve, or current monitoring curve, has two important parameters: the actual load current and the current perceived by the CPU as being output by the voltage regulator, read through relevant protocols. Based on the actual load current and the given error value, the allowable current deviation range for the CPU can be determined. For example... Figure 2 The two curves shown are the top left and bottom right curves. The VRTT fixture can obtain the current value perceived by the CPU through relevant protocols. Centering indicates that the current value perceived by the CPU is closest to the actual current value output by the voltage regulator. Figure 2 The upper left curve corresponds to Figure 2 The Iout Design Target Upper limit(A) described in the document, Figure 2 The curve in the lower right corner corresponds to Figure 2The Iout Design Target Lower limit(A) described in the document Figure 2 The curve in the middle corresponds to Figure 2 Reported Iout by SVID Bus(A).
[0046] When the current value obtained through the relevant protocol is close to the upper limit, that is, very close to the curve in the upper left, it means that the current value detected by the CPU is larger than the actual current value output by the voltage regulator. This will give the CPU the illusion that the current provided by the voltage regulator is very large. As a result, in order to avoid excessive power consumption, the CPU will reduce its frequency, thereby reducing CPU performance and power consumption.
[0047] When the current value obtained through the relevant protocol is close to the lower limit, that is, very close to the curve on the lower right, it means that the current value detected by the CPU is smaller than the actual current value output by the voltage regulator. At this time, the CPU will think that it still has room to reach a higher frequency, draw more current from the voltage regulator, and then the CPU will perform frequency increase operation, thereby improving CPU performance and increasing power consumption.
[0048] The current provided by the voltage regulator, monitored by the CPU through relevant protocols, is related to the voltage regulator's own power configuration data. Under different configurations, the relationship between the current monitored by the CPU through relevant protocols and the actual current output by the voltage regulator varies. Based on this, this embodiment programs power configuration data into the voltage regulator, enabling the voltage regulator to transmit corresponding current values to the CPU through relevant protocols according to the power configuration data. This allows the CPU to adjust its frequency based on the current value transmitted by the voltage regulator and the actual current output by the voltage regulator, thereby changing its performance and power consumption.
[0049] In this way, after the server leaves the factory, different power configuration data can be burned into the voltage regulator through the BMC according to different user needs, so that the server can switch between high performance and low power consumption.
[0050] The Baseboard Management Controller (BMC) can pre-store various power configuration data in its FLASH memory, with different power configuration data stored in different memory units. The BMC web power selection interface displays different performance options, each corresponding to different power configuration data. When a user selects a performance option on the BMC web power selection interface, the BMC retrieves the corresponding power configuration data from the FLASH memory and programs it into the voltage regulator via a first protocol.
[0051] In some embodiments, the step of burning the power configuration data to the voltage regulator via the first protocol may include: burning the power configuration data to the voltage regulator via the PMbus (Power Management Bus) protocol.
[0052] refer to Figure 3 As shown, in this embodiment, the BMC communicates with the voltage regulator via the PMbus protocol. The BMC uses the PMbus protocol to program power configuration data into the voltage regulator at the corresponding address.
[0053] In addition, in some embodiments, the voltage regulator transmitting the corresponding current value to the CPU according to the power configuration data via a second protocol may include: the voltage regulator transmitting the corresponding current value to the CPU according to the power configuration data via the SVID (Serial Voltage Identification) protocol.
[0054] refer to Figure 3 As shown, in this embodiment, the voltage regulator and the CPU communicate via the SVID protocol. The CPU can monitor the current provided by the voltage regulator through the SVID protocol.
[0055] Furthermore, in some embodiments, the power configuration data may include: first power configuration data, second power configuration data, and third power configuration data; when the voltage regulator programs the first power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is higher than the actual current value output by the voltage regulator; when the voltage regulator programs the second power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is equal to the actual current value output by the voltage regulator; when the voltage regulator programs the third power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is lower than the actual current value output by the voltage regulator.
[0056] In this embodiment, during the server motherboard testing and debugging phase, three versions of power configuration data were retrieved: one with the IMON curve slightly above the upper limit, one with the curve in the middle, and one with the curve slightly below the lower limit. The first power configuration data corresponds to the IMON curve slightly above the upper limit, the second power configuration data corresponds to the IMON curve in the middle, and the third power configuration data corresponds to the IMON curve slightly below the lower limit.
[0057] When the voltage regulator records power configuration data corresponding to the upper limit of the IMON curve, the current value monitored by the CPU through the SVID protocol is higher than the actual output current value of the voltage regulator. At this time, the CPU will perform frequency reduction, which reduces CPU performance and power consumption.
[0058] When the voltage regulator is programmed with power configuration data corresponding to the lower limit of the IMON curve, the current value monitored by the CPU through the SVID protocol is lower than the actual output current value of the voltage regulator. At this time, the CPU will perform frequency boosting, which improves CPU performance but also increases power consumption.
[0059] When the voltage regulator records the power configuration data corresponding to the center of the IMON curve, the current value monitored by the CPU through the SVID protocol is almost equal to the actual current value output by the voltage regulator. At this time, the CPU's performance and power consumption are in the middle range.
[0060] refer to Figure 4 As shown, the BMC web power selection interface offers three performance options: High Performance, Low Power, and Balanced Performance and Power Consumption. If the user selects High Performance, BMC will program the power configuration data corresponding to the lower limit of the IMON curve into the voltage regulator. The current value monitored by the CPU via the SVID protocol will be lower than the actual current output of the voltage regulator. In this case, the CPU will perform a frequency increase, resulting in improved CPU performance but also increased power consumption. If the user selects Low Power, BMC will program the power configuration data corresponding to the upper limit of the IMON curve into the voltage regulator. The current value monitored by the CPU via the SVID protocol will be higher than the actual current output of the voltage regulator. In this case, the CPU will perform a frequency decrease, resulting in reduced CPU performance and reduced power consumption. If the user selects Balanced Performance and Power Consumption, BMC will program the power configuration data corresponding to the middle of the IMON curve into the voltage regulator. The current value monitored by the CPU via the SVID protocol will be almost equal to the actual current output of the voltage regulator. In this case, the CPU's performance and power consumption will be balanced.
[0061] In addition to performance settings, the BMC web power selection interface also allows you to configure power actions, including power on, restart, power off, and update. These power actions enable you to control server power on, power off, restart, and update.
[0062] The voltage regulators supplying power include multiple regulators. When a user selects a performance option, power configuration data can be programmed for each voltage regulator individually, or for the main voltage regulators. For example, power configuration data can be programmed only for the voltage regulator supplying power to the CPU core.
[0063] Furthermore, based on the above embodiments, as a specific implementation method, the step of burning the power configuration data to the voltage regulator via the first protocol further includes:
[0064] Verify the CRC (Cyclic Redundancy Check) value of the power configuration data, and after the CRC verification value passes, burn the power adaptation data into the voltage regulator.
[0065] To ensure the accuracy of power configuration data and guarantee effective switching between high performance and low power consumption, this embodiment first checks the CRC checksum of the power configuration data after retrieval. If the check passes, the power configuration data is burned into the voltage regulator. If the check fails, the power configuration data is retrieved again via a new address search.
[0066] Furthermore, based on the above embodiments, as a specific implementation method, the step of burning the power configuration data to the voltage regulator via the first protocol further includes:
[0067] Verify the voltage regulator address, and after the voltage regulator address verification is successful, burn the power configuration data to the voltage regulator corresponding to the voltage regulator address.
[0068] The voltage regulator supplying the power supply includes multiple voltage regulators. To ensure accurate programming of the power configuration data to the corresponding voltage regulator, this embodiment first verifies the voltage regulator address after retrieving the power configuration data. If the verification passes, the power configuration data is programmed into the voltage regulator corresponding to that address. If the verification fails, the correct voltage regulator address is obtained again, and then the power configuration data is programmed into the voltage regulator corresponding to that address.
[0069] Furthermore, based on the above embodiments, as a specific implementation method, it also includes:
[0070] After the power configuration data is burned into the voltage regulator using the first protocol, the server is started.
[0071] In this embodiment, the server is powered on but not turned on. After the Power Management Control Center (BMC) takes effect, the user enters the BMC web power selection interface. On the BMC web power selection interface, the user selects a performance option and clicks "Execute Operation." The BMC then retrieves the corresponding power configuration data from the FLASH memory and programs the power configuration data into the corresponding voltage regulator. After the power configuration data is programmed into the corresponding voltage regulator, the server can be turned on after the user clicks "Power On" in the power action.
[0072] In summary, the server control method provided in this application includes: retrieving corresponding power configuration data according to the selected performance option; programming the power configuration data into a voltage regulator via a first protocol, so that the voltage regulator transmits a corresponding current value to the CPU via a second protocol according to the power configuration data, and the CPU adjusts its frequency according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator. It is evident that the server control method provided in this application, at the software level, adjusts the IMON curve by programming power configuration data into the voltage regulator, thereby enabling the CPU to adjust its frequency accordingly, and thus achieving CPU performance and power consumption regulation. Users can quickly and conveniently switch between high performance and low power consumption by selecting performance options without needing to change the heat dissipation method, structure, etc.
[0073] This application also provides a server control device, which is described below and can be referred to in conjunction with the method described above. Please refer to... Figure 5 , Figure 5 This is a schematic diagram of a server control device provided in an embodiment of this application, in conjunction with... Figure 5 As shown, the device includes:
[0074] The configuration data retrieval module 10 is used to retrieve the corresponding power configuration data according to the selected performance option;
[0075] The configuration data programming module 20 is used to program the power configuration data to the voltage regulator through a first protocol, so that the voltage regulator transmits the corresponding current value to the CPU through a second protocol according to the power configuration data, and the CPU adjusts the frequency of the CPU according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0076] Based on the above embodiments, as a specific implementation method, the power configuration data includes: first power configuration data, second power configuration data, and third power configuration data; when the voltage regulator programs the first power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is higher than the actual current value output by the voltage regulator; when the voltage regulator programs the second power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is equal to the actual current value output by the voltage regulator; when the voltage regulator programs the third power configuration data, the current value transmitted by the voltage regulator to the CPU through the SVID protocol is lower than the actual current value output by the voltage regulator.
[0077] Based on the above embodiments, as a specific implementation method, it further includes:
[0078] The first verification module is used to verify the CRC check value of the power configuration data before the configuration data burning module 20 burns the power configuration data to the voltage regulator through the first protocol, and after the CRC check value is verified, the configuration data burning module 20 burns the power adaptation data to the voltage regulator.
[0079] Based on the above embodiments, as a specific implementation method, it further includes:
[0080] The second verification module is used to verify the voltage regulator address before the configuration data burning module 20 burns the power configuration data to the voltage regulator through the first protocol, and after the voltage regulator address is verified, the configuration data burning module 20 burns the power configuration data to the voltage regulator corresponding to the voltage regulator address.
[0081] Based on the above embodiments, as a specific implementation method, the configuration data burning module 20 is specifically used for:
[0082] The power configuration data is burned into the voltage regulator via the PMbus protocol.
[0083] Based on the above embodiments, as a specific implementation method, the voltage regulator transmits the corresponding current value to the CPU through the SVID protocol according to the power configuration data.
[0084] Based on the above embodiments, as a specific implementation method, it further includes:
[0085] The startup module is used to start the server after the configuration data burning module 20 burns the power configuration data to the voltage regulator through the first protocol.
[0086] The server control device provided in this application, at the software level, adjusts the IMON curve by programming power configuration data into the voltage regulator, thereby enabling the CPU to adjust its frequency accordingly, and thus regulating CPU performance and power consumption. Users can quickly and easily switch between high performance and low power consumption by selecting performance options without changing the heat dissipation method or structure.
[0087] This application also provides a server control device, see reference. Figure 6 As shown, the device includes a memory 1 and a processor 2.
[0088] Memory 1 is used to store computer programs;
[0089] Processor 2 is used to execute computer programs to perform the following steps:
[0090] Based on the selected performance option, the corresponding power configuration data is retrieved; the power configuration data is burned into the voltage regulator via the first protocol, so that the voltage regulator transmits the corresponding current value to the CPU via the second protocol according to the power configuration data, so that the CPU adjusts the CPU frequency according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0091] For a description of the equipment provided in this application, please refer to the above method embodiments; further details will not be provided here.
[0092] The server control device provided in this application, at the software level, adjusts the IMON curve by programming power configuration data into the voltage regulator, thereby enabling the CPU to adjust its frequency accordingly, and thus regulating CPU performance and power consumption. Users can quickly and easily switch between high performance and low power consumption by selecting performance options without needing to change the heat dissipation method or structure.
[0093] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the following steps:
[0094] Based on the selected performance option, the corresponding power configuration data is retrieved; the power configuration data is burned into the voltage regulator via the first protocol, so that the voltage regulator transmits the corresponding current value to the CPU via the second protocol according to the power configuration data, so that the CPU adjusts the CPU frequency according to the current value transmitted by the voltage regulator and the actual current value output by the voltage regulator.
[0095] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0096] For a description of the computer-readable storage medium provided in this application, please refer to the above method embodiments; further details will not be repeated here.
[0097] The computer-readable storage medium provided in this application, at the software level, adjusts the IMON curve by programming power configuration data into a voltage regulator, thereby enabling the CPU to adjust its frequency accordingly, and thus regulate CPU performance and power consumption. Users can quickly and easily switch between high performance and low power consumption by selecting performance options without needing to change the cooling method or structure.
[0098] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses, devices, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant details can be found in the method section.
[0099] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software 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 beyond the scope of this application.
[0100] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0101] The control method, apparatus, device, and computer-readable storage medium for the server provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A method for controlling a server, characterized in that, include: Retrieve the corresponding power configuration data based on the selected performance option; The power configuration data is programmed into the voltage regulator via a first protocol. The voltage regulator then transmits a corresponding current value to the CPU via a second protocol based on this power configuration data. The CPU adjusts its frequency based on the current value transmitted by the voltage regulator and the actual current output of the voltage regulator. When the voltage regulator is programmed with the first power configuration data, the current value transmitted to the CPU is higher than the actual current output of the voltage regulator, and the CPU performs a frequency reduction operation. When the voltage regulator is programmed with the third power configuration data, the current value transmitted to the CPU is lower than the actual current output of the voltage regulator, and the CPU performs a frequency increase operation. When the voltage regulator is programmed with the second power configuration data, the current value transmitted to the CPU is equal to the actual current output of the voltage regulator, and the CPU's performance and power consumption are moderate.
2. The server control method according to claim 1, characterized in that, The power configuration data includes: first power configuration data, second power configuration data, and third power configuration data; when the voltage regulator programs the first power configuration data, the current value transmitted by the voltage regulator to the CPU via the SVID protocol is higher than the actual current value output by the voltage regulator; when the voltage regulator programs the second power configuration data, the current value transmitted by the voltage regulator to the CPU via the SVID protocol is equal to the actual current value output by the voltage regulator; when the voltage regulator programs the third power configuration data, the current value transmitted by the voltage regulator to the CPU via the SVID protocol is lower than the actual current value output by the voltage regulator.
3. The server control method according to claim 2, characterized in that, Before burning the power configuration data to the voltage regulator via the first protocol, the process further includes: The CRC check value of the power configuration data is verified, and after the CRC check value is verified, the power configuration data is burned into the voltage regulator.
4. The server control method according to claim 1, characterized in that, Before burning the power configuration data to the voltage regulator via the first protocol, the process further includes: Verify the voltage regulator address, and after the voltage regulator address verification is successful, burn the power configuration data to the voltage regulator corresponding to the voltage regulator address.
5. The server control method according to claim 1, characterized in that, The step of burning the power configuration data to the voltage regulator via the first protocol includes: The power configuration data is burned into the voltage regulator via the PMbus protocol.
6. The server control method according to claim 1, characterized in that, The voltage regulator transmits the corresponding current value to the CPU according to the power configuration data via a second protocol, including: The voltage regulator transmits the corresponding current value to the CPU via the SVID protocol based on the power configuration data.
7. The server control method according to claim 1, characterized in that, Also includes: After the power configuration data is burned into the voltage regulator using the first protocol, the server is started.
8. A server control device, characterized in that, include: The configuration data retrieval module is used to retrieve the corresponding power configuration data based on the selected performance option; A configuration data programming module is used to program the power configuration data to the voltage regulator via a first protocol. This allows the voltage regulator to transmit a corresponding current value to the CPU via a second protocol based on the power configuration data. The CPU then adjusts its frequency based on the current value transmitted by the voltage regulator and the actual current output of the voltage regulator. When the voltage regulator programs the first power configuration data, the current value transmitted to the CPU is higher than the actual current output of the voltage regulator, and the CPU performs a frequency reduction operation. When the voltage regulator programs the third power configuration data, the current value transmitted to the CPU is lower than the actual current output of the voltage regulator, and the CPU performs a frequency increase operation. When the voltage regulator programs the second power configuration data, the current value transmitted to the CPU is equal to the actual current output of the voltage regulator, and the CPU's performance and power consumption are moderate.
9. A server control device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the server control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the server control method as described in any one of claims 1 to 7.