Method for implementing dynamic memory pool

An implementation method and memory pool technology, applied in the direction of memory address/allocation/relocation, resource allocation, special data processing applications, etc., can solve the problem of unreasonable number of memory pages, no consideration of memory request processing, and memory pages that cannot adapt to memory requests and other issues to achieve the effect of improving debuggability

Inactive Publication Date: 2007-07-11
WUHAN HONGXU INFORMATION TECH
View PDF2 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to factors such as business complexity and multi-module coupling, it is difficult for developers to predict the exact number of memory pages required for system operation
When the system is running under light load conditions or the distribution of memory page sizes changes, the number of memory pages specified by the application may not be reasonable
In addition, the memory pages statically allocated by the system may not be able to accommodate sudden memory requests, although there is still available physical or virtual memory in the system
[0008] Chinese patent document 01118873.1 is also a method for dynamically adjusting memory pool configuration, but does not consider the processing of burst memory requests

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
  • Method for implementing dynamic memory pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention is described in further detail below with examples.

[0043] FIG. 1 depicts a schematic diagram of a memory pool structure in an embodiment of the present invention. 101 is an array unit of different types of memory buffer pools, which records the link list head pointer, number and extension information of the buffer pool, the number of free memory pages, and the link list head pointer. 102 describes the structure of a buffer pool, which is composed of sibling member chain pointers, buffer pool header information and data pages. 103 describes the structure of the memory page, which is linked into a free page linked list through the free page pointer. The memory space pointed to by 103 has been allocated in the structure shown in 102 .

[0044] The present invention has obtained applicability experiments on communication network data security products, and has achieved the expected purpose. On the single board of PIII 1G, adopt the method describ...

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

A dynamic internal memory features in the fixed size internal memory page, whose size and quantity can be designated by application within system allowable scope, and the page quantity can be dynamically expanded or retracted, with application transparency. It can also support inspecting internal memory out of range and leakage of the allocation. It applies to ordinary timely system development with flexibility, highly efficient internal memory management, improving system running efficiency and robustness.

Description

technical field [0001] The invention relates to computer memory management technology, provides a method for realizing a dynamic memory pool, and supports a configurable function of detecting memory out of bounds and memory leakage. Background technique [0002] In the field of communication, in order to improve the real-time performance of the system, it is necessary to reduce the overhead of thread switching, system call, interrupt response and memory operation, and the efficiency of memory management is an important factor affecting the system overhead. Mature communication products generally have a dedicated memory management subsystem. [0003] The operating system generally provides a heap-based memory allocation strategy, which can be divided into variable-length memory blocks. Its advantage is to eliminate the internal fragmentation of the memory block, but after the system runs for a long time, external fragmentation will be introduced between the memory blocks, re...

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/50G06F9/46G06F17/30G06F12/02
Inventor 涂小明
Owner WUHAN HONGXU INFORMATION TECH
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