Memory recovery method and device and control equipment

A memory recovery and memory technology, applied in multi-program devices, program control devices, climate sustainability, etc., can solve the problems that DMA memory mapping cannot be changed, and virtual machine memory cannot be recovered, so as to achieve less intrusion control and improve response. Speed, the effect of improving processing efficiency

Pending Publication Date: 2022-08-02
ALIBABA (CHINA) CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The problem solved by this application is that the memory mapping of DMA cannot be changed in the existing memory recovery method, so that the memory of the virtual machine cannot be recovered

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
  • Memory recovery method and device and control equipment
  • Memory recovery method and device and control equipment
  • Memory recovery method and device and control equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053]In order to make the above objects, features and advantages of the present application more obvious and easy to understand, specific embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0054] The existing memory reclamation method dynamically reclaims the memory of the virtual machine by changing the memory mapping, but the device-side DMA requires that the memory mapping of the virtual machine cannot be changed at all during the running process of the virtual machine.

[0055] Aiming at the above problem, the present application provides a solution, by determining the free memory area of ​​the virtual machine to reclaim the free memory of the virtual machine, so that the memory map being used during the running of the virtual machine does not need to be changed.

[0056] For ease of understanding, the following terms that may be used are explained here:

[0057] Memory reclamation: After the host alloca...

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 memory recovery method and device and control equipment. The method comprises the steps that memory management metadata information of a virtual machine and a memory analysis function for analyzing the memory management metadata information are obtained; and based on the memory analytic function and the memory management metadata information, recycling the idle memory of the virtual machine. The idle memory of the virtual machine is recycled, so that the problem that memory mapping cannot be changed for DMA (direct memory access) on the equipment side is avoided, and additional hardware or a para-virtualization driving program is not needed.

Description

technical field [0001] The present application relates to the technical field of memory allocation, and in particular, to a memory recycling method, device, and control device. Background technique [0002] Reclaiming the free memory of the virtual machine and improving the memory elasticity of the virtual machine can effectively improve the resource utilization efficiency of the host machine, help increase the density of virtual machines that can be deployed by the host machine, and reduce the cost of virtual machine use. However, in today's large-scale popularization of virtual machine device pass-through, device-side DMA requires that the memory map of the virtual machine cannot be changed at all during the running process, so the memory of the virtual machine cannot be dynamically reclaimed. [0003] One way to solve this problem is to provide device-side page fault handling capability, but this method relies on special hardware and cannot be used in existing hardware. ...

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/50G06F9/455
CPCG06F9/5016G06F9/5022G06F9/45558G06F2009/45583Y02D10/00
Inventor 王耀辉罗犇
Owner ALIBABA (CHINA) 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