Check patentability & draft patents in minutes with Patsnap Eureka AI!

Memory management method based on slab algorithm

A memory management and memory technology, applied in the field of memory management, can solve the problems of low memory usage, lower memory utilization, and increase the utilization efficiency of memory blocks, so as to improve the usage and minimize the processing time.

Active Publication Date: 2020-04-14
安徽芯智科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to solve the existing memory management method as the size of the memory unit in the zone increases exponentially, and the difference between the memory units in adjacent zone areas It is getting bigger and bigger. When faced with a large memory application, the memory usage rate will become lower and lower. For the adjacent 8k and 16kzone areas, when users apply for 10k memory, they will apply in the 16k zone area, but the size of 16k, the user only 10k is used, and the remaining 6k is completely wasted, and the memory utilization rate is greatly reduced. It is impossible to make statistics on the usage of memory blocks in the memory partition and complete the adjustment of memory blocks, which increases the utilization efficiency of memory blocks. Therefore, a memory management method based on the slab algorithm is proposed

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 based on slab algorithm
  • Memory management method based on slab algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] see Figure 1-2 As shown, a memory management method based on the slab algorithm includes the following steps:

[0029] Step A: The compiler compiles the user source code into several target modules, and the linker links the compiled target modules and required library functions together to form a complete loading data;

[0030] Step B: The load module loads the load data into the memory module for operation, the relocation register contains the physical address value, the boundary address register contains the logi...

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 discloses a slab algorithm-based memory management method. The method comprises the steps that A a compiler compiles a user source code into a plurality of target modules, and a linker links a group of target modules formed after compiling and a required library function together to form complete loading data; and B a loading module loads the loaded data into a memory module for operation, wherein a relocation register comprises a physical address value, a boundary address register comprises a logic address value, a memory management unit dynamically compares the logic address value with the physical address value, and when the memory management unit detects that the logic address value is the minimum value, the memory management unit maps the logic address value into a physical address through the value of the relocation register. The method has the beneficial effects that through secondary dynamic management of the memory, the effective utilization rate of the system memory is improved; the influence of memory exhaustion on the operation of the equipment system is indirectly reduced; corresponding adjustment can be performed according to the use frequency of the memory block; and the utilization efficiency is improved.

Description

technical field [0001] The invention relates to the field of memory management, in particular to a memory management method based on a slab algorithm, which belongs to the technical field of memory. Background technique [0002] Memory management includes memory management and virtual memory management. Memory management includes the concept of memory management, swap and overlay, continuous allocation management and discontinuous allocation management. Virtual memory management includes the concept of virtual memory, request paging management, page replacement algorithm, page Allocation strategy, working set and jitter, the functions of memory management include: allocation and recovery of memory space, allocation and management of main memory space by the operating system, freeing programmers from the trouble of storage allocation, improving programming efficiency, address translation: in In a multi-program environment, the logical address in the program cannot be consiste...

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): G06F9/50G06F12/02
CPCG06F9/5016G06F9/5022G06F12/0253Y02D10/00
Inventor 李重王利平葛锐锋高深
Owner 安徽芯智科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More