Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

A memory management and computer technology, applied in the field of resource management, can solve problems affecting the operating efficiency and quality of virtual machines, and the increasing impact of virtual machine startup time, etc., to achieve the effect of increasing startup time, improving speed and efficiency

Active Publication Date: 2022-05-24
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, device, electronic device, and computer-readable storage medium
  • Memory management method, device, electronic device, and computer-readable storage medium
  • Memory management method, device, electronic device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] Hereinafter, exemplary embodiments of the 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 implement them. Also, for the sake of clarity, parts unrelated to describing the exemplary embodiments are omitted from 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 be The presence or addition of one or more other features, numbers, steps, acts, components, parts, or combinations thereof is excluded.

[0066] In addition, it should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict. The embodiments of the present invention will be ...

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

Embodiments of the present invention disclose a memory management method, apparatus, electronic device, and computer-readable storage medium. The method includes: determining a first memory resource locked in advance and a second memory resource locked by delay; A machine operation is triggered, and a pre-lock operation is performed on the first memory resource; in response to the completion of the preset virtual machine operation, the first memory resource is released, and a delayed lock operation is performed on the second memory resource. The technical solution does not significantly increase the startup time of the virtual machine even for large-capacity memory resources, thereby improving the startup and running speed and efficiency of the virtual machine on the premise of ensuring the running quality of the virtual machine.

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, apparatus, electronic device, and computer-readable storage medium. Background technique [0002] With the development of virtualization technology, KVM (Kernel-based Virtual Machine) virtualization cloud services based on VFIO (Virtual Function Input / Output Service, a user-mode driver framework) can provide users with stable and efficient pass-through virtual machines. The performance of the solution can be 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, during the startup process of the virtual machine, all memory resourc...

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products