Memory management method and device, electronic equipment and computer readable storage medium

A memory management and memory technology, applied in the field of resource management, can solve the problems affecting the operating efficiency and quality of virtual machines, and the increasing influence of virtual machine startup time.

Active Publication Date: 2021-09-10
ALIBABA CLOUD COMPUTING LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using VFIO-based memory resource management, all memory resources need to be locked during the startup process of the virtual machine. Obviously, when the memory capacity is small, the memory locking process only takes a few milliseconds, and the impact on users It can be ignored, but with the increase of memory capacity, the impact of memory locking on the virtual machine startup time is increasing. For example, for a virtual machine memory configuration of 384GB, the locking of memory resources alone will take about 90 seconds. This will seriously affect the operating efficiency and quality of the virtual machine

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] Hereinafter, exemplary embodiments of embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily realize them. Also, for clarity, parts not related to describing the exemplary embodiments are omitted in the drawings.

[0065] In the embodiments of the present invention, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in this specification, and are not intended to The possibility that one or more other features, numbers, steps, acts, parts, parts or combinations thereof exist or be added is excluded.

[0066] In addition, it should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The embodiments of the present invention will be descr...

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 embodiment of the invention discloses a memory management method and device, electronic equipment and a computer readable storage medium. The method comprises the steps that a first memory resource locked in advance and a second memory resource locked in a delayed mode are determined; in response to the fact that preset virtual machine operation is triggered, an advanced locking operation is executed on the first memory resource; and in response to the completion of the operation of the preset virtual machine, the first memory resource is released, and a delay lock operation is executed on the second memory resource. According to the technical scheme, the starting time of the virtual machine cannot be obviously increased even for large-capacity memory resources, and then the starting and running speed and efficiency of the virtual machine can be improved on the premise that the running quality of the virtual machine is guaranteed.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of resource management, and in particular to a memory management method, device, electronic equipment, and computer-readable storage medium. Background technique [0002] With the development of virtualization technology, the KVM (kernel-based virtual machine) virtualization cloud service based on VFIO (virtual function input / output service, a user-mode driver framework) can provide users with stable and efficient direct virtualization The performance of this solution can reach a user experience close to that of a physical machine, so its application is becoming more and more extensive. However, with the rise of cloud computing and artificial intelligence, the demand for storage and computing resources is increasing, and the configuration of memory capacity is increasing day by day. When using VFIO-based memory resource management, all memory resources need to be locked during the star...

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/455G06F9/50
CPCG06F9/45558G06F9/5016G06F9/5022G06F2009/45583G06F2009/45575
Inventor 李伟男龙欣郑晓
Owner ALIBABA CLOUD COMPUTING 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