A server control method, device, system and readable storage medium
By adding a frequency modulation tag to the virtual machine specification of the network function entity, and combining business load and frequency modulation strategy, the physical cores of the server are dynamically adjusted, which solves the problem of rigid CPU frequency modulation mechanism at the server level and achieves flexible frequency modulation and energy saving effect.
Patent Information
- Application Number
- CN202111270201.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2041-10-29
AI Technical Summary
In existing technologies, the CPU frequency adjustment mechanism at the server level is rigid and cannot be flexibly adjusted according to the workload. This results in some network element services that do not require frequency adjustment being adjusted, causing resource waste.
By adding a frequency modulation tag to the virtual machine specification of the network function entity, and combining the business load and frequency modulation strategy, the physical cores of the server can be dynamically adjusted to achieve flexible CPU frequency adjustment.
It enables flexible frequency adjustment based on the service requirements of network functional entities, optimizes CPU frequency adjustment strategies, achieves effective energy saving, and avoids unnecessary resource waste.
Smart Images

Figure CN116069482B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to a server control method, device and system. BACKGROUND
[0002] The current energy-saving technology of the central processing unit (CPU) of the server mainly includes two categories: C state and P state. The C state is the power consumption management of the idle CPU, which will affect the business wake-up time (maximum 93us), and the P state is the power consumption saving technology when the server is running, which adjusts the frequency and voltage of the CPU, including operating system (OS) triggering and hardware triggering.
[0003] In addition, the current CPU frequency adjustment mechanism focuses on the optimization and use of the frequency adjustment mechanism of the server layer itself, and is mostly a "one-size-fits-all" frequency adjustment for the whole machine, which is fixed and rigid, and can only be selected as on or off at the server whole machine level, without determining the business running on the server. When the load of the business on the server includes both businesses that can be frequency-adjusted and businesses that cannot be frequency-adjusted, for example, in a Network Function Virtualization (NFV) network, if the hardware service layer itself directly uses the CPU dynamic frequency adjustment mechanism without combining the actual load of the business, some network element businesses that do not need to be frequency-adjusted will also be frequency-adjusted, which causes problems. SUMMARY
[0004] The purpose of the present application is to provide a server control method, device, system and readable storage medium, which can solve the problem of rigid CPU power adjustment caused by turning on or off at the server whole machine level in the prior art.
[0005] To achieve the above-mentioned purpose, an embodiment of the present application provides a server control method, comprising:
[0006] receiving a frequency adjustment command from a network function entity, the frequency adjustment command being related to at least one of a business load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment;
[0007] adjusting the frequency of the server according to the frequency adjustment command.
[0008] Optionally, the frequency adjustment command is sent when the business load of the network function entity reaches a preset threshold and / or the frequency adjustment tag of the network function entity indicates that the network function entity supports frequency adjustment.
[0009] Optionally, adjusting the frequency of the server according to the frequency adjustment command comprises:
[0010] According to the frequency adjustment command, the physical core of the server bound with the network function entity is adjusted according to a frequency adjustment strategy.
[0011] Optionally, the frequency adjustment command carries a frequency adjustment label of the network function entity, and the frequency adjustment label is further used for binding the network function entity and the physical core of the server.
[0012] Before adjusting the physical core of the server bound with the network function entity according to the frequency adjustment strategy, the method further comprises:
[0013] According to the frequency adjustment label, the network function entity is bound with the physical core of the server.
[0014] Optionally, the frequency adjustment strategy is related to at least one of a service load of the network function entity, a service type of the network function entity, and a core binding condition of the network function entity.
[0015] To achieve the above object, an embodiment of the present application provides a server control device, comprising:
[0016] A receiving module is configured to receive a frequency adjustment command from a network function entity, wherein the frequency adjustment command is related to at least one of a service load of the network function entity and a frequency adjustment label of the network function entity, and the frequency adjustment label is used for indicating whether the network function entity supports frequency adjustment.
[0017] A frequency adjustment module is configured to adjust the server according to the frequency adjustment command.
[0018] Optionally, the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or the frequency adjustment label of the network function entity indicates that the network function entity supports frequency adjustment.
[0019] Optionally, the frequency adjustment module comprises:
[0020] A frequency adjustment unit is configured to adjust the physical core of the server bound with the network function entity according to a frequency adjustment strategy according to the frequency adjustment command.
[0021] Optionally, the frequency adjustment command carries a frequency adjustment label of the network function entity, and the frequency adjustment label is further used for binding the network function entity and the physical core of the server, and the device further comprises:
[0022] A binding module is configured to bind the network function entity with the physical core of the server according to the frequency adjustment label.
[0023] Optionally, the frequency adjustment strategy is related to at least one of a service load of the network function entity, a service type of the network function entity, and a core binding condition of the network function entity.
[0024] To achieve the above object, an embodiment of the present application provides a server control method, comprising:
[0025] sending a frequency adjustment command, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment.
[0026] Optionally, the step of sending the frequency adjustment command comprises:
[0027] the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or the frequency adjustment tag indicates that the network function entity supports frequency adjustment.
[0028] To achieve the above object, an embodiment of the present application provides a server control device, comprising:
[0029] a sending module, configured to send a frequency adjustment command, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment.
[0030] Optionally, the sending module is specifically configured to:
[0031] the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or the frequency adjustment tag indicates that the network function entity supports frequency adjustment.
[0032] To achieve the above object, an embodiment of the present application provides a server control system, comprising: a network function entity, a virtual layer and a server; wherein,
[0033] the network function entity sends a frequency adjustment command to the virtual layer, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment;
[0034] the virtual layer performs frequency adjustment on the server according to the frequency adjustment command.
[0035] Optionally, the network function entity is configured to:
[0036] send the frequency adjustment command to the virtual layer when the service load reaches a preset threshold and the frequency adjustment tag indicates that the network function entity supports frequency adjustment; or,
[0037] when the service load does not reach the preset threshold or the frequency adjustment tag indicates that the network function entity does not support frequency adjustment, not sending the frequency adjustment command to the virtual layer.
[0038] Optionally, after receiving the frequency adjustment command, the virtual layer sends a frequency adjustment request to the physical core of the server bound with the network function entity.
[0039] The physical core of the server adjusts the frequency according to the frequency adjustment request and the frequency adjustment policy.
[0040] Optionally, the virtual layer binds the network function entity with the physical core of the server according to the frequency adjustment label.
[0041] Optionally, the frequency adjustment policy is related to at least one of the service load of the network function entity, the service type of the network function entity, and the core binding condition of the network function entity.
[0042] To achieve the above-mentioned purposes, an embodiment of the present application provides a readable storage medium having a program or instruction stored thereon, and the program or instruction is executed by a processor to implement the steps in the server control method.
[0043] The beneficial effects of the above technical solutions of the present application are as follows:
[0044] By receiving the frequency adjustment command related to the service load of the network function entity and / or whether the network function entity supports frequency adjustment from the network function entity side, the embodiment of the present application can solve the problem that the network element in the NFV network cannot dynamically adjust the frequency according to the service load, thereby ensuring that the service can adjust the frequency according to the demand, and continuously optimizing the CPU frequency adjustment policy of the virtual layer through the virtual layer, so as to achieve flexible frequency adjustment for effective energy saving. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 The flowchart of the server control method of the embodiment of the present application is shown in the figure.
[0046] Figure 2 The structure diagram of the server control device of the embodiment of the present application is shown in the figure.
[0047] Figure 3 The block diagram of the server control system of the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0048] To make the technical problems, technical solutions and advantages of the present application clearer, the following will be described in detail with reference to the drawings and specific embodiments.
[0049] It should be understood that the reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" or "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0050] In various embodiments of the present application, it should be understood that the size of the serial number of the following processes does not mean the order of execution, and the execution order of the processes should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0051] In addition, the terms "system" and "network" are often used interchangeably herein.
[0052] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that the determination of B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information.
[0053] As shown in Figure 1 A server control method of an embodiment of the present application is applied to a virtual layer. The method includes but is not limited to the following steps:
[0054] Step 11: receiving a frequency adjustment command from a network function entity.
[0055] The network function entity includes but is not limited to a virtual network function (VNF), the frequency adjustment command is related to at least one of the service load of the network function entity and the frequency adjustment label of the network function entity, and the frequency adjustment label is used to indicate whether the network function entity supports frequency adjustment. Optionally, the present embodiment can add a frequency adjustment label in the virtual management (VM) specification of the network function entity, so as to achieve the purpose of flexible frequency adjustment for effective energy saving. Specifically, a label can be added in the VM specification flavor of the VNF network element to indicate whether the frequency adjustment is allowed, for example, in the VNFD, whether the frequency adjustment is allowed is set for each flavor: {cpufreq}=[true|false], for example, the clock type network element is marked as a non-frequency adjustment type network element, and the flavor is set as: {cpufreq}=[false].
[0056] Optionally, the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or the frequency adjustment label indicates that the network function entity supports frequency adjustment. For example, the frequency adjustment command is sent when the service load of the VNF reaches a preset threshold, that is, the VNF sends the frequency adjustment command to the virtual layer when the service load of the VNF reaches a preset threshold.
[0057] Optionally, the frequency adjustment command is sent when the service load of the VNF reaches a preset threshold and the frequency adjustment label indicates that the VNF supports frequency adjustment, that is, the VNF sends the frequency adjustment command to the virtual layer when the service load of the VNF reaches a preset threshold and the frequency adjustment label of the VNF indicates that the VNF supports frequency adjustment. Specifically, the VNF can monitor the service load of the VM and determine whether to trigger the frequency adjustment command in combination with the frequency adjustment label, for example, when the service load reaches a threshold and the frequency adjustment label indicates that the VNF supports frequency adjustment, the VNF sends the frequency adjustment command to the virtual layer.
[0058] Step 12: adjusting the frequency of the server according to the frequency adjustment command.
[0059] In step 12, the physical core of the server bound to the network function entity is adjusted according to the frequency adjustment command and the frequency adjustment strategy. The virtual layer supports the function of sending the CPU frequency adjustment command to the underlying hardware, and the virtual layer adjusts the frequency of the server according to the frequency adjustment strategy. The frequency adjustment command can be triggered by the network element according to the service load or executed by the predetermined strategy on the virtual layer, without estimating the minimum frequency and defining how to set and divide the frequency, which can reduce the complexity of server frequency adjustment.
[0060] Optionally, the frequency adjustment command carries the frequency adjustment label of the network function entity, and the frequency adjustment label is also used to bind the network function entity and the physical core of the server. Before step 12, the network function entity and the physical core of the server are bound according to the frequency adjustment label. For example, the network function entity with the frequency adjustment label indicating that the frequency adjustment is supported is bound to the physical core of the server. Different network function entities can be bound to respective physical cores.
[0061] Optionally, the frequency adjustment strategy is related to at least one of the service load of the network function entity, the service type of the network function entity, and the core binding condition of the network function entity. For example, different service loads, service types, or core binding conditions correspond to respective frequency adjustment strategies. The virtual layer in the embodiment of the present application supports setting the CPU frequency adjustment strategy, and triggering supports the frequency adjustment triggered by the VNF according to the CPU frequency adjustment strategy (such as service load, service type, and core binding condition) set in the VNF, and also supports the frequency adjustment according to the CPU frequency adjustment strategy set by the virtual layer. The specific frequency adjustment function is implemented by the underlying server. When the VNF triggers the frequency adjustment strategy to execute, the virtual layer obtains the CPU frequency adjustment requirement sent by the VNF, and sends the frequency adjustment requirement to the specific physical core of the hardware server according to the core binding condition.
[0062] In the server control method of the embodiment of the present application, by adding a frequency adjustment label in the VM specification of the VNF, adding a mechanism supporting the CPU frequency adjustment capability and the CPU frequency adjustment policy in the virtual layer, and adding a way supporting the acquisition of service parameters in the OS in the P state of the server layer, the problem that the network element in the NFV network cannot dynamically adjust the frequency according to the service load of the network element is solved, and the service can be adjusted according to the demand of the service, and the CPU frequency adjustment policy of the virtual layer is continuously optimized in the virtual layer, so that the flexible frequency adjustment is achieved to effectively save energy.
[0063] The above describes the embodiment of the server control method of the embodiment of the present application, and the corresponding device embodiment will be further described below with reference to the drawings.
[0064] As shown in Figure 2 The embodiment of the present application provides a server control device, which comprises:
[0065] The receiving module 210 is configured to receive a frequency adjustment command from a network function entity, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment label of the network function entity, the frequency adjustment label being used to indicate whether the network function entity supports frequency adjustment;
[0066] The frequency adjustment module 220 is configured to perform frequency adjustment on the server according to the frequency adjustment command.
[0067] Optionally, the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or when the frequency adjustment label of the network function entity indicates that the network function entity supports frequency adjustment.
[0068] Optionally, the frequency adjustment module 220 comprises:
[0069] The frequency adjustment unit is configured to perform frequency adjustment on the physical core of the server bound with the network function entity according to the frequency adjustment policy according to the frequency adjustment command.
[0070] Optionally, the frequency adjustment label of the network function entity is carried in the frequency adjustment command, and the frequency adjustment label is also used to bind the network function entity and the physical core of the server, and the device further comprises:
[0071] The binding module is configured to bind the network function entity and the physical core of the server according to the frequency adjustment label.
[0072] Optionally, the frequency adjustment policy is related to at least one of the service load of the network function entity, the service type of the network function entity, and the core binding condition of the network function entity.
[0073] The device embodiment of the embodiment of the application corresponds to the method embodiment described above, all implementation manners of the method embodiment described above are applicable to the device embodiment, and the same technical effects can be achieved, and thus will not be described in detail.
[0074] The embodiment of the application can solve the problem that the network element in the network function entity network cannot dynamically adjust the frequency according to the service load condition of the network element, and further ensure that the service can adjust the frequency according to the service demand, and through the virtual layer, the CPU frequency adjustment strategy of the virtual layer is continuously optimized, and the purpose of flexible frequency adjustment for effective energy saving is achieved.
[0075] The server control method and device on the virtual layer side are introduced above, and the server control method and device on the network function entity side will be further introduced below.
[0076] The embodiment of the application provides a server control method, comprising:
[0077] The frequency adjustment command is related to at least one of the service load of the network function entity and the frequency adjustment tag of the network function entity, and the frequency adjustment tag is used to indicate whether the network function entity supports frequency adjustment.
[0078] Optionally, the step of sending the frequency adjustment command comprises:
[0079] The frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or the frequency adjustment tag indicates that the network function entity supports frequency adjustment.
[0080] The embodiment of the application provides a server control device, comprising:
[0081] The sending module is used for sending a frequency adjustment command, the frequency adjustment command is related to at least one of the service load of the network function entity and the frequency adjustment tag of the network function entity, and the frequency adjustment tag is used to indicate whether the network function entity supports frequency adjustment.
[0082] Optionally, the sending module is specifically used for:
[0083] The frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and / or the frequency adjustment tag indicates that the network function entity supports frequency adjustment.
[0084] It is worth pointing out that the network function entity side embodiment of the present application corresponds to the virtual layer side embodiment described above, and all implementation manners of the virtual layer side embodiment are applicable to the network function entity side embodiment and can achieve the same technical effects, so they will not be described here.
[0085] Further, as shown in Figure 3 The embodiment of the present application also provides a server control system, comprising: a network function entity, a virtual layer and a server; wherein the network function entity has the following functions: a VM specification increase frequency adjustment label; monitoring service load, triggering a frequency adjustment command when reaching a threshold. The virtual layer has the following functions: CPU frequency adjustment; setting CPU frequency adjustment strategy, triggered by the network function entity; the virtual layer can bind cores according to the VM frequency adjustment label.
[0086] The network function entity sends a frequency adjustment command to the virtual layer, the frequency adjustment command being related to at least one of the service load of the network function entity and the frequency adjustment label of the network function entity, the frequency adjustment label being used to indicate whether the network function entity supports frequency adjustment;
[0087] The virtual layer adjusts the frequency of the server according to the frequency adjustment command.
[0088] Optionally, the network function entity is used for:
[0089] sending the frequency adjustment command to the virtual layer when the service load reaches a preset threshold and the frequency adjustment label indicates that the network function entity supports frequency adjustment; or,
[0090] not sending the frequency adjustment command to the virtual layer when the service load does not reach the preset threshold or the frequency adjustment label indicates that the network function entity does not support frequency adjustment.
[0091] Optionally, after receiving the frequency adjustment command, the virtual layer sends a frequency adjustment requirement to the physical core of the server bound with the network function entity.
[0092] The physical core of the server adjusts the frequency according to the frequency adjustment requirement and the frequency adjustment strategy.
[0093] Optionally, the virtual layer binds the network function entity with the physical core of the server according to the frequency adjustment label.
[0094] Optionally, the frequency adjustment strategy is related to at least one of the service load of the network function entity, the service type of the network function entity and the core binding condition of the network function entity.
[0095] The system of the embodiment of the application can solve the problem that the network element in the network function entity network cannot dynamically adjust the frequency according to the service load condition of the network element, and further ensure that the service can adjust the frequency according to the service demand, and further achieve the purpose of flexible frequency adjustment for effective energy saving by continuously optimizing the CPU frequency adjustment strategy of the virtual layer.
[0096] The readable storage medium of the embodiment of the application has a program or instruction stored thereon, the program or instruction is executed by a processor to implement the steps in the server control method and achieve the same technical effect, and details are not repeated here.
[0097] The processor is the processor in the server control device or system in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0098] It should be further explained that many functional components described in the specification are referred to as modules in order to emphasize the independence of their implementation.
[0099] In the embodiment of the application, the modules can be implemented by software to be executed by various types of processors. For example, an identified executable code module can include one or more physical or logical blocks of computer instructions. For example, it can be constructed as an object, a procedure or a function. However, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different bits, which logically combine together to form a module and achieve the specified purpose of the module.
[0100] In fact, the executable code module can be a single instruction or many instructions, and can even be distributed on different code segments, in different programs, and across multiple memory devices. Similarly, the operation data can be identified within the module, and can be implemented in any appropriate form and organized in any appropriate type of data structure. The operation data can be collected as a single data set, or can be distributed in different locations (including different storage devices), and can exist at least partially as an electronic signal on a system or network.
[0101] When the modules can be implemented in software, hardware implementation of the modules can be done with the current level of technology, so that the modules implemented in software can be built into corresponding hardware circuit by those skilled in the art without considering the cost, including conventional very large scale integration (VLSI) circuit or gate array, and existing semiconductors such as logic chips, transistors and other discrete components. The modules can also be implemented by programmable hardware devices, such as field programmable gate array, programmable array logic, programmable logic device, etc.
[0102] The exemplary embodiments described above are described with reference to the accompanying drawings, many different forms and embodiments of which are possible without departing from the spirit and teachings of this disclosure. Accordingly, the disclosure should not be construed as limited to the particular exemplary embodiments described in this specification. Rather, the exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. In the drawings, the size and relative sizes of components can be exaggerated for clarity. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising", when used in this specification, specify the presence of stated features, integers, steps, operations, components, and / or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, and / or groups thereof. Unless otherwise indicated, a range of values, when recited, includes the upper and lower limits of the range and any and all subranges therebetween.
[0103] The above description is the preferred embodiment of the present application, it should be pointed out that for those skilled in the art, without departing from the principles of the present application, can also make a number of improvements and refinements, these improvements and refinements should also be considered as the protection scope of the present application.
Claims
1. A server control method characterized by comprising: The method comprises the steps of: receiving a frequency adjustment command from a network function entity, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment; adjusting the server according to the frequency adjustment command; wherein the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and the frequency adjustment tag indicates that the network function entity supports frequency adjustment; the step of adjusting the server according to the frequency adjustment command comprises: adjusting the physical core of the server bound to the network function entity according to the frequency adjustment command and a frequency adjustment strategy.
2. The server control method according to claim 1, characterized by, The frequency adjustment tag of the network function entity is carried in the frequency adjustment command, and the frequency adjustment tag is also used to bind the network function entity and the physical core of the server. Before adjusting the physical core of the server bound to the network function entity according to the frequency adjustment strategy, the method further comprises the step of: binding the network function entity and the physical core of the server according to the frequency adjustment tag.
3. The server control method according to claim 1, characterized by, The frequency adjustment strategy is related to at least one of the service load of the network function entity, the service type of the network function entity and the core binding condition of the network function entity.
4. A server control method characterized by comprising: The method comprises the steps of: sending a frequency adjustment command, the frequency adjustment command being related to at least one of a service load of a network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment; the step of sending the frequency adjustment command comprises: sending the frequency adjustment command when the service load of the network function entity reaches a preset threshold and the frequency adjustment tag indicates that the network function entity supports frequency adjustment; wherein the frequency adjustment command is used to adjust the physical core of a server bound to the network function entity according to a frequency adjustment strategy.
5. A server control device characterized by comprising: The method comprises the steps of: a receiving module, configured to receive a frequency adjustment command from a network function entity, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment; a frequency adjustment module, configured to adjust a server according to the frequency adjustment command; wherein the frequency adjustment command is sent when the service load of the network function entity reaches a preset threshold and the frequency adjustment tag indicates that the network function entity supports frequency adjustment; the frequency adjustment module is further configured to adjust the physical core of the server bound to the network function entity according to a frequency adjustment strategy and the frequency adjustment command.
6. A server control device characterized by comprising: The method comprises the steps of: a sending module, configured to send a frequency adjustment command, the frequency adjustment command being related to at least one of a service load of a network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment; the sending module is specifically configured to: send the frequency adjustment command when the service load of the network function entity reaches a preset threshold and the frequency adjustment tag indicates that the network function entity supports frequency adjustment; wherein the frequency adjustment command is used to adjust the physical core of a server bound to the network function entity according to a frequency adjustment strategy.
7. A server control system characterized by comprising: The method comprises the steps of: A network function entity, a virtual layer and a server; wherein The network function entity sends a frequency adjustment command to the virtual layer, the frequency adjustment command being related to at least one of a service load of the network function entity and a frequency adjustment tag of the network function entity, the frequency adjustment tag being used to indicate whether the network function entity supports frequency adjustment; The virtual layer adjusts the server according to the frequency adjustment command; and the network function entity is configured to: send the frequency adjustment command to the virtual layer when the service load reaches a preset threshold and the frequency adjustment tag indicates that the network function entity supports frequency adjustment; After receiving the frequency adjustment command, the virtual layer sends a frequency adjustment requirement to a physical core of the server bound to the network function entity; The physical core of the server adjusts the frequency according to the frequency adjustment requirement and a frequency adjustment policy.
8. The server control system according to claim 7, characterized by The network function entity is further configured to: not send the frequency adjustment command to the virtual layer when the service load does not reach the preset threshold or the frequency adjustment tag indicates that the network function entity does not support frequency adjustment.
9. The server control system according to claim 7, characterized by The virtual layer binds the network function entity to the physical core of the server according to the frequency adjustment tag.
10. The server control system according to claim 9, characterized by The frequency adjustment policy is related to at least one of the service load of the network function entity, a service type of the network function entity and a core binding condition of the network function entity.
11. A readable storage medium, on which a program or instructions are stored, characterized in that, The program or the instruction is executed by the processor to implement the steps in the server control method according to any one of claims 1-3 or to implement the steps in the server control method according to claim 4.
Citation Information
Patent Citations
Quick response system for equipment end input interaction and implementation method thereof
CN102830785A
Workload prediction based CPU frequency scaling
US20190272002A1