Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Virtual memory dynamic allocation method of virtual machine

A technology of virtual memory and virtual machine, applied in the field of dynamic allocation of virtual memory, can solve problems such as surplus, virtual machine memory cannot meet application requirements, and memory application efficiency is not high

Inactive Publication Date: 2017-04-26
CHINA PETROLEUM & CHEM CORP +1
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the applications running on the virtual machine are diverse and change dynamically. Therefore, the current static virtual machine memory management method causes some virtual machine memory to fail to meet application requirements, while some virtual machine memory remains, resulting in the overall application of memory. not efficient

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 memory dynamic allocation method of virtual machine
  • Virtual memory dynamic allocation method of virtual machine
  • Virtual memory dynamic allocation method of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Hereinafter, preferred embodiments are enumerated and described in detail in conjunction with the accompanying drawings.

[0019] Such as figure 1 as shown, figure 1 It is a flowchart of a method for dynamically allocating virtual memory of a virtual machine according to the present invention.

[0020] A method for dynamically allocating virtual memory of a virtual machine, comprising a host machine and a main control program, an agent agent program, a memory evaluation algorithm, a memory expansion algorithm, and a memory balloon driver, wherein the agent agent program in the virtual machine includes memory utilization rate collection and Memory balloon driver.

[0021] In step 101, the adjustment thresholds T1 and T2 of the virtual memory and the preset sampling period C=120 seconds are set through the main control program memorycontrol on the host machine, and stored in the database, and the process enters step 102.

[0022] In step 102, according to the preset sa...

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 provides a virtual memory dynamic allocation method of a virtual machine. The virtual memory dynamic allocation method of a virtual machine realizes the dynamic allocation of the virtual memory by developing a control program with the memory balloon technology. Firstly, setting two memory adjustment threshold values T1 (if the memory utilization rate is larger than T1, the memory is extended) and T2 (if the memory utilization rate is less than T2, the memory is recycled) through the control program; then, collecting the memory utilization rate U1 of each virtual machine and storing in the database. In the second collection cycle, the collected virtual machine memory utilization rate U2 is also stored in the database, and the virtual memory analysis is performed at the same time. If (U1+U2) / 2>T1, the virtual memory is extended dynamically; on the contrary, if (U1+U2) / 2<T2 and U1<T1 and U2<T1, the virtual memory is recycled dynamically. According to the virtual memory dynamic allocation method of a virtual machine, the values of T1 and T2 are set according to the actual application, therefore, the virtual machine memory can be dynamically allocated effectively, and the memory utilization efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of computer virtual machine memory management, in particular to a method for dynamically allocating virtual memory of a virtual machine. Background technique [0002] Virtualization is the basis of cloud computing and a resource management technology. It abstracts and converts various physical resources of computers, such as servers, networks, memory, and storage, and presents them after transformation, breaking the inseparable relationship between physical structures. Barriers that enable users to apply these resources in a better way than the original configuration. The new virtual portion of these resources is independent of how existing resources are set up, geographically or physically configured. Memory resources are one of the important resources managed by virtualization technology, and have a great impact on the performance of the virtualization system. Currently, a virtual machine is configured w...

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/455
CPCG06F9/45508G06F2009/45583
Inventor 杨澎涛李战强董涛范永合梁琦刘峰
Owner CHINA PETROLEUM & CHEM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products