Virtual machine resource allocation method, device and device, and readable storage medium

A technology for resource allocation and virtual machines, applied in the fields of virtual machine resource allocation equipment and computer-readable storage media, virtual machine resource allocation methods, and virtual machine resource allocation devices, capable of solving virtual machine CPU performance degradation, virtual machine performance degradation, etc. problem, to achieve the effect of improving CPU performance, avoiding the interference of critical noise, and avoiding context switching

Pending Publication Date: 2020-04-10
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a virtual machine resource allocation method, a virtual machine resource allocation device, a virtual machine resource allocation device, and a computer-readable storage medium, which solves the problem that the CPU performance of a virtual machine is greatly reduced in the prior art, and further Issues that cause virtual machine performance to degrade

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
  • Virtual machine resource allocation method, device and device, and readable storage medium
  • Virtual machine resource allocation method, device and device, and readable storage medium
  • Virtual machine resource allocation method, device and device, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0045] Please refer to figure 1 , figure 1 It is a flowchart of a virtual machine resource allocation method provided by an embodiment of the present invention.

[0046] The method includes:

[0047] S101: Obtain and parse a creation instruction for creating a target virtual machine to obtain resource application information.

[0048] Sin...

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 virtual machine resource allocation method, which comprises the steps of obtaining and analyzing a creation instruction for creating a target virtual machine to obtain resource application information; according to the CPU application number in the resource application information, obtaining a plurality of reserved CPUs applied by the CPUs from the CPU reservation area, and adjusting the reserved CPUs to be target CPUs; allocating a target memory to the target virtual machine according to the resource application information, and operating the target virtual machine by using the target CPU and the target memory; according to the method, the fixed target CPUs are allocated to the newly created target virtual machine for running, so that the virtual machine can be prevented from being switched among the CPUs during running, context switching in the CPU switching process is avoided. Meanwhile, interference of critical noise in the switching process is avoided, and the performance of the whole virtual machine is improved; in addition, the invention also provides a virtual machine resource allocation device and equipment and a computer readable storage medium,which also have the above beneficial effects.

Description

technical field [0001] The present invention relates to the technical field of virtual machines, and in particular to a virtual machine resource allocation method, a virtual machine resource allocation device, a virtual machine resource allocation device, and a computer-readable storage medium. Background technique [0002] A virtual machine (Virtual Machine) refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. Everything that can be done on a physical computer can be done on a virtual machine. When creating a virtual machine on a computer, part of the hard disk and memory capacity of the physical machine needs to be used as the hard disk and memory capacity of the virtual machine. Each virtual machine has an independent CMOS, hard disk and operating system, and the virtual machine can be operated like a physical machine. The existing technology uses time-division multip...

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 Applications(China)
IPC IPC(8): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5027G06F2009/45562G06F2009/4557
Inventor 冯振颜秉珩王理想杨锋
Owner LANGCHAO ELECTRONIC INFORMATION IND 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