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

Memory defragmentation method and device

A technology of memory fragmentation and storage space, applied in the field of communication, can solve the problem of lack of defragmentation and time-consuming, and achieve the effect of saving defragmentation time and improving the efficiency of defragmentation

Active Publication Date: 2020-09-25
ZTE CORP
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a memory defragmentation method and device to at least solve the problem of time-consuming defragmentation caused by the lack of a memory defragmentation mechanism for NVM in the related art

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 defragmentation method and device
  • Memory defragmentation method and device
  • Memory defragmentation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] The storage space management method provided in this embodiment can be applied to non-volatile storage memory, wherein the non-volatile storage memory (Non-Volatile Memory, NVM for short) can at least include: Resistive RAM (Resistive RAM, RRAM for short), Phase Change Memory (PCM for short), Magnetic RAM (MRAM for short), and Spin-Torque Transfer RAM (STT RAM for short). Among them, this type of memory has the characteristics of large capacity, high density, low energy consumption, fast read and write speed, and long wear cycle. This type of memory can be directly connected to the processor memory subsystem, that is, connected to the memory bus. In this case, NVM can be called persistent memory, that is, persistent memory. In the context of cloud computing and big data, many applications require their own data or data structures to be stored persistently. Persistent memory can not only meet this requirement, but also reduce the storage stack level and improve storage ...

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

An internal memory defragmentation method and apparatus; dividing a target application program into a plurality of threads (S102); when defragmenting the target application program, querying the link table having the highest movement value in the value information segment tree of each thread, the link tables carrying storage spaces of the same movement value, the value information segment tree being used for querying the movement value of each link table, and the movement value being used for balancing the allocation or release values corresponding to storage space during defragmentation (S104); extracting from the link table having the highest movement value a storage space satisfying preset movement conditions (S106); and moving the storage space to a target storage space (S108), thus resolving the problem in the prior art of defragmentation being time-consuming caused by the lack of an NVM internal storage defragmentation mechanism, and achieving the effect of saving defragmentation time and increasing defragmentation efficiency.

Description

technical field [0001] The present invention relates to the communication field, in particular to a memory defragmentation method and device. Background technique [0002] With the rapid development of cloud computing and big data technology, users have higher and higher requirements for the storage efficiency and storage quality of the storage system, that is, they need to have the characteristics of large capacity, high density, low energy consumption, and fast read and write speed. Storage systems, and storage media represented by Dynamic Random Access Memory (DRAM for short) and Flash Flash have gradually reached technical bottlenecks, such as capacity and density bottlenecks. That is, under the same area, it is difficult to increase the capacity of DRAM and Flash; in addition, in many handheld devices, the energy consumption of DRAM, especially the refresh energy consumption, has accounted for about 40% of the system energy consumption of handheld devices. In some data...

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): G06F12/02
CPCG06F12/02
Inventor 李林熊先奎葛聪
Owner ZTE CORP