Method and apparatus for executing a system function

By configuring the processor operation mode and adjusting the frequency in the configuration interface of the server control system, the problem of insufficient processor flexibility is solved, flexible operation mode and frequency adjustment is achieved, and the server's processor operation flexibility is improved.

CN120104200BActive Publication Date: 2025-08-05INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510595767.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2025-08-05
Estimated Expiration
2045-05-09

AI Technical Summary

Technical Problem

The server's processor has poor operation flexibility and cannot meet the user's complex usage needs.

Method used

It provides a method of executing system functions, by displaying the first configuration interface of the control system of the server, configuring the operating mode of the server processor, saving option values, and detecting the configuration status during startup, and adjusting the operating frequency of the processor to achieve flexible mode selection and frequency adjustment.

Benefits of technology

It improves the operation flexibility of the server processor, and can dynamically adjust the operating mode and frequency according to requirements, meeting the needs of diverse usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120104200B_ABST
    Figure CN120104200B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for executing system functions, relating to the field of server technology. The method includes displaying a first configuration interface of a control system of a server, wherein a first tab is displayed on the first configuration interface, and the first tab is used to configure an operating mode configuration item of a processor of the server; in response to a confirmation operation triggered on the first configuration interface, saving the option value of the first tab on the first configuration interface; during the server startup process, detecting the configuration status of the option value of the first tab; and when the configuration status is detected to be a target state, executing an adjustment function through the control system during the operation of the processor, wherein the adjustment function is used to adjust the operating frequency of the processor. Through this application, the technical effect of improving the operating flexibility of the server processor is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a method and device for executing system functions. Background Art

[0002] As servers continue to evolve, they integrate more and more functions, and users' demands for them become increasingly complex. Under these circumstances, the traditional single, fixed server processor operating mode no longer meets user needs, and server processors offer limited operational flexibility. Summary of the Invention

[0003] The present application provides a method and apparatus for executing system functions, so as to at least solve the problem of poor operating flexibility of a server processor in the related art.

[0004] The present application provides a method for executing system functions, including: displaying a first configuration interface of a control system of a server, wherein a first tab is displayed on the first configuration interface, and the first tab is used to configure an operating mode configuration item of an operating mode of a processor of the server; in response to a confirmation operation triggered on the first configuration interface, saving the option value of the first tab on the first configuration interface; during the server startup process, detecting the configuration status of the option value of the first tab; and when it is detected that the configuration status is a target state, executing an adjustment function through the control system during the operation of the processor, wherein the adjustment function is used to adjust the operating frequency of the processor.

[0005] The present application also provides a system function execution device, including: a first display module, used to display a first configuration interface of a control system of a server, wherein a first tab is displayed on the first configuration interface, and the first tab is used to configure an operating mode configuration item of an operating mode of a processor of the server; a saving module, used to respond to a confirmation operation triggered on the first configuration interface, and save the option value of the first tab on the first configuration interface; a first detection module, used to detect the configuration status of the option value of the first tab during the server startup process; and a first execution module, used to execute an adjustment function through the control system during the operation of the processor when it is detected that the configuration status is a target state, wherein the adjustment function is used to adjust the operating frequency of the processor.

[0006] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of the execution method of any of the above-mentioned system functions when executing the computer program.

[0007] The present application also provides a computer-readable storage medium, in which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the execution method of any of the above-mentioned system functions are implemented.

[0008] The present application also provides a computer program product, including a computer program, which implements the steps of the execution method of any of the above-mentioned system functions when the computer program is executed by a processor.

[0009] Through this application, the first configuration interface of the control system of the server is displayed to provide a selection of the operating mode configuration items of the server's processor, and in response to the confirmation operation triggered on the first configuration interface, the option value of the first tab on the first configuration interface is saved. During the server startup process, the configuration status of the option value of the first tab is detected, and then when the configuration status is detected to be the target state, the control system performs an adjustment function for adjusting the operating frequency of the processor during the operation of the processor, that is, the operating mode of the server's processor can be flexibly selected through the first configuration interface, and the operating frequency of the processor can also be flexibly adjusted when the processor is running in the target state, and the operating flexibility of the server's processor is effectively improved. Therefore, the technical problem of poor operating flexibility of the server's processor in the related art can be solved, and the technical effect of improving the operating flexibility of the server's processor can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0011] Figure 1 This is a hardware structure diagram for executing the system functions of the embodiment of the present application;

[0012] Figure 2 is a flowchart of a method for executing system functions according to an embodiment of the present application;

[0013] Figure 3 is a schematic diagram of a method for executing a system function according to an embodiment of the present application;

[0014] Figure 4 This is a schematic diagram of the first configuration interface according to an embodiment of the present application. Figure 1 .

[0015] Figure 5 This is a schematic diagram of the first configuration interface according to an embodiment of the present application. Figure 2 .

[0016] Figure 6 This is a schematic diagram of the first configuration interface according to an embodiment of the present application. Figure 3 .

[0017] Figure 7is a schematic diagram of a second configuration interface according to an embodiment of the present application.

[0018] Figure 8 It is a schematic diagram of the third configuration interface according to an embodiment of the present application.

[0019] Figure 9 This is a control diagram of the operation process of a processor according to an embodiment of the present application.

[0020] Figure 10 This is a control schematic diagram of the operation process of a fan according to an embodiment of the present application.

[0021] Figure 11 This is a process of a server dynamic energy efficiency management method according to an embodiment of the present application Figure 1 .

[0022] Figure 12 It is a flowchart of the judgment sub-process a according to an embodiment of the present application.

[0023] Figure 13 This is a process of a server dynamic energy efficiency management method according to an embodiment of the present application Figure 2 .

[0024] Figure 14 It is a structural block diagram of the execution of a system function according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0026] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0027] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0028] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the execution method of the system function depends, the specific application environment architecture or specific hardware architecture is described here.

[0029] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 This is a hardware structure diagram of the execution of the system functions of the embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. The server device may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0030] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for executing the system function in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to a server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0031] Transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communication provider of the server device. In one embodiment, transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0032] The embodiments of the present application provide a method for executing a system function, and the method is described in detail in conjunction with the execution flow of the method for executing the system function.

[0033] The following is an explanation of the professional terms that appear in this application:

[0034] BIOS (Basic Input / Output System) is the first program that runs when a computer starts up. It is responsible for initializing the hardware, detecting hardware devices, and loading the operating system. The BIOS is stored in a ROM (Read-Only Memory) chip on the motherboard and provides the most basic interaction layer between the hardware and the operating system, ensuring the computer system can start up and run smoothly.

[0035] A Baseboard Management Controller (BMC) is a specialized microcontroller used to monitor and manage the health and status of hardware in servers, workstations, and other computing platforms. A BMC can remotely monitor and control servers through the Intelligent Platform Management Interface (IPMI) protocol. This includes monitoring temperature, voltage, fan speed, and power supply status, as well as performing remote control operations such as power on, power off, and reboot.

[0036] IPMI: Intelligent Platform Management Interface, an industry-standard specification for remotely monitoring and managing system-level events, particularly for servers and other computing devices.

[0037] Redfish, the "Redfish" protocol, standard, or technology, is a standardized management interface for unified management of servers, storage, and network devices in modern data centers. It provides a RESTful (Representational State Transfer) API (Application Programming Interface) that makes hardware management more flexible and efficient.

[0038] In this embodiment, a method for executing a system function is provided. Figure 2 is a flowchart of a method for executing system functions according to an embodiment of the present application, such as Figure 2 As shown, the method includes the following steps:

[0039] Step S202: displaying a first configuration interface of the control system of the server, wherein the first configuration interface displays a first tab, the first tab being used to configure an operating mode configuration item of a processor of the server;

[0040] Step S204, in response to the confirmation operation triggered on the first configuration interface, saving the option value of the first tab on the first configuration interface;

[0041] Step S206, during the server startup process, detecting the configuration status of the option value of the first tab;

[0042] Step S208 : When it is detected that the configuration state is the target state, an adjustment function is executed by the control system during the operation of the processor, wherein the adjustment function is used to adjust the operating frequency of the processor.

[0043] Through the above steps, the first configuration interface of the control system of the server is displayed to provide a selection of the operating mode configuration items of the server's processor, and in response to the confirmation operation triggered on the first configuration interface, the option value of the first tab on the first configuration interface is saved. During the server startup process, the configuration status of the option value of the first tab is detected. Then, when the configuration status is detected to be the target state, the control system performs an adjustment function for adjusting the operating frequency of the processor during the operation of the processor, that is, the operating mode of the server's processor can be flexibly selected through the first configuration interface, and the operating frequency of the processor can be flexibly adjusted when the processor is running in the target state, and the operating flexibility of the server's processor is effectively improved. Therefore, the technical problem of poor operating flexibility of the server's processor in the related art can be solved, and the technical effect of improving the operating flexibility of the server's processor can be achieved.

[0044] In the embodiment provided in step S202, the server's control system may be, but is not limited to, a comprehensive management platform integrating software and hardware functions. It is responsible for monitoring and managing the server's operating status, including hardware initialization, configuration, performance adjustment, and fault diagnosis. Specifically, the server's control system may be, but is not limited to, an out-of-band system. An out-of-band system may refer to, but is not limited to, a system outside the server's in-band system. Out-of-band systems are independent of the operating system and can provide the lowest-level, direct hardware management and control for the device. The server's control system may be, but is not limited to, the BIOS. The BIOS may be, but is not limited to, a ROM chip embedded on the server's motherboard and a set of programs running on it. This set of programs includes the computer's most important basic input and output programs, system settings, post-boot self-test programs, and system startup programs. The BIOS provides the lowest-level, direct hardware configuration and control for the device. Currently, the BIOS's functions are primarily used for device power-on self-test, hardware initialization, driver loading, and system booting. It typically automatically exits after booting the device into the system.

[0045] Optionally, in this embodiment, the first configuration interface can be, but is not limited to, displayed on a display device inside the server, or displayed on a display device external to the server, and this application does not impose specific restrictions on this.

[0046] Optionally, in this embodiment, there are multiple possibilities for displaying the first configuration interface of the control system of the server, including but not limited to one of the following possibilities:

[0047] When the server is first installed or undergoes a major hardware upgrade, the control system automatically loads and presents a first configuration interface, allowing the user to initialize the processor's operating mode based on the server's intended use, such as high-performance computing, data center energy-saving operation, or balanced mode;

[0048] During normal server operation, when a user needs to adjust server performance or power consumption, the user may, but is not limited to, re-enter the first configuration interface of the server control system to access and modify the first tab, i.e., the processor operating mode configuration item, to adapt to the changed workload requirements;

[0049] The server control system can also, but is not limited to, automatically pop up a configuration interface when the user requests performance optimization or energy-saving strategy changes, guiding the user to confirm or adjust the processor's operating mode to ensure the best balance between server performance and efficiency.

[0050] Optionally, in this embodiment, the first configuration interface may display, but is not limited to, a first tab, or may also display a selection guide for the first tab, wherein the selection guide is used to indicate the correspondence between the various option values of the first tab and the operating mode of the server's processor.

[0051] Optionally, in this embodiment, the first tab may be, but is not limited to, providing the user with a selection of multi-angle processor operation control mechanisms. For example, the first tab may be, but is not limited to, including multiple sub-tabs, each sub-tab being used to indicate the operation mode of the processor at different angles: sub-tab A is used to indicate the operating mode of the processor, sub-tab B is used to indicate whether the frequency modulation function of the processor's control system is turned on, sub-tab C is used to indicate the processor's heat dissipation strategy, etc. The user can achieve multi-angle operation control of the processor by selecting the respective option values of sub-tab A, sub-tab B, and sub-tab C.

[0052] Optionally, in this embodiment, the first tab may be, but is not limited to, an operating mode configuration item for configuring a processor of the server, and the operating mode configuration item may be, but is not limited to, an operating mode for configuring a processor of the server.

[0053] Optionally, in this embodiment, the operating mode of the processor is no longer limited to a fixed one, but can be set to multiple modes according to the operating requirements of the server, but is not limited to it. The user can adjust the operating mode of the server processor according to the real-time server operating requirements. For example, in a scenario where the timeliness of the server's task execution is not high and the energy consumption requirements of the server are high, the server's operating mode can be configured to a more energy-saving mode, but is not limited to it. In the more energy-saving mode, the server will be kept in a lower energy consumption state as much as possible when there is no load.

