A method and system for dynamically adjusting the main frequency of a virtual machine in a cloud-based network

A technology of dynamic adjustment and network system, applied in the field of cloud platform, can solve the problems of unable to dynamically adjust the main frequency of the virtual machine and affecting the business of the virtual machine

Active Publication Date: 2022-08-02
FENGHUO COMM SCI & TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above defects or improvement needs of the prior art, the present invention provides a method and system for dynamically adjusting the main frequency of a virtual machine under a cloud network, the purpose of which is to dynamically adjust the main frequency of the physical CPU core corresponding to different APPs of the virtual machine , according to the load of the APP, the physical CPU core corresponding to the APP can be dynamically adjusted and balanced, and the processing capacity of the physical server can be better utilized to realize the dynamic adjustment function of the main frequency of the virtual machine. The main frequency of the virtual machine, technical issues that affect the business running on the virtual machine

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for dynamically adjusting the main frequency of a virtual machine in a cloud-based network
  • A method and system for dynamically adjusting the main frequency of a virtual machine in a cloud-based network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036]The current cloud platform cannot obtain the real-time main frequency of the virtual machine, and at the same time cannot obtain the real-time occupancy rate and load of multiple APPs in the virtual machine, so the multiple APPs in the virtual machine cannot automatically adjust the main frequency to balance the processing performance. When the configuration of the virtual machine remains unchanged, the processing performance of the virtual machine cannot be improved, thus affecting the processing capacity of the business. The virtual machine must be restarted, and the configuration of the virtual machine and the APP can be changed to improve the processing performance of the virtual machine. The service is interrupted, and the configuration of the application APP needs to be changed, and the consistency of the software cannot be achieved. At the same time, for the APP that is sensitive to the CPU frequency, the problem cannot be completely solved, and the remaining resour...

Embodiment 2

[0067] Based on the foregoing Embodiment 1, this embodiment specifically describes the communication interaction logic of each unit in the cloud-based network system.

[0068] 1. Communication logic between BMC and cloud platform:

[0069] From the cloud platform side, the cloud platform processing logic is:

[0070] (1) When the cloud platform starts the virtual machine, it reports the UUID of the virtual machine to the BMC of the physical server where the virtual machine is running; (2) The cloud platform reports the CPU core binding configuration and APP core binding configuration of the virtual machine to the BMC; (3) The cloud platform reports the CPU occupancy rate of the virtual machine to the BMC at preset intervals; (4) when the CPU occupancy rate in the virtual machine exceeds the cloud platform threshold, a threshold alarm message is sent to the BMC.

[0071] From the BMC side, the BMC processing logic is:

[0072] (1) BMC monitors the virtual machine CPU occupanc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and system for dynamically adjusting the main frequency of a virtual machine under a cloud-based network. The method includes: when the CPU occupancy rate of the virtual machine exceeds a set threshold, the cloud platform sends an alarm message to the BMC; After the alarm message is received, the operating system of the physical server is triggered to execute the BMC agent program to obtain the occupancy rate of the physical CPU cores bound to each APP in the virtual machine; the BMC determines the occupancy rate to be adjusted according to the occupancy rate of the physical CPU cores bound to each APP. The BIOS adjusts the power state of the physical CPU core to be adjusted according to the adjustment ratio, so as to dynamically adjust the main frequency of the physical CPU core to eliminate the alarm and complete the adjustment of the main frequency of the virtual machine. In the present invention, the physical CPU core corresponding to the APP is dynamically adjusted and balanced, the processing capability of the physical server is better utilized, and the function of dynamically adjusting the main frequency of the virtual machine is realized.

Description

technical field [0001] The invention belongs to the technical field of cloud platforms, and more particularly, relates to a method and system for dynamically adjusting the main frequency of a virtual machine under a cloud network. Background technique [0002] Under the 5G cloud network, the servers are mainly deployed in the DC data center, the cloud platform runs on the server, the cloud platform runs the virtual machine, and the customer's APP runs in the virtual machine. At present, operators are very concerned about the energy efficiency ratio of the server, in order to improve the server utilization, While improving the APP processing performance, it is hoped to effectively reduce the power consumption of the server and improve the energy efficiency ratio of the server. How to improve the server energy efficiency ratio of the DC data center is the core of the server use in today's cloud network and a key technical problem to be solved urgently. The virtual machine run...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455G06F9/50G06F11/30G06F11/32
CPCG06F9/45558G06F11/3006G06F11/3024G06F11/301G06F11/327G06F9/505G06F9/5072G06F9/5077G06F2009/45595G06F2009/4557
Inventor 邓艳山
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products