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

Memory management method and device and storage system

A memory and memory block technology, applied in multi-programming devices, resource allocation and other directions, can solve the problems that memory blocks cannot be recycled, cannot guarantee the effective use of memory blocks, and cannot guarantee that all memory space is released, etc., so as to improve the reliability of memory. performance, improve memory utilization

Inactive Publication Date: 2019-05-28
HUAWEI TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since data of more than one business type is stored in a memory block, the elimination strategy cannot guarantee that all the memory space in a memory block is released, and then the memory block cannot be recycled to the memory pool for use by other businesses
Therefore, the current way of managing memory does not guarantee that memory blocks are efficiently utilized

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 and storage system
  • Memory management method and device and storage system
  • Memory management method and device and storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The technical solution in this application will be described below with reference to the accompanying drawings.

[0037] The method and device for managing memory provided by the embodiments of the present application can be applied to a computer, and the computer includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (Central Processing Unit, CPU), a memory management unit (Memory Management Unit, MMU), and memory (also called main memory).

[0038] The operating system may be any one or more computer operating systems that realize business processing through processes, for example, Linux operating system, Unix operating system, Android operating system, iOS operating system, or windows operating system.

[0039] The application layer includes applications such as browsers, address books, word processing sof...

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 and device and a storage system. The method comprises the following steps: 1, judging whether the memory usage rate reaches a preset threshold value or not; wherein the memory comprises a plurality of memory blocks; wherein at least part of the memory blocks belong to allocated memory blocks; wherein each allocated memory block is used for storingdata of one service type; wherein the memory usage rate is the proportion of the allocated memory blocks in a plurality of memory blocks included in the memory, a step of selecting at least one targetmemory block from the allocated memory blocks when the memory usage rate reaches a preset threshold, and a step of clearing or transferring all data in the target memory block. By determining the memory utilization rate and clearing or transferring all the data in the target memory block, the target memory block can be used by other to-be-cached data, the memory utilization rate of the system isincreased, in addition, it is helpful for a service to successfully apply for the memory block, and the memory reliability of the system is improved.

Description

technical field [0001] The present application relates to the field of computer storage, and more specifically, to a method, device and storage system for managing memory. Background technique [0002] At present, in the storage system, in order to improve the read and write performance of metadata or user data, some businesses will apply for memory blocks from the memory including multiple memory blocks, write the data into the memory blocks, and then read and write the buffer storage module ( ReadWrite Cache, RW-Cache) manages these memory blocks for writing data to improve the speed of reading and writing data. [0003] In the prior art, when the memory space occupied by the stored data in the RW-Cache reaches a certain level, the stored data will be eliminated according to the hot and cold data or the first-in-first-out strategy, that is, the data stored in the memory block will be cleared. When all the data stored in the memory block is cleared, the memory block can be...

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/50
Inventor 赵冬梅包发勇曾双福
Owner HUAWEI TECH CO 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