[0054] Optionally, in this embodiment, the processor's multiple operating modes may be, but are not limited to, set based on various possibilities of server operating scenarios. The processor's multiple operating modes may include, but are not limited to, high-performance computing mode, energy-saving mode, and energy-efficiency mode. When the high-performance computing mode is selected, the server's energy-saving requirements will give way to the server's task execution requirements. When the energy-saving mode is selected, the server's energy-saving requirements will take precedence over the server's task execution requirements. When the energy-efficiency mode is selected, the server's processor's ability to execute tasks will be adjusted based on the server's processor load to balance energy-saving requirements and task execution requirements.

[0055] In the embodiment provided in step S204, the confirmation operation may be, but is not limited to, used to trigger saving of the option value of the first tab on the first configuration interface.

[0056] Optionally, in this embodiment, the confirmation operation may include but is not limited to clicking on the confirmation option of the first configuration interface; in response to the confirmation operation triggered on the first configuration interface, saving the option value of the first tab on the first configuration interface may include but is not limited to: after the user completes the selection of the option value of the first tab, manually confirming the change of the option value through the "Save and Exit" option or a similar confirmation button on the first configuration interface, at which time, the control system will save the new option value.

[0057] Optionally, in this embodiment, the confirmation operation may also include, but is not limited to, a series of instructions executed by an automated script; it may be, but is not limited to, pre-setting predetermined conditions (for example, the continuous running time of the server's processor reaches a certain threshold) through the automated script, and when the server is under the predetermined conditions, the automated script automatically executes the determination operation. Under this design, responding to the confirmation operation triggered on the first configuration interface and saving the option value of the first tab on the first configuration interface may include, but is not limited to: the control system communicates with the automated script, responding to the confirmation instruction of the automated script, and saving the option value of the first tab on the first configuration interface.

[0058] Optionally, in this embodiment, the option value of the first option card may be, but is not limited to, a configuration item for indicating an operating mode of a processor.

[0059] Optionally, in this embodiment, the option value of the first tab may include, but is not limited to, multiple configuration states, each of which corresponds to a plurality of operating modes of the server's processor. Different operating modes may be configured for the server's processor by selecting different states of the option value of the first tab, but is not limited to, different configuration states.

[0060] Optionally, in this embodiment, after saving the option value of the first tab on the first configuration interface, the server may be restarted immediately, but is not limited to; or the server may be shut down and the server may be waited for the next normal startup of the server.

[0061] In the embodiment provided in step S206, the option value of the first tab may include, but is not limited to, one or more sub-option values. When the option value of the first tab includes multiple sub-option values, each sub-option value represents a different option at different times, and the configuration state may be, but is not limited to, a combination of multiple options. Detecting the configuration state of the option value of the first tab may include, but is not limited to, detecting the options of each sub-option value, and the resulting combination of options is the configuration state.

[0062] In the embodiment provided in step S208, the adjustment function performed by the control system during the operation of the processor may include, but is not limited to, periodically adjusting the operating frequency of the processor through the control system, or monitoring the energy consumption parameters of the processor, and adjusting the operating frequency of the processor through the control system when the energy consumption parameters reach a parameter threshold, wherein the energy consumption parameters are used to indicate the energy consumption of the processor when performing tasks.

[0063] Optionally, in this embodiment, the adjustment function performed by the control system during the operation of the processor may also include, but is not limited to, adjusting the operating frequency of the core components of the processor through the control system, or adjusting the operating frequencies of the core components and non-core components in the processor separately through the control system.

[0064] As an optional embodiment, the first configuration interface of the control system of the display server includes: displaying a first sub-tab and a second sub-tab on the first configuration interface, wherein the first sub-tab is used to configure the operation mode configuration item, and the second sub-tab is used to configure the configuration item of the adjustment function to be on or off, and the first tab includes the first sub-tab and the second sub-tab.

[0065] Optionally, in this embodiment, it is possible but not limited to displaying a first sub-tab on the first configuration interface to provide a selection of an operating mode configuration item, and displaying a second sub-tab to provide a selection of whether to enable the adjustment function.

[0066] Optionally, in this embodiment, the option value of the first sub-tab may be, but is not limited to, an operating mode configuration item indicating the processor, and the option value of the first sub-option energy efficiency mode tab may be, but is not limited to, an energy efficiency mode option or other mode options other than the energy efficiency mode option.

[0067] Optionally, in this embodiment, the option value of the second sub-tab may be, but is not limited to, an on option or a off option.

[0068] Through the above content, by adding the first sub-tab and the second sub-tab, not only the configuration flexibility and management accuracy of the server control system are enhanced, but also the user's operation process is simplified, so that the system can better adapt to diverse needs.

[0069] As an optional embodiment, the first configuration interface of the control system of the display server also includes: when the option value of the second sub-tab is the on option, at least one third sub-tab is displayed on the first configuration interface, wherein the on option is used to indicate the start of the adjustment function, and the at least one third sub-tab is used to configure the configuration item of at least one functional parameter used in the adjustment function.

[0070] Optionally, in this embodiment, when the option value of the second sub-tab is the on option, i.e., the adjustment function is turned on, at least one third sub-tab can be displayed on the first configuration interface to provide selection of at least one function parameter, but is not limited to.

[0071] Optionally, in this embodiment, the at least one functional parameter may include, but is not limited to, a functional parameter for indicating an adjustment expected state of the adjustment function, and / or a functional parameter for indicating an adjustment trigger period of the adjustment function.

[0072] Through the above content, by dynamically displaying the third sub-tab on the first configuration interface, users can customize the frequency adjustment strategy according to their own needs, improving the user's flexibility and efficiency in server performance management and energy efficiency control, and realizing more refined and intelligent dynamic energy efficiency management.

[0073] As an optional embodiment, at least one third sub-tab is displayed on the first configuration interface, including: displaying a parameter threshold tab and / or a function cycle tab on the first configuration interface, wherein the parameter threshold tab is used to configure the configuration items of the parameter threshold used in the adjustment function, and the function cycle tab is used to configure the configuration items of the execution cycle of the adjustment function, and at least one third sub-tab includes a parameter threshold tab and / or a function cycle tab.

[0074] Optionally, in this embodiment, the parameter threshold may be, but is not limited to, used to indicate an expected adjustment state of the adjustment function. The parameter threshold may be, but is not limited to, an expected value of the proportion of the time during which the processor is in an active state during an execution cycle to the entire execution cycle.

[0075] Optionally, in this embodiment, the execution cycle may be, but is not limited to, used to indicate the time interval between two adjacent executions of the adjustment function by the control system.

[0076] Optionally, in this embodiment, displaying at least one third sub-tab on the first configuration interface may include, but is not limited to: displaying an automatic close tab on the first configuration interface, wherein the automatic close tab is used to configure the automatic close function of the adjustment function to be turned on or off, and the automatic close function is used to automatically turn off the adjustment function when it is detected that the processor's busyness parameter is lower than the busyness threshold and the number of times is greater than or equal to the number threshold, and the busyness parameter is used to indicate the busyness of the processor in executing the task.

[0077] Optionally, in this embodiment, when the adjustment function is enabled and the automatic shutdown function is enabled, the control system may monitor the operating status of the processor. If the operating status of the processor remains inactive for a long period of time, the adjustment function may be disabled, i.e., the option value of the second sub-tab may be displayed as the "off" option. Specifically, the control system may monitor the processor utilization rate of the processor for a long period of time. If the processor utilization rate remains at a low level for a long period of time, the adjustment function may be disabled and the option value of the second sub-tab may be displayed as the "off" option.

[0078] As an optional implementation, displaying the first sub-tab and the second sub-tab on the first configuration interface includes one of the following:

[0079] On the first configuration interface, the option value of the first sub-tab is displayed as the Energy Efficiency Mode option, and the option value of the second sub-tab is displayed as the Enable option, wherein the Energy Efficiency Mode option is used to configure the operating mode of the server processor to the Energy Efficiency Mode, and the Energy Efficiency Mode is used to control the processor to balance processor energy efficiency during operation, and the Enable option is used to indicate that the adjustment function is enabled;

[0080] On the first configuration interface, the option value of the first sub-tab is displayed as the other mode option, and the option value of the second sub-tab is displayed as the off option, wherein the other mode option is used to configure the operating mode of the server's processor to a mode other than the energy efficiency mode, and the off option is used to indicate that the adjustment function is turned off.

[0081] Optionally, in this embodiment, the adjustment function may be enabled when the server processor is operating in energy efficiency mode, but is not limited to the case where the server processor is operating in a mode other than energy efficiency mode, and the adjustment function may be disabled by default, but is not limited to the case where the server processor is operating in a mode other than energy efficiency mode.

[0082] Optionally, in this embodiment, the energy efficiency mode may be used, but is not limited to, to control the processor to balance processor energy efficiency during operation, that is, to balance the processor's energy consumption and the processor's task execution efficiency. In energy efficiency mode, each device within the processor that consumes energy to execute tasks will reduce energy consumption while maintaining a certain task execution efficiency. For example, in energy efficiency mode, the processor's operating frequency may be dynamically adjusted based on the processor's active state ratio to balance processor energy efficiency.

[0083] Optionally, in this embodiment, after displaying the option value of the first sub-tab as the other mode option and displaying the option value of the second sub-tab as the off option on the first configuration interface, the user can manually turn on the adjustment function by modifying the option value of the second sub-tab to the on option on the first configuration interface.

[0084] Through the above content, when the option value of the first sub-tab is set to the energy efficiency mode option, the adjustment function is enabled in conjunction without the user having to make further manual selections, which simplifies the usage operation while meeting the user's needs.

[0085] As an optional embodiment, detecting the configuration status of the first tab includes: detecting the option value of the second sub-tab displayed on the first configuration interface, wherein the first tab includes a first sub-tab and a second sub-tab, the first sub-tab is used to configure the operation mode configuration item, and the second sub-tab is used to configure the configuration item of the adjustment function to be on or off; when the option value of the second sub-tab is the on option, it is determined that the detected configuration status is the target status.

[0086] Optionally, in this embodiment, the configuration item of the adjustment function can be configured to be on or off through but not limited to the second sub-tab. Then, when it is detected that the option value of the second sub-tab is the on option, it can be determined that the configuration state is the target state.

[0087] Optionally, in this embodiment, after detecting that the option value of the second sub-tab is the off option, it is possible but not limited to detecting whether the option value of the first sub-tab is the energy efficiency mode option; when it is detected that the option value of the first sub-tab is the energy efficiency mode option, an alarm message is displayed on the first configuration interface, wherein the alarm message is used to indicate that the status of the adjustment function is abnormal.

[0088] As an optional implementation, during the server startup process, before detecting the configuration status of the option value of the first tab, the method also includes: displaying a second configuration interface of the server's controller, wherein a second tab is displayed on the second configuration interface, and the second tab is used to configure the operation mode configuration item for the control system; the controller responds to a confirmation operation triggered on the second configuration interface, and sends the option value of the second tab on the second configuration interface to the control system; and the control system configures the operation mode configuration item according to the option value of the second tab.

[0089] Optionally, in this embodiment, the user can configure the operating mode and adjustment functions of the server processor through, but is not limited to, the first configuration interface of the server control system, and can also configure the operating mode and adjustment functions of the server processor through, but is not limited to, the second configuration interface of the server controller. The operating mode and adjustment functions of the processor can be configured through, but is not limited to, one of the first configuration interface and the second configuration interface, or through both the first configuration interface and the second configuration interface.

[0090] Optionally, in this embodiment, the server controller may be, but is not limited to, a control device that can be used for server management and monitoring. Similarly, the server controller may be, but is not limited to, an out-of-band system. Specifically, the server controller may be, but is not limited to, a BMC or a CPLD (Complex Programmable Logic Device). The BMC does not rely on the device's processor, BIOS, or user operating system. The BMC hardware implementation may be an independent card installed on the device's motherboard, or it may be integrated on the motherboard. The BMC is not limited by previous management methods based on user operating systems. For example, even if the user operating system is unresponsive or unloaded, the BMC can still be used to turn the device on and off, retrieve device-related information, and so on.

[0091] Optionally, in this embodiment, the functions that can be implemented by the second tab can be but are not limited to those of the first tab. The user can configure the operating mode configuration items for the control system by configuring the option values of the second tab, and ultimately configure the operating mode of the server's processor.

[0092] Optionally, in this embodiment, the configuration state of the optional option values of the second tab may be, but is not limited to, consistent with the configuration state of the optional option values of the first tab, or may be, but is not limited to, giving the second tab a smaller selection range of the configuration state of the option values than that of the first tab.

[0093] Optionally, in this embodiment, the second configuration interface, similar to the first configuration interface, may also be displayed on a display device within the server or on a display device external to the server. This may, but is not limited to, enabling the user to control the operating mode of the processor from multiple locations by displaying the first configuration interface and the second configuration interface on different display devices.

[0094] Optionally, in this embodiment, the confirmation operation on the second configuration interface may be, but is not limited to, similar to the confirmation operation on the first configuration interface.

[0095] Optionally, in this embodiment, the controller responds to the confirmation operation triggered on the second configuration interface and sends the option value of the second tab on the second configuration interface to the control system, which may include, but is not limited to, when the BMC is selected as the controller and the BIOS is selected as the control system, the BMC responds to the confirmation operation triggered on the second configuration interface and sends the option value of the second tab on the second configuration interface to the BIOS via IPMI or redfish.

[0096] Through the above content, not only the first configuration interface of the control system can be displayed, but also the second configuration interface of the controller can be displayed, which broadens the ways for users to configure the operating mode of the processor.

[0097] As an optional implementation, the control system configures the operating mode configuration item according to the option value of the second tab, including: the control system configures the operating mode of the processor to the option value of the second tab; when the option value of the second tab is the energy efficiency mode option, the configuration item of the adjustment function is configured to be on, wherein the energy efficiency mode option is used to configure the operating mode of the server's processor to the energy efficiency mode, and the energy efficiency mode is used to control the processor to balance the processor energy efficiency during operation; when the option value of the second tab is the other mode option, the configuration item of the adjustment function is configured to be off, wherein the other mode option is used to configure the operating mode of the server's processor to a mode other than the energy efficiency mode.

[0098] Optionally, in this embodiment, the control system can, but is not limited to, configure the operating mode of the processor to the option value of the second tab when receiving the option value of the second tab sent by the controller, and when the option value of the second tab is the energy efficiency mode option, configure the configuration item of the adjustment function to be on, that is, the adjustment function is turned on in conjunction, and when the option value of the second tab is other mode options except the energy efficiency mode option, configure the configuration item of the adjustment function to be off, that is, the adjustment function is turned off.

[0099] Optionally, in this embodiment, since the second configuration interface does not have a tab for directly configuring the configuration item of the adjustment function as on or off, the adjustment function cannot be directly turned on or off through the second configuration interface, but can only be turned on or off indirectly by configuring the operating mode of the processor through the second configuration interface.

[0100] As an optional embodiment, the method also includes: when the option value of the second tab is the energy efficiency mode option, the control system configures the configuration item of at least one functional parameter used in the adjustment function to the default parameter corresponding to each functional parameter, wherein the at least one functional parameter includes: the parameter threshold used in the adjustment function, and / or the execution cycle of the adjustment function.

[0101] Optionally, in this embodiment, the option value of the second tab can be, but is not limited to, an energy efficiency mode option, that is, when the adjustment function is indirectly turned on through the second configuration interface, the control system configures the configuration item of at least one functional parameter used in the adjustment function to the default parameter corresponding to each functional parameter.

[0102] As an optional implementation, during the server startup process, before detecting the configuration status of the option value of the first tab, the method also includes: displaying a third configuration interface of the server's controller, wherein the third tab is displayed on the third configuration interface, and the third tab is used to configure the cooling policy configuration item of the server's cooling device; the controller responds to the confirmation operation triggered on the third configuration interface to detect the option value of the third tab; when the option value of the third tab is the energy efficiency policy option, the controller sends a first configuration instruction to the control system, wherein the first configuration instruction is used to instruct the control system to configure the processor's operating mode to the energy efficiency mode and configure the configuration item of the adjustment function to be turned on, the energy efficiency mode is used to control the processor to balance the processor energy efficiency during operation, the energy efficiency policy option is used to configure the cooling policy of the cooling device to the energy efficiency policy, and the energy efficiency policy is used to instruct to adjust the cooling parameters of the cooling device according to the operating frequency of the processor during operation; the control system executes the first configuration instruction during the server startup process, and executes the adjustment function through the control system during the operation of the processor.

[0103] Optionally, in this embodiment, the third configuration interface of the controller of the server may be displayed but is not limited to providing the user with a selection of heat dissipation policy configuration items of the heat dissipation device of the server.

[0104] Optionally, in this embodiment, the selection of the cooling strategy configuration item of the server's cooling device may be, but is not limited to, linked to the selection of the operating mode of the server's processor. It may be, but is not limited to, when the cooling strategy configuration item is an energy efficiency strategy option, linking the configuration of the processor's operating mode to the energy efficiency mode and linking the adjustment function to enable.

[0105] Optionally, in this embodiment, the user may configure the operating mode and adjustment function of the processor through, but is not limited to, one or more of the first configuration interface, the second configuration interface, and the third configuration interface.

[0106] Optionally, in this embodiment, the heat dissipation policy configuration items may include, but are not limited to, a low noise policy option, an energy efficiency policy option, and a high performance policy option. When the heat dissipation device operates according to the low noise policy, the heat dissipation device may provide, but is not limited to, a lower heat dissipation intensity (e.g., the fan operates at a lower speed); when the heat dissipation device operates according to the energy efficiency policy, the heat dissipation intensity provided by the heat dissipation device may be dynamically adjusted according to the processor's task execution busyness (e.g., the fan speed is continuously adjusted according to the processor's task execution busyness); when the heat dissipation device operates according to the high performance policy, the heat dissipation device may provide, but is not limited to, a higher heat dissipation intensity (e.g., the fan operates at a higher speed).

