Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory management method, device and equipment

A technology of memory management and memory management unit, which is applied in the field of devices and equipment, and memory management methods, and can solve problems such as device direct technology, inability to use virtual machine memory, and inability to use memory scaling technology in virtual machine memory, so as to shorten the data transmission path , to avoid the effect of interaction

Pending Publication Date: 2021-06-08
ALIBABA GRP HLDG LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, it is currently impossible to achieve the coexistence of device-through technology and memory scaling technology
If you use device-through technology for virtual machine memory, you cannot use memory scaling technology for virtual machine memory. If you use memory scaling technology for virtual machine memory, you cannot use device-through technology for virtual machine 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 management method, device and equipment
  • Memory management method, device and equipment
  • Memory management method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Embodiment 1: see figure 2 Shown is a flowchart of a memory management method, which may include:

[0069] Step 201, receiving a shrinking request for memory of a virtual machine.

[0070] Step 202, determine the physical memory address of the virtual machine that needs to be shrunk according to the shrinking request.

[0071] Step 203: Operate the virtual machine physical memory address in the access page table, so that when an external device accesses the virtual machine memory, access to the virtual machine physical memory address is prohibited according to the access page table.

[0072] In an example, an unmapped request for the virtual machine's physical memory address may be sent to the memory management unit, and the unmapped request may include the virtual machine's physical memory address, so that the memory management unit accesses the page table according to the unmapped request Operate on the physical memory address of the virtual machine.

[0073] In a...

Embodiment 2

[0076] Example 2: see image 3 Shown is a flowchart of a memory management method, which may include:

[0077] Step 301, receiving a memory expansion request for a virtual machine.

[0078] Step 302, determine the physical memory address of the virtual machine that needs to be expanded according to the capacity expansion request.

[0079] Step 303: Operate the virtual machine physical memory address in the access page table, so that when an external device accesses the virtual machine memory, access to the virtual machine physical memory address is allowed according to the access page table.

[0080] In an example, after step 302, the physical memory address of the host machine may also be determined according to the physical memory address of the virtual machine. Based on this, in step 303, the mapping relationship between the virtual machine physical memory address and the host physical memory address can be added in the access page table, so that when an external device a...

Embodiment 3

[0085] Embodiment 3: see Figure 4 Shown is a flowchart of a memory management method, which may include:

[0086] Step 401, receiving a scaling request for virtual machine memory.

[0087] Step 402: Determine the physical memory address of the virtual machine that needs to be scaled according to the scaling request.

[0088] Step 403, operate on the virtual machine physical memory address in the access page table, so that when an external device accesses the virtual machine memory, access to the virtual machine physical memory address is prohibited according to the access page table, or, according to the access page The table allows access to the physical memory address of the virtual machine.

[0089] In one example, if the scaling request is used to shrink the memory of the virtual machine, then in step 403, an operation may be performed on the physical memory address of the virtual machine in the access page table, so that the external device can shrink the memory of 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 memory management method, device and equipment. The method comprises the following steps: receiving a capacity reduction request for a virtual machine memory; determining a virtual machine physical memory address needing to be subjected to capacity reduction according to the capacity reduction request; and operating the physical memory address of the virtual machine in an access page table so as to forbid access to the physical memory address of the virtual machine according to the access page table when an external device accesses the memory of the virtual machine. Through the technical scheme of the invention, coexistence of an equipment direct connection technology and a memory scaling technology can be realized.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a memory management method, device and equipment. Background technique [0002] Through virtual machine software, multiple virtual machines (Virtual Machines) can be simulated on a physical computer. These virtual machines work exactly like real computers, for example, can install operating systems, install applications, and access network resources. A virtual machine is an application program running on a physical computer, but for an application program running in a virtual machine, the virtual machine is a real computer. [0003] With the rapid development of virtual machine technology, there are more and more technologies related to virtual machines. Memory scaling technology and device pass-through technology are technologies for virtual machine memory. Among them, the memory scaling technology refers to: the memory of the virtual machine can be relea...

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/45558G06F2009/45583
Inventor 郭蔚吴启翾韩伟东
Owner ALIBABA GRP HLDG LTD