Processing method and device for memory management metadata

A technology for memory management and processing methods, applied in electrical digital data processing, memory systems, instruments, etc., can solve problems such as the lack of effective methods for processing memory management metadata, and achieve the effect of improving efficiency and fast access

Active Publication Date: 2019-03-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the implementation process of this method, a lot of memory management metadata is required, and the memory management metadata needs to b

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
  • Processing method and device for memory management metadata
  • Processing method and device for memory management metadata
  • Processing method and device for memory management metadata

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the above objectives, features, and advantages of the present application more obvious and understandable, the following describes the embodiments of the present application in further detail with reference to the accompanying drawings and specific implementations.

[0040] The memory management metadata needs to be used in the memory management process, but the prior art lacks a method for effectively processing these memory management metadata. For this reason, the embodiment of the present application proposes a method of using huge page (large page) memory to process memory management metadata in a storage system, and further provides a memory management metadata memory (the memory management metadata memory uses a huge page memory) Methods of accessing memory management metadata. Among them, hugepage is selected in the embodiment of this application to replace the traditional 4kb memory page by using large page memory, so that the number of virtual ad...

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 application discloses a processing method and a device for memory management metadata, which are used for processing memory management metadata efficiently. The method comprisesthe following steps: calling mmap to allocate memory management metadata memory, wherein the memory management metadata memory is a huge page large page memory; establishing The physical address mapping table, and the physical address mapping table and storing the physical page frame number of the memory management metadata memory corresponding to each memory management metadata; and storing the physical page frame number of the memory management metadata memory by the physical address mapping table corresponding to each memory management metadata. In response to a request to access the targetmemory management metadata, adopting a physical address mapping table to look up a physical page frame number of a memory management metadata memory corresponding to the target memory management metadata, and the target memory management metadata is any memory management metadata, so as to realize access to the target memory management metadata.

Description

Technical field [0001] This application relates to the field of computer technology, in particular to a method and device for processing memory management metadata. Background technique [0002] Memory management refers to the allocation and use of device memory resources when the code is running. In the storage system, generally based on Linux memory management, a layer of memory management module is provided through the Linux kernel module to implement more flexible memory management methods such as power failure protection. In the implementation process of this method, a lot of memory management metadata is needed, and memory management metadata needs to be used in the memory management process. The prior art lacks a method for effectively processing these memory management metadata. Summary of the invention [0003] In view of this, the embodiments of the present application provide a method and device for processing memory management metadata, so as to realize more efficient...

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): G06F12/1009G06F12/1036
CPCG06F12/1009G06F12/1036
Inventor 刘如意孙京本李佩
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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