[0107] Optionally, in this embodiment, the energy efficiency strategy may be, but is not limited to, used to indicate adjusting the heat dissipation parameters of the heat dissipation device according to the operating frequency of the processor during operation. The heat dissipation parameters may be, but are not limited to, used to indicate the heat dissipation strength of the heat dissipation device. The heat dissipation parameters may include, but are not limited to, the speed of the fan.

[0108] Optionally, in this embodiment, the third configuration interface, similar to the first configuration interface, may also be displayed on a display device within the server or on a display device external to the server. The first configuration interface, the second configuration interface, and the third configuration interface may be displayed on different display devices, allowing the user to control the operating mode of the processor from multiple locations.

[0109] Optionally, in this embodiment, the confirmation operation on the third configuration interface may be, but is not limited to, similar to the confirmation operation on the first configuration interface.

[0110] Optionally, in this embodiment, the controller sending the first configuration instruction to the control system may include, but is not limited to, when a BMC is selected as the controller and a BIOS is selected as the control system, the BMC sending the first configuration instruction to the BIOS via IPMI or redfish.

[0111] Through the above, comprehensive configuration during the server startup process achieves intelligent linkage between processor operating mode and cooling strategy, significantly improving server energy efficiency and cooling effectiveness while meeting workload requirements. This comprehensive energy efficiency management approach not only simplifies the configuration process and enhances server usability and management efficiency, but also ensures stable and reliable server operation by dynamically adjusting frequency and cooling parameters.

[0112] As an optional implementation, after detecting the configuration status of the option value of the first tab, the method further includes: when it is detected that the configuration status is the target status, the control system sends a second configuration instruction to the controller of the server, wherein the second configuration instruction is used to instruct the controller to configure the cooling strategy of the server's cooling device to an energy efficiency strategy, and the energy efficiency strategy is used to instruct the cooling parameters of the cooling device to be controlled according to the operating frequency of the processor during operation; the controller executes the second configuration instruction and controls the cooling parameters of the cooling device according to the operating frequency of the processor during operation.

[0113] Optionally, in this embodiment, the heat dissipation strategy of the heat dissipation device can be linked configured as an energy efficiency strategy when the adjustment function is enabled, but is not limited to the above.

[0114] Optionally, in this embodiment, the controller may, but is not limited to, control the heat dissipation parameters of the heat dissipation device according to the operating frequency of the processor during operation.

[0115] As an optional implementation, Figure 3 is a schematic diagram of a method for executing a system function according to an embodiment of the present application, such as Figure 3 As shown, the operating mode selection function can be supported, but not limited to, within the BIOS Setup interface (i.e., the first configuration interface) through a preset "Performance and Energy Consumption Scenario" tab (i.e., the first tab). After entering the BIOS Setup interface and selecting a value on this tab, a series of sub-tabs are configured based on a preset policy information table to match the current operating mode. IPMI commands are sent to the BMC in real time to switch the fan speed control policy (i.e., the cooling policy for the cooling device). These settings take effect when the server saves the settings and restarts. The BMC interface (i.e., the second configuration interface) also provides a "Performance and Energy Consumption Scenario" tab (i.e., the second tab). Setting a value on this tab within the BMC interface sends the value to the BIOS via the Redfish channel, simultaneously modifying the fan speed control policy. These settings take effect when the server restarts. During the boot process, the BIOS sets a series of sub-tabs based on the preset policy information table and the value sent by the BMC via Redfish to match the current operating mode. It should be emphasized that when the energy efficiency mode option is selected in the "Performance and Energy Consumption Scenario" tab (i.e., the first sub-tab in the first tab), a BIOS tab called "Dynamic Frequency Scaling" (i.e., the adjustment function) will be opened in conjunction with it (i.e., the second sub-tab).

[0116] As an optional implementation, after the control system performs the adjustment function during the operation of the processor, the method further includes: the control system controlling the heat dissipation parameters of the server's heat dissipation device according to the operating frequency of the processor during operation.

[0117] Optionally, in this embodiment, the control system may, but is not limited to, control the heat dissipation parameters of the heat dissipation device according to the operating frequency of the processor during operation, and the controller controls the operation of the heat dissipation device according to the heat dissipation parameters determined by the control system.

[0118] As an optional implementation, the control system controls the heat dissipation parameters of the server's heat dissipation device according to the operating frequency of the processor during operation, including: the control system generates target heat dissipation parameters according to the operating frequency of the processor during operation; the control system sends the target heat dissipation parameters to the server's controller; and the controller controls the operation of the heat dissipation device according to the target heat dissipation parameters.

[0119] Through the above content, the control system generates target heat dissipation parameters according to the operating frequency of the processor during operation. The control system only needs to send the generated target heat dissipation parameters to the controller, without sending each operating frequency to the controller, thereby reducing the data transmission pressure between the control system and the controller.

[0120] As an optional implementation, Figure 4 This is a schematic diagram of the first configuration interface according to an embodiment of the present application. Figure 1 . Figure 5 This is a schematic diagram of the first configuration interface according to an embodiment of the present application. Figure 2 . Figure 6 This is a schematic diagram of the first configuration interface according to an embodiment of the present application. Figure 3 . Figure 7 is a schematic diagram of a second configuration interface according to an embodiment of the present application. Figure 8 Schematic diagram of the third configuration interface according to an embodiment of the present application. Figure 4 As shown, or as Figure 5 As shown, or as Figure 6 The first configuration interface shown is displayed on the second display device of the server as shown in FIG. Figure 7 The second configuration interface shown is displayed on the third display device of the server as shown in FIG. Figure 8 In the third configuration interface shown, the user can operate on the first display device, the second display device, and the third display device to configure the operating mode of the processor, the heat dissipation strategy of the heat dissipation device, and whether the configuration adjustment function is enabled.

[0121] As an optional implementation, controlling the heat dissipation parameters of the server's heat dissipation device according to the processor frequency of the processor during operation includes: searching for the current heat dissipation parameters corresponding to the current processor frequency of the processor from the processor frequencies and heat dissipation parameters with corresponding relationships, wherein the processor frequencies and heat dissipation parameters with corresponding relationships are established based on the maximum processor frequency and the minimum processor frequency of the processor; and controlling the heat dissipation device to operate according to the current heat dissipation parameters.

[0122] Optionally, in this embodiment, the parameters may be adjusted according to, but not limited to, the adjustment range of the processor frequency, so that the adjustment range of the heat dissipation parameters matches the frequency adjustment range of the processor.

[0123] Optionally, in this embodiment, the corresponding relationship between processor frequency and heat dissipation parameters can be established based on, but not limited to, the maximum and minimum processor frequencies of the processor. Establishing a corresponding relationship based on the maximum and minimum processor frequencies means that the heat dissipation device can find the most appropriate heat dissipation parameters within the entire operating frequency range of the processor. This helps avoid excessive operation of the heat dissipation device at low frequencies, while also ensuring that heat dissipation efficiency can be increased promptly at high frequencies, thereby maximizing energy efficiency.

