Memory processing method and device, electronic equipment and readable medium

A processing method and memory technology, which can be used in program control devices, electrical digital data processing, program control design, etc., and can solve problems such as affecting the processing performance of the host computer.

Pending Publication Date: 2022-06-24
LOONGSON TECH CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the processing performance of the host machine will be affected when the host machine has a shortage of host memory.

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 processing method and device, electronic equipment and readable medium
  • Memory processing method and device, electronic equipment and readable medium
  • Memory processing method and device, electronic equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054]Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the invention to those skilled in the art.

[0055] figure 1 It is a flow chart of the steps of a memory processing method provided by an embodiment of the present invention, and the method can be applied to a host computer connected with an external device, such as figure 1 As shown, the method can include:

[0056] Step 101: For any virtual machine in the host machine, determine the amount of currently allocated memory according to the currently allocated memory of the virtual m...

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 processing method and device, electronic equipment and a readable medium, in the method, a host machine connected with external equipment determines the current allocated memory amount according to the current allocated memory of the virtual machine for any virtual machine. The currently allocated memory is the memory, which can be directly accessed by the external equipment, in the virtual machine memory of the virtual machine. And when the current allocated memory amount is not less than a preset memory amount threshold value, cancelling the allocation of the specified memory page in the allocated memory. Wherein the preset memory capacity threshold value is not greater than the virtual machine memory of the virtual machine. Therefore, all memories of the virtual machine can be prevented from being distributed, and the problem that the processing performance of the host machine is influenced under the condition that the memory of the host machine is insufficient can be avoided to a certain extent.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of electronic devices, and in particular, to a memory processing method, apparatus, electronic device, and readable medium. Background technique [0002] With the continuous development of network technology, virtual machines have been used more and more. When using a virtual machine, in order to facilitate the external device to access the memory of the virtual machine in the host machine, the external device needs to be directly connected to the virtual machine. [0003] In the existing method, when device passthrough is performed, all the memory of the virtual machine is allocated to the external device, so that the external device can access the memory of the virtual machine. In this way, the processing performance of the host will be affected when the host memory is tight. SUMMARY OF THE INVENTION [0004] Embodiments of the present invention provide a memory processing method,...

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/455
CPCG06F9/45558G06F2009/45583
Inventor 吕晨朱琛毛碧波高翔
Owner LOONGSON TECH CORP
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