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 servic

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

Example Embodiment

[0037] Hereinafter, the present invention will be further described with reference to the drawings and specific implementations:

[0038] See figure 1 The method for configuring physical memory of a virtual machine provided by the present invention includes the following steps:

[0039] Step S1: Obtain the free memory of each virtual machine in all virtual machines at intervals of 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 is t each time;

[0040] Step S2: Compare the current actual used memory amount of any virtual machine with the last actual used memory amount to determine whether the current actual used memory amount of each virtual machine is consistent with the last actual used memory amount, if so , Then return to step S1, otherwise, perform step S3; all virtual machines are a whole, and the memory configuration of all virtual machines needs to combine...

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
Try Eureka
PatSnap group products