[0124] By looking up a table that correlates processor frequency and cooling parameters, the required cooling level for the processor's current frequency can be determined in real time. This dynamic correlation enables the cooling device to precisely respond to processor thermal changes, avoiding overcooling or overheating issues associated with fixed cooling strategies.

[0125] As an optional implementation, before searching for the current heat dissipation parameter corresponding to the current processor frequency of the processor from the processor frequencies and heat dissipation parameters with corresponding relationships, the method also includes: calculating a target number based on the maximum processor frequency, the minimum processor frequency and the unit frequency, wherein the unit frequency is used to indicate the minimum frequency value allowed to be adjusted for the processor; dividing the processor frequencies between the minimum processor frequency and the maximum processor frequency into multiple processor frequencies according to the unit frequency according to the target number, and dividing the heat dissipation parameters between the minimum heat dissipation parameter and the maximum heat dissipation parameter into multiple heat dissipation parameters according to the target number, wherein the total frequency number of the multiple processor frequencies, the minimum processor frequency and the maximum processor frequency is the target number, and the total parameter number of the multiple heat dissipation parameters, the minimum heat dissipation parameter and the maximum heat dissipation parameter is the target number; establishing a corresponding relationship between the maximum processor frequency and the maximum heat dissipation parameter, a corresponding relationship between the minimum processor frequency and the minimum heat dissipation parameter, and a one-to-one corresponding relationship between the multiple processor frequencies and the multiple heat dissipation parameters, to obtain processor frequencies and heat dissipation parameters with corresponding relationships, wherein a larger processor frequency corresponds to a larger heat dissipation parameter.

[0126] Optionally, in this embodiment, the adjustment value of the processor frequency may be, but is not limited to, an integer multiple of the unit frequency.

[0127] Optionally, in this embodiment, the target number may be obtained by calculating, but not limited to, the ratio of the difference between the maximum processor frequency and the minimum processor frequency to the unit frequency.

[0128] Optionally, in this embodiment, it is possible but not limited to dividing the adjustable space of the processor frequency and the adjustable space of the heat dissipation parameters of the heat dissipation device into the same number of parts, so as to adjust the heat dissipation parameters of the heat dissipation device with the same adjustment force as the processor frequency adjustment.

[0129] Optionally, in this embodiment, Table 1 is a correspondence table of processor frequency and heat dissipation parameters according to an embodiment of the present application, wherein the maximum frequency Freq of the processor core device can be, but is not limited to, core_max and the maximum frequency of non-core devices Freq uncore_max The sum of the processor frequency is considered as the maximum processor frequency, and the minimum frequency of the processor core device Freq core_min and the minimum frequency Freq of non-core devices uncore_min The sum of is regarded as the minimum processor frequency, 0.1GHz is selected as the unit frequency, k is the target number, k=(Freq core_max +Freq uncore_max -Freq core_min -Freq uncore_min) / The heat dissipation parameter may be, but is not limited to, a percentage of the fan speed to the maximum fan speed, the maximum heat dissipation parameter may be, but is not limited to, 100%, and the minimum heat dissipation parameter may be, but is not limited to, 10%.

[0130] Table 1

[0131]

[0132] Through the above content, by establishing a precise correspondence between processor frequency and heat dissipation parameters, dynamic energy efficiency management and intelligent heat dissipation control are achieved, which not only improves the energy efficiency of the server, but also ensures the stability and reliability of the server operation.

[0133] As an optional implementation, performing an adjustment function by a control system during the operation of the processor includes: adjusting the operating frequency of the processor by the control system according to processor information corresponding to a target state during the operation of the processor.

[0134] Optionally, in this embodiment, the processor information may be, but is not limited to, used to indicate the busyness of the processor in executing tasks, and the processor information may be, but is not limited to, including processor utilization.

[0135] As an optional implementation, Figure 9 is a control schematic diagram of the operation process of a processor according to an embodiment of the present application, Figure 10 FIG. 1 is a control diagram of the operation process of a fan according to an embodiment of the present application. Figure 9As shown in the figure, multiple options corresponding to the processor operating mode can be added, but are not limited to being added. The user can select the processor operating mode by selecting the option. When the energy efficiency mode is selected, the CPU (Central Processing Unit) utilization is obtained through periodic interrupts. In addition, the corresponding relationship between CPU utilization and frequency is preset in the BIOS, so the CPU frequency can be dynamically adjusted according to the CPU utilization. Figure 10 As shown, it is possible but not limited to that after adding multiple options corresponding to the processor operating mode, the correspondence between the processor operating mode and the cooling strategy of the cooling device is preset, and the cooling strategy corresponding to the selected processor operating mode is sent to the BMC, and the BMC performs fan control according to the received cooling strategy.

[0136] As an optional implementation, adjusting the operating frequency of the processor according to the processor information corresponding to the target state includes: adjusting the core operating frequency of the processor according to the first processor information corresponding to the core component, and adjusting the non-core operating frequency of the processor according to the second processor information corresponding to the non-core component, wherein the processor information includes the first processor information and the second processor information, the processor includes the core component and the non-core component, and the operating frequency of the processor includes the core operating frequency and the non-core operating frequency.

[0137] Optionally, in this embodiment, the processor may include but is not limited to core components and non-core components, and adjusting the operating frequency of the processor according to the processor information corresponding to the target state may include but is not limited to adjusting the core operating frequency according to the first processor information corresponding to the core component and adjusting the non-core operating frequency according to the second processor information corresponding to the non-core component.

[0138] Optionally, in this embodiment, the core device may refer to, but is not limited to, the execution unit of a processor, namely, one or more processing cores. Each core is an independent computing unit capable of executing instructions, processing data, and performing arithmetic and logical operations. Modern processors often contain multiple cores, which can execute different tasks simultaneously, providing parallel computing capabilities and significantly improving processor performance.

[0139] Optionally, in this embodiment, non-core components, also referred to as uncore or northbridge / southbridge devices, may, but are not limited to, handling functions other than computing tasks within the processor. Non-core components are primarily responsible for coordinating communication between multiple cores, managing memory access, providing I / O (Input / Output) control, and handling interactions with other system hardware components. Non-core components may include, but are not limited to, memory controllers responsible for communicating with system memory and managing data read and write operations, I / O controllers that handle input / output operations, and so on.

[0140] Optionally, in this embodiment, the first processor information may be, but is not limited to, used to indicate the busyness of the core component in executing tasks, and the second processor information may be, but is not limited to, used to indicate the busyness of the non-core component in executing tasks.

[0141] Through the above, by adjusting the operating frequencies of core components and non-core components respectively, the energy consumption of the server processor can be controlled more accurately.

[0142] As an optional implementation, adjusting the core operating frequency of the processor according to the first processor information corresponding to the core device includes: detecting a first state parameter of the core device, wherein the first processor information includes a first state parameter, and the first state parameter is used to indicate the proportion of time that the core device is running in an active working state; calculating a target core operating frequency based on the first state parameter and the current core operating frequency of the processor; and adjusting the core operating frequency of the processor from the current core operating frequency to the target core operating frequency.

[0143] Optionally, in this embodiment, the first state parameter may be, but is not limited to, used to indicate the overall proportion of time that multiple target core components are running in an active working state.

[0144] As an optional implementation, detecting a first state parameter of a core component includes: obtaining a hyper-threading configuration item of a control system, wherein the hyper-threading configuration item is used to indicate whether the hyper-threading function of the control system is turned on; when detecting that the hyper-threading configuration item is used to indicate that the hyper-threading function is turned on, determining multiple virtual cores in the processor as a core component; when detecting that the hyper-threading configuration item is used to indicate that the hyper-threading function is turned off, determining a virtual core in the processor as a core component; traversing each core component in the processor; detecting a state parameter corresponding to each core component, wherein the state parameter corresponding to each core component is used to indicate the proportion of time that the corresponding core component is running in an active working state; determining a core component whose corresponding state parameter is greater than or equal to a first parameter threshold as a target core component; and determining an average value of the state parameter of the target core component as the first state parameter.

[0145] Optionally, in this embodiment, the hyper-threading function can, but is not limited to, creating two independent thread contexts on a single physical core, each with its own register set and other necessary processor resources. This means that a processor supporting hyper-threading technology can simultaneously process multiple threads. Even when a thread is waiting for data or resources, the processor can immediately switch to another thread instead of sitting idle, thereby improving processor utilization and overall computing efficiency. That is, with hyper-threading enabled, a single core device in the processor can generate multiple virtual cores.

[0146] Optionally, in this embodiment, the target core component that may require frequency adjustment may be determined by, but is not limited to, comparing the size relationship between the state parameters corresponding to each core component and the first parameter threshold.

[0147] Through the above content, when hyperthreading is enabled, multiple virtual cores are regarded as one actual core device, which helps to more accurately evaluate the actual core load.

[0148] As an optional implementation, the target core operating frequency is calculated based on the first state parameter and the current core operating frequency of the processor, including: calculating a first difference between the first state parameter and the second parameter threshold; when the first difference is greater than or equal to the third parameter threshold, calculating the frequency adjustment amount corresponding to each target core component based on the second difference between the state parameter of each target core component and the second parameter threshold and the unit frequency, wherein the unit frequency is used to indicate the minimum frequency value allowed to be adjusted for the processor; and determining the sum of the current core operating frequency corresponding to each target core component and the frequency adjustment amount corresponding to each core component as the target core operating frequency corresponding to each target core component.

[0149] Optionally, in this embodiment, whether to currently adjust the operating frequency of each core component in the processor can be determined by, but is not limited to, comparing the first difference between the average value of each state parameter (i.e., the first state parameter) and the second parameter threshold, and the third parameter threshold. If the first difference is greater than or equal to the third parameter threshold, it indicates that the overall frequency adjustment requirement of the multiple core components of the processor is high. In this case, the frequency adjustment amount corresponding to each target core component is calculated based on the second difference between the state parameter of each target core component and the second parameter threshold and the unit frequency, and the frequency of each target core component is adjusted according to the frequency adjustment amount. If the first difference is less than the third parameter threshold, it indicates that the overall frequency adjustment requirement of the multiple core components of the processor is low. In this case, in order to save operating resources, the frequency of each target component is not adjusted.

[0150] As an optional implementation, adjusting the operating frequency of the non-core component according to the second processor information corresponding to the non-core component includes: detecting a second state parameter of the non-core component, wherein the second processor information includes a second state parameter, and the second state parameter is used to indicate the proportion of time that the non-core component is running in an active working state; calculating a target non-core operating frequency based on the second state parameter and the current non-core operating frequency of the processor; and adjusting the non-core operating frequency of the processor from the current non-core operating frequency to the target non-core operating frequency.

[0151] Optionally, in this embodiment, the second state parameter may be, but is not limited to, used to indicate the time ratio of each non-core component running in the active working state.

[0152] As an optional implementation, the target non-core operating frequency is calculated based on the second state parameter and the current non-core operating frequency of the processor, including: traversing each non-core device; calculating the third difference between the second state parameter of the currently traversed non-core device and the fourth parameter threshold; when the third difference is greater than or equal to the fifth parameter threshold, calculating the frequency adjustment amount corresponding to the currently traversed non-core device based on the third difference and the unit frequency, wherein the unit frequency is used to indicate the minimum frequency value allowed to be adjusted for the processor; and determining the sum of the current non-core operating frequency corresponding to the currently traversed non-core device and the frequency adjustment amount as the target non-core operating frequency corresponding to the currently traversed non-core device.

[0153] Optionally, in this embodiment, it is possible but not limited to separately determining whether the operating frequency of each non-core component requires adjustment. If a third difference between the second state parameter of a non-core component and the fourth parameter threshold is greater than or equal to a fifth parameter threshold, it is determined that the operating frequency of the non-core component requires adjustment; if the third difference between the second state parameter of a non-core component and the fourth parameter threshold is less than the fifth parameter threshold, it is determined that the operating frequency of the non-core component does not temporarily require adjustment.

