Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Virtual machine physical memory allocation method and device

A technology of physical memory and configuration method, which is applied in the field of communication, can solve the problem of low utilization rate of physical memory and achieve the effect of improving utilization rate

Active Publication Date: 2015-12-30
云宏信息科技股份有限公司 +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this method for static planning such as virtual machine memory reservation cannot take into account the actual memory requirements of the current virtual machine. The virtual machine memory may be adjusted to the actual memory usage value, and the services inside the virtual machine will be May be terminated, and the memory acquisition of the virtual machine with idle memory is consistent with the memory acquisition of the virtual machine with high memory pressure, so that the utilization rate of physical memory is low

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 physical memory allocation method and device
  • Virtual machine physical memory allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Below, in conjunction with accompanying drawing and specific embodiment, the present invention is described further:

[0038] see figure 1 , the virtual machine physical memory configuration method provided by the present invention comprises the following steps:

[0039] Step S1: Obtain the free memory of each virtual machine in all virtual machines at intervals t, and calculate the current actual memory usage of each virtual machine in all virtual machines; in this step, time t It is a preset fixed value, and the interval time of each time is t;

[0040] Step S2: Compare the current actual used memory amount of any virtual machine with the last actual used memory amount, and determine whether the current actual used memory amount of each virtual machine is consistent with the last actually used memory amount, if , then return to step S1, otherwise, go to step S3; all virtual machines are a whole, and memory usage of all virtual machines needs to be combined to config...

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 relates to a virtual machine physical memory allocation method and device. The method comprises the steps of acquiring the memory free amount of each virtual machine at an interval t, and calculating to obtain the current actual using memory amount of each virtual machine; comparing the current actual using memory amount of any virtual machine with the last time actual using memory amount thereof; updating the last time actual using memory amount of each virtual machine to be the current actual using memory amount by a virtual platform terminal, wherein the current actual using memory amount of any virtual machine is a memory lower limiting value of the virtual machine, and performing physical memory allocation on the virtual machine to obtain a target memory valve of each virtual machine; sending the target memory value of each virtual machine to the virtual machine. According to a virtual machine memory quota calculation provided by the invention, memory quota enough to meet the current running of the virtual machine is calculated out according to the memory using state of the virtue machine, and the memory loading of multiple virtual machines is balanced.

Description

technical field [0001] The present invention relates to the communication field, in particular to a virtual machine physical memory configuration method and device. Background technique [0002] In order to better implement features such as resource reuse and application isolation, virtualization technology has been widely used in the industry. In a virtualized environment, all virtual machines on the same physical machine share resources such as physical memory. In order to improve the utilization rate of physical memory resources, the corresponding amount of physical memory should be allocated according to the actual demand of the virtual machine for physical memory, so as to ensure that the physical memory resources allocated to the virtual machine will not be idle. [0003] The existing virtual machine physical memory allocation method is to determine the memory allocation method based on the current status of virtual machine memory usage, so that the memory status of t...

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
IPC IPC(8): G06F9/50G06F9/455
Inventor 李超越张国强张炎民
Owner 云宏信息科技股份有限公司
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
Eureka Blog
Learn More
PatSnap group products