A virtual machine memory allocation method and device

A memory allocation and virtual machine technology, applied in the field of virtualization, can solve problems such as waste of resources, high memory usage, and low memory utilization of virtual machines, and achieve the effect of improving utilization efficiency and maintaining a balanced memory utilization

Active Publication Date: 2021-02-05
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a virtual machine is created on the host, a fixed size of memory is allocated to the virtual machine. Since the demand for memory resources of the virtual machine changes dynamically when the virtual machine is running, fixed memory allocation may cause the memory utilization of the virtual machine to be too low, resulting in waste of resources; or The memory usage is too high, causing the virtual machine to freeze
In order to solve this problem, Xen, VmWare and KVM provide underlying mechanisms such as balloon drive, page swapping and memory sharing to dynamically adjust the virtual machine memory, but there is still a lack of a memory scheduling strategy for multi-virtual machine cooperative management

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 virtual machine memory allocation method and device
  • A virtual machine memory allocation method and device
  • A virtual machine memory allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0052] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0053] In order to achieve the purpose of the embodiment of the present invention, the embodiment of the present invention provides a virtual machine memory allocation method, the method includes S101-S103:

[0054] S101. Monitor the memo...

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 embodiment of the invention discloses a virtual machine memory allocation method. The method comprises the steps that memory use conditions of a physical host and each virtual machine are monitored, and memory use information is collected periodically; whether memory use of the virtual machines is reasonable is judged according to the memory use information and preset memory scheduling reference conditions; and a memory scheduling policy of the virtual machines is determined according to the judgment result. The embodiment of the invention furthermore discloses a virtual machine memory allocation device. Through the scheme in the embodiment, memory utilization rates of the virtual machines are kept balanced, and the resource utilization efficiency of the physical machine is improved.

Description

technical field [0001] The embodiment of the present invention relates to the field of virtualization, in particular to a virtual machine memory allocation method and device. Background technique [0002] Virtualization technology refers to the virtualization of multiple logical computers on one host, also known as virtual machines. Each virtual machine has a complete operating system and hardware system, which can run independently without affecting each other. Virtualization technology can greatly improve resource utilization efficiency. When a virtual machine is created on the host, a fixed size of memory is allocated to the virtual machine. Since the demand for memory resources of the virtual machine changes dynamically when the virtual machine is running, fixed memory allocation may cause the memory utilization of the virtual machine to be too low, resulting in waste of resources; or The memory usage is too high, causing the virtual machine to freeze. To solve this p...

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/50G06F9/455
CPCG06F9/45558G06F9/5016
Inventor 王辰璐闫冬冬
Owner INSPUR SUZHOU INTELLIGENT 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