[0154] As an optional implementation method, the present application also proposes a method for dynamic energy efficiency management of servers. Under the operating system, it is generally the running program that requests a higher CPU operating frequency from the kernel layer of the system. When the load brought by the running program is very large, such logic will not have other effects. However, when the load brought by the running program is small or the running time is short, the application for an excessively high CPU operating frequency will bring additional system power consumption, reducing the energy efficiency level of the entire system. In order to avoid such a scenario, it is possible but not limited to providing tabs in the BIOS and BMC to set performance energy consumption scenarios. When the high-performance computing mode is selected, the system will not intervene too much in the adjustment of the CPU frequency; when the energy-saving mode is selected, the system will turn on all energy-saving related options to try to ensure that the system is in the lowest energy consumption state when there is no load; when the energy-efficiency mode is selected, the CPU frequency will be adjusted dynamically according to the load conditions. At the same time, different performance and energy consumption scenarios (i.e., processor operating modes) will also synchronously set different BMC fan cooling control policies (i.e., cooling device cooling policies). When high-performance computing mode is selected, a higher fan speed will be provided, and the corresponding fan speed control policy is high-performance mode. When energy-saving mode is selected in the performance and energy consumption scenario, a lower fan speed will be provided, and the corresponding fan speed control policy is low-noise mode. When energy-efficiency mode is selected in the performance and energy consumption scenario, the fan speed will be dynamically adjusted, and the corresponding fan speed control policy is energy-saving mode (i.e., energy-efficiency policy).

[0155] Optionally, when selecting the energy efficiency mode, you can also enable the "dynamic frequency scaling" function (i.e., the adjustment function) in conjunction with it, but are not limited to it. The "dynamic frequency scaling" function is mainly enabled by triggering the periodic SMI (System Management Interrupt) set by the BIOS. Figure 11 This is a process of a server dynamic energy efficiency management method according to an embodiment of the present application Figure 1 .like Figure 11 As shown in the figure, the BIOS (i.e., the aforementioned control system) is the first program to run when the server starts. It pre-sets a periodic SMI interrupt, and the trigger period of the SMI interrupt is T. When the server time reaches the preset trigger point, the interrupt is triggered. This interrupt is like a signal, indicating that the control system BIOS begins a comprehensive check of the CPU's operating status. After entering the SMI interrupt handler, the system will traverse each CPU core in turn. During this process, the judgment sub-process a is executed. Figure 12 This is a flowchart of the judgment sub-process a according to an embodiment of the present application. Figure 12As shown, whether the core (i.e., core device) requires operating frequency adjustment during the current cycle can be determined by, but is not limited to, reading the value of the first register of a virtual core or core and comparing it with the value of the first register read previously. The first register here can be, but is not limited to, MSR (Model Specific Register) 0xE8, i.e., the register at address 0xE8, known as IA32_APERF in the processor. This register is primarily used for performance monitoring and records the number of clock cycles the processor spends executing instructions in C0 state (i.e., the active state). Whether the core requires frequency adjustment can be determined by, but is not limited to, comparing the difference between the value of the first register read previously and the value of the register read previously with 0.05T. Alternatively, determining whether the core requires frequency adjustment can be determined by comparing the ratio of the difference between the value of the first register read previously and the value of the register read previously to period T (i.e., the state parameter) with 0.05 (i.e., the first parameter threshold).

[0156] Optional, such as Figure 11 As shown, after executing sub-process a, the BIOS will further judge and process the cores that meet the sub-process a. For these cores, the BIOS will read the value of MSR 0xE8 corresponding to its logical core. The value of this register means the number of clock cycles that the current logical core has gone through in the C0 state. According to Formula 1: CoreC0 Residency =(APERF After -APERF Before ) / T, by dividing the difference between the register before and after entering the SMI interrupt twice by the SMI interrupt cycle time, the C0 of each core to be adjusted can be obtained. Residency The value (i.e., status parameter) reflects the time ratio of the logical core in the active state. Then, the BIOS collects the C0 Residency values and calculate their average value (i.e. the first state parameter). This average value represents the C0 of the entire CPU core. Residency The situation is an important indicator to measure the overall CPU load. Based on the calculated C0 Residency The BIOS will compare the average value with 85% (the second parameter threshold). This 85% threshold is an empirical setting that represents a higher level of CPU load. ResidencyIf it is close to or exceeds 85%, it means that the CPU is in a high-load operation state and the frequency may need to be increased to meet the work requirements; on the contrary, if it is far below 85%, the frequency can be appropriately reduced to save energy. Based on the comparison results, the control system will use the pre-set formula 2: Freq 期望 =Freq 当前 +(100×C0 Residency -85)×0.1, Freq max ≥Freq 期望 ≥Freq min To calculate the frequency adjustment amount and the adjusted frequency value. Formula 2 takes into account C0 Residency The control system considers multiple factors, including the difference from the threshold, server performance requirements, and energy-saving targets, to ensure that the adjusted frequency meets both workload requirements and energy efficiency. Finally, the control system iterates through the cores whose frequencies are to be adjusted and, according to the calculation results of Equation 2, writes the adjusted frequency value to the second register corresponding to each logical core (MSR 0x199). MSR 0x199 is a register specifically used to control core frequency. By modifying its value, the control system can directly change the core's operating frequency.

[0157] Figure 13 This is a process of a server dynamic energy efficiency management method according to an embodiment of the present application Figure 2 .like Figure 13 As shown, similar operating logic also exists for the uncore (non-core, i.e. non-core device) part of the CPU, and the control system will start the Uncore operation of traversing each Package (i.e. physical packaging unit). In a multi-core processor, a Package is a unit of physical packaging, which contains multiple cores and the Uncore part. Uncore covers components such as cache, memory controller, bus interface, etc., which play a key role in data interaction and collaborative work between the processor and other hardware devices. The state of the Uncore part can include, but is not limited to, the active state C0 state and the inactive state (i.e. C2 state and C6 state). The control system will check the Uncore in each Package in turn to prepare for subsequent performance evaluation and adjustment. Then, when traversing each Uncore, the system will read the third register (i.e. MSR0x3F9 register) and the fourth register (i.e. MSR 0x60D register) on the Uncore. The value in the third register represents the C6 of the uncore in this Package. Residency (i.e., the time ratio of the uncore in an inactive state C6), the value in the fourth register represents the C2 of the uncore in this package. Residency(i.e. the proportion of time the uncore is in another inactive state C2), according to Formula 3: UncoreC0 Residency =1-(UncoreC6 ResidencyAfter +UncoreC2 ResidencyAfter -UncoreC6 ResidencyBefore -UncoreC2 ResidencyBefore ) / T, using the value of the third register read when entering the SMI interrupt twice (i.e. UncoreC6 ResidencyAfter and UncoreC6 ResidencyBefore ) and the value of the fourth register read twice before and after entering the SMI interrupt (ie UncoreC2 ResidencyAfter and UncoreC2 ResidencyBefore ) Calculate the C0 of the uncore Residency (C0 state duration ratio, i.e. the second state parameter), compare C0 Residency The difference between 85% (i.e., the fourth parameter threshold) and 1% (i.e., the fifth parameter threshold) is significant in C0 Residency When the difference from 85% is greater than 1%, the expected uncore frequency of the uncore is calculated according to Formula 2, and the calculated frequency value is finally written to the fifth register (i.e., MSR 0x620 register), which will make the set frequency take effect.

[0158] Optionally, in this embodiment, after setting the core and uncore frequencies, the control system may, but is not limited to, map the set frequencies to the desired fan speeds. The fan speed is represented by the actual PWM (Pulse Width Modulation) duty cycle during control. The control system may, but is not limited to, obtain the maximum and minimum core and uncore frequencies currently supported by the CPU. Based on their difference and the currently used CPU's lowest frequency adjustment granularity (i.e., 0.1 GHz), the control system calculates the number k (i.e., the target number) of partitions between the maximum and minimum frequency adjustment intervals, thereby establishing a mapping between the frequency adjustment intervals and the fan duty cycle. The minimum fan duty cycle is set to 10% because some cooling is required even when the server is completely idle. The fan speed setting may, but is not limited to, be executed through a periodic function called by the Platform Runtime Mechanism (PRM). This prevents excessive execution of tasks during an SMI interrupt, which can result in prolonged SMI interrupts and affect system performance. After calculating and setting the system core and uncore frequencies, the program passes these two frequency values to the fan speed setting function, which then sends IPMI commands to the BMC to control the fan speed. The periodic function called by the Platform Runtime Mechanism (PRM) can be, but is not limited to, BIOS code running under the Operating System (OS). The frequency setting and demand determination process can be handled outside of the PRM function, as the function called by the PRM is a single-threaded task invoked by the OS. In a single-threaded environment, the MSR registers corresponding to all threads cannot be read or written.

[0159] Through the above content, you can pass C0 Residency It can effectively avoid the extra power waste caused by excessive CPU frequency under low load conditions, and can adjust the fan speed in real time according to the dynamic load conditions, further improving the energy efficiency of the server as a whole, realizing a closed loop of load perception-strategy calculation-hardware execution, and achieving a three-dimensional balance of performance, power consumption and temperature. Its core value lies in maintaining the active status of the CPU core and non-core in the efficient range of about 85%, while reducing operation and maintenance costs.

[0160] As an optional implementation, after calculating the frequency adjustment amount corresponding to the currently traversed non-core device based on the third difference and the unit frequency, the method also includes: determining the functional adjustment direction of the frequency adjustment direction of the non-core frequency of the processor based on the frequency adjustment amount, and determining the functional adjustment amount based on the frequency adjustment amount, wherein the functional adjustment direction is the adjustment direction of the operating level of the device function of the non-core device, and the functional adjustment amount is the adjustment amount of the operating level of the device function of the non-core device, and the higher the operating level, the greater the energy consumption of the non-core device; and adjusting the operating level of the device function of the non-core device according to the functional adjustment direction and the functional adjustment amount.

[0161] Optionally, in this embodiment, after adjusting the frequencies of the core components and non-core components of the processor, the operating level of the device functions of the non-core components can be adjusted according to, but not limited to, the frequency adjustment trends of the core components and non-core components to further achieve energy saving goals.

[0162] By associating the frequency adjustment direction and amount with the operating level of non-core components, we can more intelligently balance performance and power consumption, improving energy efficiency. In low-load scenarios, the operating level of non-core components is lowered to reduce power consumption; in high-load scenarios, the operating level is appropriately increased to ensure performance requirements are met.

[0163] As an optional implementation, adjusting the operating frequency of the processor according to the processor information corresponding to the target state includes: determining the expected frequency of each device in the processor according to the processor information corresponding to the target state; predicting the operating state of the processor at the expected frequency of each device; when the operating state fails to meet the operating conditions of the processor, adjusting the current priority parameters of each device according to the rate of change between the processor information of each device and the reference processor information to obtain the target priority parameter, wherein the reference processor information is detected in the execution cycle of the previous adjustment function, and the priority parameter is used to indicate the importance of the performance requirements of the corresponding device to the processor; adjusting the operating frequency of each device according to the target priority parameter and the operating conditions.

[0164] Optionally, in this embodiment, the various devices in the processor may include, but are not limited to, various core devices and various non-core devices.

[0165] Optionally, in this embodiment, predicting the operating state of the processor at the expected frequency of each component may include, but is not limited to, predicting the temperature of the processor when each component of the processor operates at its corresponding expected frequency.

[0166] Optionally, in this embodiment, the operating state fails to meet the operating conditions of the processor, which may include, but is not limited to, the temperature of the processor being greater than or equal to the maximum temperature acceptable for the processor operation when the various components of the processor operate at their respective corresponding expected frequencies. In this case, if the operating frequencies of the various components are directly set to their respective corresponding expected frequencies, the processor will not be able to operate normally, causing the processor to automatically reduce the frequency. In order to avoid this situation, further operations need to be performed on the expected frequency.

[0167] Optionally, in this embodiment, the priority parameter may be, but is not limited to, used to indicate the importance of the performance requirement of the corresponding device to the processor, that is, may be, but is not limited to, used to indicate the urgency of the performance requirement of the corresponding device.

[0168] Optionally, in this embodiment, the frequency modulation requirements of devices with higher target priority parameters may be preferentially met, but are not limited to, and the frequency modulation requirements of devices with lower target priority parameters may be ensured as much as possible while ensuring that operating conditions are met.

[0169] Based on the above information, the rate of change between each device's processor information and the reference processor information from the previous adjustment cycle is calculated, and the priority parameters of each device are dynamically adjusted based on this rate of change. This mechanism can quickly identify changing trends in performance requirements and prioritize the needs of key devices, ensuring that the most important tasks or services receive sufficient performance support while reducing attention to less important devices, thereby achieving efficient resource allocation.

