Virtual machine memory management method and system based on remote memory, terminal and medium

A remote memory and memory management technology, which is applied in the field of distributed system architecture and system virtualization, can solve problems affecting virtual machines, no description or report found, memory competition bumps between virtual machines, etc., to expand memory resources and improve performance Effect

Inactive Publication Date: 2021-05-04
SHANGHAI JIAO TONG UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Memory competition between virtual machines may cause page thrashing;
[0005] 2. Fault tolerance issues, when the memory node crashes, it will affect all virtual machines;
[0006] 3. Isolation problem, the virtual machine may access the remote memory area of ​​other virtual machines
[0007] At present, there is no description or report of the similar technology of the present invention, and no similar data at home and abroad have been collected yet.

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 memory management method and system based on remote memory, terminal and medium
  • Virtual machine memory management method and system based on remote memory, terminal and medium
  • Virtual machine memory management method and system based on remote memory, terminal and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The following is a detailed description of the embodiments of the present invention: this embodiment is implemented on the premise of the technical solution of the present invention, and provides detailed implementation methods and specific operation processes. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention.

[0064] figure 1 It is a flowchart of a remote memory-based virtual machine memory management method provided by an embodiment of the present invention.

[0065] Such as figure 1 As shown, the remote memory-based virtual machine memory management method provided by this embodiment may include the following steps:

[0066] S100, according to the memory replacement mechanism, perform memory replacement between the local memory terminal and the remote memory terminal;

[0067] S200, the ...

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 machine memory management method and system based on a remote memory. The method comprises carrying out memory replacement between a local memory and a remote memory according to a memory replacement mechanism; outputting, by the virtual machine, a memory page access request between the local memory and the remote memory according to the memory page requirement; judging whether memory page prefetching is needed or not, generating an access request for the remote memory, and outputting the access request to the remote memory; according to the access request for the remote memory, acquiring a remote memory node where a required memory page is located, and reading and returning a corresponding remote memory page; storing the remote memory page in the local memory, establishing corresponding memory mapping, and recovering operation of the virtual machine; and allowing the virtual machine to continue to execute and re-access the memory page. Meanwhile, the invention provides the corresponding terminal and the medium. According to the method, system, terminal and medium, remote memory management of the virtual machine hierarchy is realized, and memory resources of the virtual machine are horizontally expanded.

Description

technical field [0001] The present invention relates to the technical field of distributed system architecture and system virtualization, in particular, to a virtual machine memory management method, system, terminal and medium based on remote memory. Background technique [0002] In recent years, with the popularity of big data analysis and machine learning, the data that people need to process has shown an explosive growth trend. In order to improve processing efficiency, an effective approach is to load all data into memory for processing to reduce the impact of slow disk I / O on program performance. However, with the gradual failure of Moore's Law, the growth rate of the memory capacity of a single machine has gradually slowed down, which has been unable to meet the needs of data processing. Therefore, the remote memory technology was proposed to allow a single node to use the memory resources of other nodes through distributed technology to break through the bottleneck ...

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 & AuthorityApplications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45583
Inventor戚正伟余博识陈伟业贾兴国项羽心管海兵
OwnerSHANGHAI JIAO TONG UNIV