[0170] As an optional implementation, the current priority parameters of each device are adjusted according to the change rate between the processor information of each device and the reference processor information to obtain the target priority parameter, including: determining the difference between the processor information of each device and the reference processor information as the change rate; when the change rate is greater than a first threshold, increasing the priority parameter of the current device to obtain the target priority parameter; when the change rate is less than the first threshold and greater than a second threshold, reducing the priority parameter of the current device to obtain the target priority parameter; when the change rate is less than the second threshold, determining the priority parameter of the current device as the minimum priority to obtain the target priority parameter.

[0171] Optionally, in this embodiment, the various components of the processor may, but are not limited to, have the same initial priority parameters, or the same initial priority parameters may be set for each core component and each non-core component as required, but the initial priority parameters of the core components are different from the initial priority parameters of the non-core components.

[0172] Optionally, in this embodiment, it is possible but not limited to the case where the rate of change is greater than or equal to the first threshold, determining that the fluctuation of the busyness of the current device is greater and the frequency modulation demand is more urgent, and thus the priority parameter of the current device is increased; it is possible but not limited to the case where the rate of change is less than the first threshold and greater than or equal to the second threshold, determining that the fluctuation of the busyness of the current device is smaller and the frequency modulation demand is not urgent, and thus the priority parameter of the current device is reduced; it is possible but not limited to the case where the rate of change is less than the second threshold, determining that the performance requirement of the current device is the least important to the processor, and thus determining the priority parameter of the current device to be the minimum priority.

[0173] Optionally, in this embodiment, the first threshold may be, but is not limited to, greater than 0.

[0174] Optionally, in this embodiment, the second threshold may be, but is not limited to, greater than 0 or less than 0.

[0175] As an optional implementation, the operating frequency of each device is adjusted according to the target priority parameter and the operating conditions, including: screening the target devices whose expected frequencies meet the operating conditions from the devices of the processor other than the device with the lowest priority according to the target priority parameters from high to low; adjusting the operating frequency of the target device to the expected frequency corresponding to the target device; and reducing the operating frequency of the device with the lowest priority.

[0176] Optionally, in this embodiment, the operating frequency of the device with the lowest priority level may be directly reduced, but is not limited to, to provide more frequency adjustment space for devices whose performance requirements are more important to the processor.

[0177] As an optional implementation, in the aforementioned server dynamic energy efficiency management method, in certain workloads, both core and uncore frequency requirements are very high. (Note that these requirements are requested by the operating system software to the kernel or CPU, and therefore may be real or pseudo-requirements (i.e., a business with low actual performance requirements but a high performance request).) However, a CPU's fixed TDP (Thermal Design Power) cannot meet both the maximum core and uncore frequencies. When this occurs, overheating due to heat accumulation often triggers the CPU's underlying frequency adjustment mechanism, known as frequency throttling. In this case, the CPU directly reduces the frequency to ensure that the current power consumption does not exceed the TDP and the processor temperature does not exceed the threshold temperature, thereby protecting the CPU from overheating. When this occurs, the frequency is rigidly reduced, which is actually even more unable to meet the actual business needs. The frequency fluctuations will worsen business performance, thus failing to meet the performance requirements of the workload and achieving high energy efficiency for the entire system.

[0178] Optionally, in this embodiment, in view of the above considerations, the BIOS may, but is not limited to, obtain a series of CPU characteristic values by reading and writing a series of MSR registers in the SMI interrupt handler, including CPU_CLK_UNHALTED (processor non-idle time), UNC_UPI (uncore UPI (Ultra Path Interconnect) link usage), IO_METRIC (input and output metrics), etc. These characteristic values can reflect not only processor utilization but also UPI link utilization, IO access ratio, memory read and write ratio, etc. By combining these multiple characteristic values, the frequency modulation requirements of the core and non-core components of the processor can be comprehensively determined.

[0179] Optionally, among this series of characteristic values, some can represent the utilization rate of the physical links of certain devices, such as the utilization rate of UPI, the utilization rate of PCIe (Peripheral Component Interconnect Express) devices, the utilization rate of memory, etc. When the actual data transmission on these physical links continues to be 0, the corresponding devices are notified to reduce the energy consumption level during the SMI interrupt processing. For example, UPI notifies the control unit to downgrade the UPI link from L0 to L1, entering a more power-saving state, so as to achieve a higher energy efficiency ratio.

[0180] Optionally, in this embodiment, in view of the above considerations, this application also proposes a core and uncore frequency control strategy based on preemptive. Combined with the aforementioned server dynamic energy efficiency management method, after obtaining the current core and uncore respective C0 Residency Afterwards, the C0 obtained when entering the interrupt this time and the last time Residency Do the difference and divide it by C0 obtained when the interrupt was last entered Residency , and obtain their respective C0 ResidencyThe rate of change of the core or uncore is determined by the positive threshold (i.e., the first threshold) and the negative threshold (i.e., the second threshold) (the rate of change may have positive or negative values). The positive and negative thresholds are obtained through experimental and empirical adjustments. When the rate of change exceeds the positive threshold in this SMI interrupt, it is determined to be a new performance requirement change. The weight of the core or uncore that is greater than or equal to the positive threshold is increased by 1. When the rate of change is less than the positive threshold and greater than the negative threshold, the weight of the core or uncore is reduced by 1. When the rate of change is lower than the negative threshold, the frequency of the corresponding core or uncore is directly reduced. After all the change rates and weights are calculated, the performance requirement with the largest weight in the current SMI interrupt processing process is regarded as the most important, and its frequency adjustment should be met first. If the power consumption of running at the expected frequency is about to reach TDP, the frequency of unimportant performance requirements is reduced to ensure the frequency of important performance requirements.

[0181] Optionally, in this embodiment, the aforementioned change rate and weight may be saved in the SMI periodic interrupt processing function, but not limited to, and the change in the change rate may be judged in the periodic function called by the PRM. If the change rate remains at 0, it is determined that the current working scenario is stable. Then, in the PRM periodic function, the count value of the timer that triggers the SMI interrupt is adjusted to increase the count value, so that the SMI period is lengthened accordingly, the frequency of entering the SMI interrupt is reduced, and the performance is avoided from being affected by too many SMI interrupts. A time threshold is set. When the SMI interrupt does not occur within this time threshold, an SMI interrupt is forced to be entered to judge the current demand change.

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

[0183] The embodiment of the present application also provides a device for executing system functions. Figure 14 This is a structural block diagram of the execution of a system function according to an embodiment of the present application, such as Figure 14 As shown, the device includes:

[0184] A first display module 1402 is configured to display a first configuration interface of the control system of the server, wherein the first configuration interface displays a first tab, which is used to configure an operation mode configuration item of a processor of the server;

[0185] The saving module 1404 is configured to respond to the confirmation operation triggered on the first configuration interface and save the option value of the first tab on the first configuration interface;

[0186] A first detection module 1406 is configured to detect the configuration status of the option value of the first tab during the server startup process;

[0187] The first execution module 1408 is configured to execute an adjustment function through the control system during the operation of the processor when it is detected that the configuration state is the target state, wherein the adjustment function is used to adjust the operating frequency of the processor.

[0188] Through the above device, the first configuration interface of the control system of the server is displayed to provide a selection of the operating mode configuration items of the server's processor, and in response to the confirmation operation triggered on the first configuration interface, the option value of the first tab on the first configuration interface is saved. During the server startup process, the configuration status of the option value of the first tab is detected, and then when the configuration status is detected to be the target state, the control system performs an adjustment function for adjusting the operating frequency of the processor during the operation of the processor, that is, the operating mode of the server's processor can be flexibly selected through the first configuration interface, and the operating frequency of the processor can also be flexibly adjusted when the processor is running in the target state, and the operating flexibility of the server's processor is effectively improved. Therefore, the technical problem of poor operating flexibility of the server's processor in the related art can be solved, and the technical effect of improving the operating flexibility of the server's processor can be achieved.

[0189] Optionally, the first display module includes: a first display unit, used to display a first sub-tab and a second sub-tab on a first configuration interface, wherein the first sub-tab is used to configure the operation mode configuration item, and the second sub-tab is used to configure the configuration item of the adjustment function to be on or off, and the first tab includes the first sub-tab and the second sub-tab.

[0190] Optionally, the first display module also includes: a second display unit, used to display at least one third sub-tab on the first configuration interface when the option value of the second sub-tab is the on option, wherein the on option is used to indicate the start of the adjustment function, and the at least one third sub-tab is used to configure the configuration item of at least one functional parameter used in the adjustment function.

[0191] Optionally, the second display unit is also used to: display a parameter threshold tab and / or a function cycle tab on the first configuration interface, wherein the parameter threshold tab is used to configure the configuration items of the parameter threshold used in the adjustment function, the function cycle tab is used to configure the configuration items of the execution cycle of the adjustment function, and at least one third sub-tab includes a parameter threshold tab and / or a function cycle tab.

[0192] Optionally, the first display unit is also used to: display the option value of the first sub-tab as the energy efficiency mode option on the first configuration interface, and display the option value of the second sub-tab as the on option, wherein the energy efficiency mode option is used to configure the operating mode of the server's processor to the energy efficiency mode, the energy efficiency mode is used to control the processor to balance the processor energy efficiency during operation, and the on option is used to indicate that the adjustment function is turned on; display the option value of the first sub-tab as the other mode option on the first configuration interface, and display the option value of the second sub-tab as the off option, wherein the other mode option is used to configure the operating mode of the server's processor to a mode other than the energy efficiency mode, and the off option is used to indicate that the adjustment function is turned off.

[0193] Optionally, the first detection module includes: a first detection unit, used to detect the option value of the second sub-tab displayed on the first configuration interface, wherein the first tab includes a first sub-tab and a second sub-tab, the first sub-tab is used to configure the operation mode configuration item, and the second sub-tab is used to configure the configuration item of the adjustment function to be on or off; a first determination unit, used to determine that the detected configuration state is the target state when the option value of the second sub-tab is the on option.

[0194] Optionally, the execution device of the system function also includes: a second display module, used to display the second configuration interface of the server's controller, wherein a second tab is displayed on the second configuration interface, and the second tab is used to configure the operation mode configuration items for the control system; a first sending module, used by the controller to respond to the confirmation operation triggered on the second configuration interface, and send the option value of the second tab on the second configuration interface to the control system; a first configuration module, used by the control system to configure the operation mode configuration items according to the option value of the second tab.

[0195] Optionally, the first configuration module includes: a first configuration unit, used by the control system to configure the operating mode of the processor to the option value of the second tab; a second configuration unit, used to configure the configuration item of the adjustment function to be turned on when the option value of the second tab is the energy efficiency mode option, wherein the energy efficiency mode option is used to configure the operating mode of the server's processor to the energy efficiency mode, and the energy efficiency mode is used to control the processor to balance the processor energy efficiency during operation; a third configuration unit, used to configure the configuration item of the adjustment function to be turned off when the option value of the second tab is other mode options, wherein the other mode options are used to configure the operating mode of the server's processor to a mode other than the energy efficiency mode.

[0196] Optionally, the execution device of the system function also includes: a second configuration module, which is used to configure the configuration item of at least one functional parameter used in the adjustment function to the default parameter corresponding to each functional parameter when the option value of the second tab is the energy efficiency mode option, wherein the at least one functional parameter includes: the parameter threshold used in the adjustment function, and / or the execution cycle of the adjustment function.

[0197] Optionally, the execution device of the system function also includes: a third display module, which is used to display a third configuration interface of the server's controller, wherein a third tab is displayed on the third configuration interface, and the third tab is used to configure the cooling strategy configuration item of the server's cooling device; a second detection module, which is used by the controller to respond to the confirmation operation triggered on the third configuration interface and detect the option value of the third tab; a second sending module, which is used by the controller to send a first configuration instruction to the control system when the option value of the third tab is the energy efficiency strategy option, wherein the first configuration instruction is used to instruct the control system to configure the processor's operating mode to the energy efficiency mode and configure the configuration item of the adjustment function to be turned on, the energy efficiency mode is used to control the processor to balance the processor energy efficiency during operation, the energy efficiency strategy option is used to configure the cooling strategy of the cooling device to the energy efficiency strategy, and the energy efficiency strategy is used to instruct to adjust the cooling parameters of the cooling device according to the operating frequency of the processor during operation; a second execution module, which is used by the control system to execute the first configuration instruction during the server startup process, and to execute the adjustment function through the control system during the operation of the processor.

[0198] Optionally, the execution device of the system function also includes: a third sending module, which is used to send a second configuration instruction from the control system to the controller of the server when it is detected that the configuration state is the target state, wherein the second configuration instruction is used to instruct the controller to configure the cooling strategy of the server's cooling device to an energy efficiency strategy, and the energy efficiency strategy is used to instruct the cooling parameters of the cooling device to be controlled according to the operating frequency of the processor during operation; a third execution module, which is used to execute the second configuration instruction by the controller and control the cooling parameters of the cooling device according to the operating frequency of the processor during operation.

[0199] Optionally, the device for executing the system function further includes: a control module, configured to control the heat dissipation parameters of the heat dissipation device of the server according to the operating frequency of the processor during operation by the control system.

[0200] Optionally, the control module includes: a generating unit, which is used by the control system to generate target heat dissipation parameters according to the operating frequency of the processor during operation; a sending unit, which is used by the control system to send the target heat dissipation parameters to the controller of the server; and a first control unit, which is used by the controller to control the operation of the heat dissipation device according to the target heat dissipation parameters.

[0201] Optionally, the third execution module or control module includes: a search unit, used to search for the current heat dissipation parameters corresponding to the current processor frequency of the processor from the processor frequencies and heat dissipation parameters with corresponding relationships, wherein the processor frequencies and heat dissipation parameters with corresponding relationships are established based on the maximum processor frequency and the minimum processor frequency of the processor; a second control unit, used to control the heat dissipation device to operate according to the current heat dissipation parameters.

[0202] Optionally, the third execution module or control module further includes: a calculation unit for calculating a target number based on the maximum processor frequency, the minimum processor frequency and the unit frequency, wherein the unit frequency is used to indicate the minimum frequency value allowed to be adjusted for the processor; a division unit for dividing the processor frequency between the minimum processor frequency and the maximum processor frequency into multiple processor frequencies according to the unit frequency according to the target number, and dividing the heat dissipation parameter between the minimum heat dissipation parameter and the maximum heat dissipation parameter into multiple heat dissipation parameters according to the target number, wherein the total frequency number of the multiple processor frequencies, the minimum processor frequency and the maximum processor frequency is the target number, and the total parameter number of the multiple heat dissipation parameters, the minimum heat dissipation parameter and the maximum heat dissipation parameter is the target number; an establishment unit for establishing a correspondence between the maximum processor frequency and the maximum heat dissipation parameter, a correspondence between the minimum processor frequency and the minimum heat dissipation parameter, and a one-to-one correspondence between the multiple processor frequencies and the multiple heat dissipation parameters, to obtain processor frequencies and heat dissipation parameters with corresponding relationships, wherein a larger processor frequency corresponds to a larger heat dissipation parameter.

[0203] Optionally, the first execution module includes: an adjustment unit, configured to adjust the operating frequency of the processor according to processor information corresponding to the target state through a control system during the operation of the processor.

[0204] Optionally, the adjustment unit is also used to: adjust the core operating frequency of the processor according to the first processor information corresponding to the core device, and adjust the non-core operating frequency of the processor according to the second processor information corresponding to the non-core device, wherein the processor information includes the first processor information and the second processor information, the processor includes the core device and the non-core device, and the operating frequency of the processor includes the core operating frequency and the non-core operating frequency.

[0205] Optionally, the adjustment unit is further used to: detect a first state parameter of the core device, wherein the first processor information includes the first state parameter, and the first state parameter is used to indicate the proportion of time the core device is running in an active working state; calculate the target core operating frequency based on the first state parameter and the current core operating frequency of the processor; and adjust the core operating frequency of the processor from the current core operating frequency to the target core operating frequency.

[0206] Optionally, the adjustment unit is further used to: obtain a hyper-threading configuration item of the control system, wherein the hyper-threading configuration item is used to indicate whether the hyper-threading function of the control system is turned on; when it is detected that the hyper-threading configuration item is used to indicate that the hyper-threading function is turned on, determine multiple virtual cores in the processor as a core device; when it is detected that the hyper-threading configuration item is used to indicate that the hyper-threading function is turned off, determine a virtual core in the processor as a core device; traverse each core device in the processor; detect the status parameter corresponding to each core device, wherein the status parameter corresponding to each core device is used to indicate the proportion of time that the corresponding core device is running in an active working state; determine the core device whose corresponding status parameter is greater than or equal to the first parameter threshold as the target core device; and determine the average value of the status parameter of the target core device as the first status parameter.

[0207] Optionally, the adjustment unit is further used to: calculate a first difference between the first state parameter and the second parameter threshold; when the first difference is greater than or equal to the third parameter threshold, calculate the frequency adjustment amount corresponding to each target core component based on the second difference between the state parameter of each target core component and the second parameter threshold and the unit frequency, wherein the unit frequency is used to indicate the minimum frequency value allowed to be adjusted for the processor; and determine the sum of the current core operating frequency corresponding to each target core component and the frequency adjustment amount corresponding to each core component as the target core operating frequency corresponding to each target core component.

[0208] Optionally, the adjustment unit is further used to: detect a second state parameter of the non-core device, wherein the second processor information includes the second state parameter, and the second state parameter is used to indicate the proportion of time the non-core device is running in an active working state; calculate the target non-core operating frequency based on the second state parameter and the current non-core operating frequency of the processor; and adjust the non-core operating frequency of the processor from the current non-core operating frequency to the target non-core operating frequency.

[0209] Optionally, the adjustment unit is further used to: traverse each non-core device; calculate the third difference between the second state parameter of the currently traversed non-core device and the fourth parameter threshold; when the third difference is greater than or equal to the fifth parameter threshold, calculate the frequency adjustment amount corresponding to the currently traversed non-core device based on the third difference and the unit frequency, wherein the unit frequency is used to indicate the minimum frequency value allowed to be adjusted for the processor; and determine the sum of the current non-core operating frequency corresponding to the currently traversed non-core device and the frequency adjustment amount as the target non-core operating frequency corresponding to the currently traversed non-core device.

[0210] Optionally, after calculating the frequency adjustment amount corresponding to the currently traversed non-core device based on the third difference and the unit frequency, the adjustment unit is further used to: determine the function adjustment direction of the frequency adjustment direction of the non-core frequency of the processor based on the frequency adjustment amount, and determine the function adjustment amount based on the frequency adjustment amount, wherein the function adjustment direction is the adjustment direction of the operating level of the device function of the non-core device, and the function adjustment amount is the adjustment amount of the operating level of the device function of the non-core device, and the higher the operating level, the greater the energy consumption of the non-core device; and adjust the operating level of the device function of the non-core device according to the function adjustment direction and the function adjustment amount.

[0211] Optionally, the adjustment unit is further used to: determine the expected frequency of each device in the processor based on the processor information corresponding to the target state; predict the operating state of the processor at the expected frequency of each device; when the operating state fails to meet the operating conditions of the processor, adjust the current priority parameters of each device based on the change rate between the processor information of each device and the reference processor information to obtain the target priority parameter, wherein the reference processor information is detected in the execution cycle of the previous adjustment function, and the priority parameter is used to indicate the importance of the performance requirements of the corresponding device to the processor; adjust the operating frequency of each device according to the target priority parameter and the operating conditions.

[0212] Optionally, the adjustment unit is also used to: determine the difference between the processor information of each device and the reference processor information as the change rate; when the change rate is greater than a first threshold, increase the priority parameter of the current device to obtain a target priority parameter; when the change rate is less than the first threshold and greater than a second threshold, reduce the priority parameter of the current device to obtain a target priority parameter; when the change rate is less than the second threshold, determine the priority parameter of the current device as the minimum priority to obtain the target priority parameter.

[0213] Optionally, the adjustment unit is also used to: screen target devices whose expected frequencies meet the operating conditions from other devices in the processor except the device with the lowest priority according to the target priority parameters from high to low; adjust the operating frequency of the target device to the expected frequency corresponding to the target device; and reduce the operating frequency of the device with the lowest priority.

[0214] For the description of the features in the embodiment corresponding to the device for executing the system function, please refer to the relevant description of the embodiment corresponding to the method for executing the system function, and no further details will be given here.

[0215] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in the embodiment of the execution method of any of the above-mentioned system functions.

[0216] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of the execution method embodiment of any of the above-mentioned system functions when run.

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

[0218] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in the embodiment of the execution method of any of the above-mentioned system functions are implemented.

[0219] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps in the execution method embodiment of any of the above-mentioned system functions.

[0220] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.

[0221] The above is a detailed introduction to the execution method, device, electronic device, computer-readable storage medium and computer program product of a system function provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A method for executing a system function, characterized in that: include: Displaying a first configuration interface of a control system of a server, wherein a first tab is displayed on the first configuration interface, and the first tab is used to configure an operation mode configuration item of a processor of the server; In response to a confirmation operation triggered on the first configuration interface, saving option values of the first tab on the first configuration interface; During the process of starting the server, detecting the configuration status of the option value of the first tab; When it is detected that the configuration state is a target state, performing an adjustment function by the control system during the operation of the processor, wherein the adjustment function is used to adjust the operating frequency of the processor; The performing of the adjustment function by the control system during the operation of the processor includes: adjusting the operating frequency of the processor according to the processor information corresponding to the target state by the control system during the operation of the processor; The adjusting the operating frequency of the processor according to the processor information corresponding to the target state includes: determining the expected frequency of each device in the processor according to the processor information corresponding to the target state; predicting the operating state of the processor at the expected frequency of each device; when the operating state fails to meet the operating conditions of the processor, adjusting the current priority parameters of each device according to the change rate between the processor information of each device and the reference processor information to obtain the target priority parameter, wherein the reference processor information is detected in the last execution cycle of the adjustment function, and the priority parameter is used to indicate the importance of the performance requirements of the corresponding device to the processor; adjusting the operating frequency of each device according to the target priority parameter and the operating conditions.

2. The method for executing system functions according to claim 1, characterized in that: The first configuration interface of the control system of the display server includes: A first sub-tab and a second sub-tab are displayed on the first configuration interface, wherein the first sub-tab is used to configure the operating mode configuration item, and the second sub-tab is used to configure the configuration item of the adjustment function to be on or off, and the first tab includes the first sub-tab and the second sub-tab.

3. The method for executing system functions according to claim 2, characterized in that: The first configuration interface of the control system of the display server further includes: When the option value of the second sub-tab is the on option, at least one third sub-tab is displayed on the first configuration interface, wherein the on option is used to indicate turning on the adjustment function, and the at least one third sub-tab is used to configure a configuration item of at least one functional parameter used in the adjustment function.

4. The method for executing system functions according to claim 3, characterized in that: The displaying at least one third sub-tab on the first configuration interface includes: A parameter threshold tab and / or a function cycle tab are displayed on the first configuration interface, wherein the parameter threshold tab is used to configure the configuration items of the parameter threshold used in the adjustment function, and the function cycle tab is used to configure the configuration items of the execution cycle of the adjustment function, and the at least one third sub-tab includes the parameter threshold tab and / or the function cycle tab.

5. The method for executing system functions according to claim 2, characterized in that: Displaying the first sub-tab and the second sub-tab on the first configuration interface includes one of the following: Displaying on the first configuration interface that the option value of the first sub-tab is an energy efficiency mode option, and displaying that the option value of the second sub-tab is an enable option, wherein the energy efficiency mode option is used to configure the operating mode of the processor of the server to the energy efficiency mode, and the energy efficiency mode is used to control the processor to balance processor energy efficiency during operation, and the enable option is used to indicate that the adjustment function is enabled; On the first configuration interface, the option value of the first sub-tab is displayed as the other mode option, and the option value of the second sub-tab is displayed as the off option, wherein the other mode option is used to configure the operating mode of the processor of the server to a mode other than the energy efficiency mode, and the off option is used to indicate turning off the adjustment function.

6. The method for executing a system function according to claim 1, wherein: The detecting the configuration status of the option value of the first tab includes: Detecting an option value of a second sub-tab displayed on the first configuration interface, wherein the first tab includes a first sub-tab and a second sub-tab, the first sub-tab being used to configure the operation mode configuration item, and the second sub-tab being used to configure the configuration item of the adjustment function to be on or off; In a case where the option value of the second sub-tab is an on option, it is determined that the configuration state is detected to be the target state.

7. The method for executing system functions according to claim 1, characterized in that: During the process of starting the server, before detecting the configuration status of the option value of the first tab, the method further includes: Displaying a second configuration interface of the controller of the server, wherein a second tab is displayed on the second configuration interface, and the second tab is used to configure the operation mode configuration item for the control system; The controller responds to a confirmation operation triggered on the second configuration interface, and sends the option value of the second option card on the second configuration interface to the control system; The control system configures the operating mode configuration item according to the option value of the second option card.

8. The method for executing system functions according to claim 7, characterized in that: The control system configuring the operation mode configuration item according to the option value of the second option card includes: The control system configures the operating mode of the processor to be an option value of the second option card; When the option value of the second tab is the energy efficiency mode option, configuring the configuration item of the adjustment function to be enabled, wherein the energy efficiency mode option is used to configure the operating mode of the processor of the server to the energy efficiency mode, and the energy efficiency mode is used to control the processor to balance processor energy efficiency during operation; When the option value of the second tab is other mode option, the configuration item of the adjustment function is configured to be closed, wherein the other mode option is used to configure the operating mode of the processor of the server to a mode other than the energy efficiency mode.

9. The method for executing system functions according to claim 8, characterized in that: The method further comprises: When the option value of the second tab is the energy efficiency mode option, the control system configures the configuration item of at least one functional parameter used in the adjustment function to the default parameter corresponding to each functional parameter, wherein the at least one functional parameter includes: a parameter threshold used in the adjustment function, and / or an execution cycle of the adjustment function.

10. The method for executing a system function according to claim 1, characterized in that: During the process of starting the server, before detecting the configuration status of the option value of the first tab, the method further includes: Displaying a third configuration interface of the controller of the server, wherein a third tab is displayed on the third configuration interface, and the third tab is used to configure a heat dissipation policy configuration item of a heat dissipation device of the server; The controller detects an option value of the third option card in response to a confirmation operation triggered on the third configuration interface; In a case where the option value of the third tab is the energy efficiency strategy option, the controller sends a first configuration instruction to the control system, wherein the first configuration instruction is used to instruct the control system to configure the operating mode of the processor to the energy efficiency mode and configure the configuration item of the adjustment function to be enabled, the energy efficiency mode is used to control the processor to balance processor energy efficiency during operation, the energy efficiency strategy option is used to configure the heat dissipation strategy of the heat dissipation device to the energy efficiency strategy, and the energy efficiency strategy is used to instruct to adjust the heat dissipation parameters of the heat dissipation device according to the operating frequency of the processor during operation; The first configuration instruction is executed by the control system during the startup of the server, and the adjustment function is executed by the control system during the operation of the processor.

11. The method for executing a system function according to claim 1, wherein: After detecting the configuration status of the option value of the first tab, the method further includes: When detecting that the configuration state is the target state, the control system sends a second configuration instruction to the controller of the server, wherein the second configuration instruction is used to instruct the controller to configure the heat dissipation strategy of the heat dissipation device of the server to an energy efficiency strategy, and the energy efficiency strategy is used to instruct to control the heat dissipation parameters of the heat dissipation device according to the operating frequency of the processor during operation; The controller executes the second configuration instruction and controls the heat dissipation parameters of the heat dissipation device according to the operating frequency of the processor during operation.

12. The method for executing a system function according to claim 1, characterized in that: After the control system performs the adjustment function during the operation of the processor, the method further includes: The control system controls the heat dissipation parameters of the heat dissipation device of the server according to the operating frequency of the processor during operation.

13. The method for executing system functions according to claim 12, characterized in that: The control system controls the heat dissipation parameters of the heat dissipation device of the server according to the operating frequency of the processor during operation, including: The control system generates a target heat dissipation parameter according to the operating frequency of the processor during operation; The control system sends the target heat dissipation parameter to the controller of the server; The controller controls the operation of the heat dissipation device according to the target heat dissipation parameter.

14. The method for executing a system function according to claim 11 or 12, characterized in that: The controlling of the heat dissipation parameters of the heat dissipation device of the server according to the processor frequency of the processor during operation includes: searching for a current heat dissipation parameter corresponding to the current processor frequency of the processor from processor frequencies and heat dissipation parameters having a corresponding relationship, wherein the processor frequencies and heat dissipation parameters having a corresponding relationship are established based on a maximum processor frequency and a minimum processor frequency of the processor; Control the heat dissipation device to operate according to the current heat dissipation parameters.

15. The method for executing system functions according to claim 14, characterized in that: Before searching for the current heat dissipation parameter corresponding to the current processor frequency of the processor from the processor frequencies and heat dissipation parameters having a corresponding relationship, the method further includes: Calculating a target quantity according to the maximum processor frequency, the minimum processor frequency, and a unit frequency, wherein the unit frequency is used to indicate a minimum frequency value allowed to be adjusted for the processor; Dividing the processor frequencies between the minimum processor frequency and the maximum processor frequency into a plurality of processor frequencies according to the target quantity according to the unit frequency, and dividing the heat dissipation parameters between the minimum heat dissipation parameter and the maximum heat dissipation parameter into a plurality of heat dissipation parameters according to the target quantity, wherein the total frequency quantity of the plurality of processor frequencies, the minimum processor frequency, and the maximum processor frequency is the target quantity, and the total parameter quantity of the plurality of heat dissipation parameters, the minimum heat dissipation parameter, and the maximum heat dissipation parameter is the target quantity; A correspondence between the maximum processor frequency and the maximum heat dissipation parameter, a correspondence between the minimum processor frequency and the minimum heat dissipation parameter, and a one-to-one correspondence between the multiple processor frequencies and the multiple heat dissipation parameters are established to obtain processor frequencies and heat dissipation parameters with corresponding relationships, wherein a larger processor frequency corresponds to a larger heat dissipation parameter.

16. The method for executing a system function according to claim 1, wherein: The adjusting the operating frequency of the processor according to the processor information corresponding to the target state includes: The core operating frequency of the processor is adjusted according to first processor information corresponding to the core component, and the non-core operating frequency of the processor is adjusted according to second processor information corresponding to the non-core component, wherein the processor information includes the first processor information and the second processor information, the processor includes the core component and the non-core component, and the operating frequency of the processor includes the core operating frequency and the non-core operating frequency.

17. The method for executing a system function according to claim 16, characterized in that: The adjusting the core operating frequency of the processor according to the first processor information corresponding to the core component includes: Detecting a first state parameter of the core component, wherein the first processor information includes the first state parameter, and the first state parameter is used to indicate a proportion of time that the core component is running in an active working state; Calculating a target core operating frequency according to the first state parameter and the current core operating frequency of the processor; The core operating frequency of the processor is adjusted from the current core operating frequency to the target core operating frequency.

18. The method for executing system functions according to claim 17, characterized in that: The detecting the first state parameter of the core component includes: Obtaining a hyperthreading configuration item of the control system, wherein the hyperthreading configuration item is used to indicate whether to enable a hyperthreading function of the control system; When it is detected that the hyper-threading configuration item is used to indicate that the hyper-threading function is enabled, multiple virtual cores in the processor are determined as one core device; when it is detected that the hyper-threading configuration item is used to indicate that the hyper-threading function is disabled, one virtual core in the processor is determined as one core device; Traversing each of the core devices in the processor; Detecting a status parameter corresponding to each of the core components, wherein the status parameter corresponding to each of the core components is used to indicate a time proportion in which the corresponding core component is in an active working state; Determine the core component whose corresponding state parameter is greater than or equal to the first parameter threshold as a target core component; An average value of the state parameters of the target core component is determined as the first state parameter.

19. The method for executing a system function according to claim 18, characterized in that: The calculating the target core operating frequency according to the first state parameter and the current core operating frequency of the processor includes: Calculating a first difference between the first state parameter and a second parameter threshold; When the first difference is greater than or equal to a third parameter threshold, calculating a frequency adjustment amount corresponding to each target core component according to a second difference between the state parameter of each target core component and the second parameter threshold and a unit frequency, wherein the unit frequency is used to indicate a minimum frequency value allowed to be adjusted for the processor; The sum of the current core operating frequency corresponding to each of the target core components and the frequency adjustment amount corresponding to each of the core components is determined as the target core operating frequency corresponding to each of the target core components.

20. The method for executing a system function according to claim 16, wherein: The adjusting the operating frequency of the non-core component according to the second processor information corresponding to the non-core component includes: detecting a second state parameter of the non-core component, wherein the second processor information includes the second state parameter, and the second state parameter is used to indicate a proportion of time that the non-core component is running in an active working state; Calculating a target non-core operating frequency according to the second state parameter and the current non-core operating frequency of the processor; The non-core operating frequency of the processor is adjusted from the current non-core operating frequency to the target non-core operating frequency.

21. The method for executing system functions according to claim 20, characterized in that: The calculating the target non-core operating frequency according to the second state parameter and the current non-core operating frequency of the processor includes: Traversing each of the non-core components; Calculating a third difference between the second state parameter of the non-core component currently traversed and a fourth parameter threshold; When the third difference is greater than or equal to a fifth parameter threshold, calculating a frequency adjustment amount corresponding to the non-core component currently traversed according to the third difference and a unit frequency, wherein the unit frequency is used to indicate a minimum frequency value allowed to be adjusted for the processor; The sum of the current non-core operating frequency corresponding to the currently traversed non-core component and the frequency adjustment amount is determined as the target non-core operating frequency corresponding to the currently traversed non-core component.

22. The method for executing a system function according to claim 21, characterized in that: After calculating the frequency adjustment amount corresponding to the currently traversed non-core component according to the third difference and the unit frequency, the method further includes: determining a functional adjustment direction for a frequency adjustment direction of a non-core frequency of the processor according to the frequency adjustment amount, and determining a functional adjustment amount according to the frequency adjustment amount, wherein the functional adjustment direction is a direction for adjusting an operating level of a device function of the non-core device, and the functional adjustment amount is an amount for adjusting the operating level of the device function of the non-core device, wherein a higher operating level indicates greater energy consumption of the non-core device; The operating level of the device function of the non-core device is adjusted according to the function adjustment direction and the function adjustment amount.

23. The method for executing system functions according to claim 1, characterized in that: The step of adjusting the current priority parameter of each device according to the change rate between the processor information of each device and the reference processor information to obtain the target priority parameter includes: determining a difference between the processor information of each device and the reference processor information as the change rate; When the rate of change is greater than a first threshold, increasing the priority parameter of the current device to obtain the target priority parameter; When the change rate is less than the first threshold and greater than the second threshold, reducing the priority parameter of the current device to obtain the target priority parameter; When the change rate is less than the second threshold, the priority parameter of the current device is determined as the minimum priority to obtain the target priority parameter.

24. The method for executing system functions according to claim 23, characterized in that: The adjusting the operating frequency of each device according to the target priority parameter and the operating condition includes: Filtering the target device whose expected frequency meets the operating condition from the devices of the processor except the device with the minimum priority according to the target priority parameter from high to low; Adjusting the operating frequency of the target device to the expected frequency corresponding to the target device; The operating frequency of the device having the lowest priority is reduced.

25. A device for executing system functions, characterized in that: include: A first display module, configured to display a first configuration interface of a control system of a server, wherein a first tab is displayed on the first configuration interface, and the first tab is used to configure an operation mode configuration item of a processor of the server; a saving module, configured to respond to a confirmation operation triggered on the first configuration interface and save the option value of the first tab on the first configuration interface; A first detection module is used to detect the configuration status of the option value of the first tab during the startup of the server; a first execution module, configured to, when detecting that the configuration state is a target state, execute an adjustment function through the control system during the operation of the processor, wherein the adjustment function is used to adjust the operating frequency of the processor; The first execution module includes: an adjustment unit, configured to adjust the operating frequency of the processor according to the processor information corresponding to the target state through the control system during the operation of the processor; The adjustment unit is further used to: determine the expected frequency of each device in the processor based on the processor information corresponding to the target state; predict the operating state of the processor at the expected frequency of each device; and when the operating state fails to meet the operating conditions of the processor, adjust the current priority parameters of each device based on the rate of change between the processor information of each device and the reference processor information to obtain a target priority parameter, wherein the reference processor information is detected in the previous execution cycle of the adjustment function, and the priority parameter is used to indicate the importance of the performance requirements of the corresponding device to the processor; and adjust the operating frequency of each device based on the target priority parameter and the operating conditions.

26. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the method for executing the system function as claimed in any one of claims 1 to 24 when executing the computer program.

27. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method for executing the system function according to any one of claims 1 to 24 are implemented.

28. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for executing the system function according to any one of claims 1 to 24 are implemented.

Citation Information

Patent Citations

  • Equipment control method and electronic equipment

    CN118963530A