[go: up one dir, main page]

CN1181434C - Adaptive Dynamic Memory Management Method - Google Patents

Adaptive Dynamic Memory Management Method Download PDF

Info

Publication number
CN1181434C
CN1181434C CNB011188731A CN01118873A CN1181434C CN 1181434 C CN1181434 C CN 1181434C CN B011188731 A CNB011188731 A CN B011188731A CN 01118873 A CN01118873 A CN 01118873A CN 1181434 C CN1181434 C CN 1181434C
Authority
CN
China
Prior art keywords
page
fragment
cluster
free
fragments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB011188731A
Other languages
Chinese (zh)
Other versions
CN1393780A (en
Inventor
朱英明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB011188731A priority Critical patent/CN1181434C/en
Publication of CN1393780A publication Critical patent/CN1393780A/en
Application granted granted Critical
Publication of CN1181434C publication Critical patent/CN1181434C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a self-adaptive dynamic memory management method which takes page clusters as units to allocate memory from an idle memory region for application. Pages are contained in the page clusters; the length of each page can accommodate a segment with maximal byte number. In the page clusters of the same type, the byte numbers of segments in all pages are same. When all of the segments in the page clusters are idle, the page clusters can be converted into page clusters of required type to be applied. The present invention realizes the dynamic management of memory spaces and fully utilizes memory resources.

Description

自适应动态内存管理方法Adaptive Dynamic Memory Management Method

技术领域technical field

本发明涉及一种内存管理方法,尤其涉及数据通信设备中的内存管理方法。The invention relates to a memory management method, in particular to a memory management method in a data communication device.

背景技术Background technique

在各种数据通信设备中,内存空间按不同字节数分成多种分片,各种分片的长度即字节数包括32字节、64字节、128字节、256字节、512字节、1024字节、2048字节、4096字节等类型。设备运行中对各种类型的内存的需求不断变化。为了高速地进行内存的申请、释放等操作,对于同一种内存的申请通常采取成批申请的方式,即在系统的编译时决定各种分片的数目,进入运行过程后,这种数目将无法根据实际需要进行动态调整。例如,我们凭经验估计某种设备通常情况下对于32字节的内存分片大约需要5万片即可,于是在系统初始化时,一次性申请能够存放5万片32字节的内存区用于存取。在系统运行过程中,当需要申请32字节的内存时,便从此内存区中取一片空闲的32字节内存分片来使用,如果内存区中已没有空闲的内存分片,则系统将返回申请失败提示,即使此时其它种类的内存区中还有很多空闲的内存空间。这种固定分配的内存管理方法虽然容易实现,但在使用中,对空闲的内存资源无法充分利用,造成浪费。In various data communication devices, the memory space is divided into multiple fragments according to the number of bytes. The length of various fragments, that is, the number of bytes, includes 32 bytes, 64 bytes, 128 bytes, 256 bytes, and 512 words. section, 1024 bytes, 2048 bytes, 4096 bytes, etc. The requirements for various types of memory are constantly changing in the operation of equipment. In order to perform memory application and release operations at high speed, the application for the same type of memory is usually applied in batches, that is, the number of various fragments is determined at the time of system compilation. After entering the running process, this number will not be able to Dynamically adjust according to actual needs. For example, we estimate based on experience that a certain device usually needs about 50,000 slices of 32-byte memory slices, so when the system is initialized, a one-time application can store 50,000 slices of 32-byte memory area for access. During system operation, when a 32-byte memory needs to be requested, a free 32-byte memory slice is taken from this memory area for use. If there is no free memory slice in the memory area, the system returns The application fails to prompt, even if there is still a lot of free memory space in other types of memory areas at this time. Although this fixed-allocation memory management method is easy to implement, idle memory resources cannot be fully utilized during use, resulting in waste.

发明内容Contents of the invention

本发明的目的在于:针对现有技术中的不足,提供一种自适应动态内存管理方法,对各种分片类型的内存,在运行过程中根据实际需要动态分配,使内存资源充分利用。The object of the present invention is to provide a self-adaptive dynamic memory management method to address the deficiencies in the prior art, to dynamically allocate memory of various slice types according to actual needs during operation, so as to make full use of memory resources.

为达到上述目的,本发明采用的技术方案是:一种自适应动态内存管理方法,对内存空间依各种分片的字节数划分不同种类型的页面簇,以页面簇为单位从占整个内存空间一定比例的空闲内存区中分配以供申请,每个页面簇中至少包含一个页面,每个页面能且只能容纳一个分片,在同一种类型的页面簇中,所有页面中的分片的字节数相同,当申请某种字节数的内存时,包括下述步骤:In order to achieve the above object, the technical solution adopted by the present invention is: a kind of self-adaptive dynamic memory management method, divides the memory space into different types of page clusters according to the number of bytes of various fragments, and takes the page cluster as a unit from the entire A certain proportion of the memory space is allocated in the free memory area for application. Each page cluster contains at least one page, and each page can only accommodate one fragment. In the same type of page cluster, the fragments in all pages The number of bytes of the slice is the same. When applying for a certain number of bytes of memory, the following steps are included:

A、检查该种字节数分片类型的页面簇中是否有空闲分片,如果有,转步骤E;如果无,继续步骤B;A. Check whether there are free fragments in the page cluster of this byte fragmentation type, if yes, go to step E; if not, continue to step B;

B、判断空闲内存区占整个内存空间的比例是否小于等于设定值,如果是,转步骤D;如果否,执行步骤C;B. Determine whether the ratio of the free memory area to the entire memory space is less than or equal to the set value, if yes, go to step D; if not, go to step C;

C、从空闲内存区中划分出一个相应类型的页面簇,转步骤E;C. Divide a page cluster of a corresponding type from the free memory area, and turn to step E;

D、从其他类型的页面簇中找出所有分片均处于空闲的页面簇,将其改变为所需类型的页面簇;继续步骤E;D. Find a page cluster in which all fragments are free from other types of page clusters, and change it to a page cluster of the required type; continue with step E;

E、从页面簇中分配分片。E. Allocate fragments from page clusters.

由于本发明采用了以上技术方案,将内存空间以页面簇为单位分配以供申请,页面簇中包含页面,而每个页面能且只能容纳一个分片,实际运行中,当某种类型的页面簇中的所有分片都被占用,而用户又申请这种类型的分片时,就可以通过两种途径解决:(1)从空闲的内存空间中划分出所需类型的页面簇,再分配其中的分片;(2)从其他类型的页面簇中找出其中各分片均处于空闲的页面簇,改变其类型,即将其中分片的长度改变为所需类型,再进行分配。由于较大的分片长度是比它小的各种分片长度的整数倍,而每个页面能且只能容纳一个分片,页面簇又由页面组成,所以各种类型的页面簇均可以相互转换。通过对页面簇的划分和相互转换,实现了内存空间的动态管理,只要有空闲就不拒绝申请,使内存资源得以充分利用。Since the present invention adopts the above technical solution, the memory space is allocated in units of page clusters for applications. Page clusters contain pages, and each page can only accommodate one fragment. In actual operation, when a certain type of All the shards in the page cluster are occupied, and when the user applies for this type of shard, there are two ways to solve the problem: (1) Divide the required type of page cluster from the free memory space, and then Allocate the fragments therein; (2) Find out the page clusters in which each fragment is free from other types of page clusters, change its type, that is, change the length of the fragments to the required type, and then allocate. Since the length of the larger fragment is an integer multiple of the length of various fragments smaller than it, and each page can only accommodate one fragment, and the page cluster is composed of pages, so various types of page clusters can be convert each other. Through the division and mutual conversion of page clusters, the dynamic management of memory space is realized, and applications will not be rejected as long as there is free time, so that memory resources can be fully utilized.

具体实施方式Detailed ways

下面结合实施例对本发明的技术方案作进一步说明。The technical solutions of the present invention will be further described below in conjunction with the embodiments.

本发明技术方案的核心就是对内存空间作出新的划分,使用户对内存的申请和释放在划分后的区间进行,而这种新的划分使不同类型的区间可以相互转换,这样一来,对各种类型的内存就不必预留固定的数量,在运行中按照申请动态分配。The core of the technical solution of the present invention is to make a new division of the memory space, so that the application and release of the memory by the user are carried out in the divided intervals, and this new division enables the mutual conversion of different types of intervals. Various types of memory do not need to reserve a fixed amount, and are dynamically allocated according to the application during operation.

当申请某种字节数的内存时包括下述步骤:When applying for a certain number of bytes of memory, the following steps are involved:

A、检查该种字节数分片类型的页面簇中是否有空闲分片,如果有,转步骤E;如果无,继续步骤B;A. Check whether there are free fragments in the page cluster of this byte fragmentation type, if yes, go to step E; if not, continue to step B;

B、判断空闲内存区占整个内存空间的比例是否小于等于设定值,如果是,转步骤D;如果否,执行步骤C;B. Determine whether the ratio of the free memory area to the entire memory space is less than or equal to the set value, if yes, go to step D; if not, go to step C;

C、从空闲内存区中划分出一个相应类型的页面簇,转步骤E;C. Divide a page cluster of a corresponding type from the free memory area, and turn to step E;

D、从其他类型的页面簇中找出所有分片均处于空闲的页面簇,将其改变为所需类型的页面簇;继续步骤E;D. Find a page cluster in which all fragments are free from other types of page clusters, and change it to a page cluster of the required type; continue with step E;

E、从页面簇中分配分片。E. Allocate fragments from page clusters.

从空闲内存区中取待用内存是以页面簇为单位,而申请内存是以分片为单位,步骤A的作用就是每次申请时检查是否有同类型的分片在相应页面簇中尚未被申请。如果有,直接分配分片;如果无,就需要再取一个这种类型的页面簇。The unit of memory to be used from the free memory area is the page cluster, while the unit of applying for memory is the unit of fragment. The function of step A is to check whether there is a fragment of the same type that has not been used in the corresponding page cluster each time you apply. Apply. If there is, allocate the fragment directly; if not, you need to take another page cluster of this type.

取一个新的页面簇有两种途径,第一种是从空闲内存区中划分出一个相应类型的页面簇,第二种是从其他类型的页面簇中找出空闲页面簇,再将其改变为所需类型的页面簇,所谓改变页面簇的类型,就是改变页面簇中分片的类型,如可将一个包含24个512字节分片的页面簇转换成一个包含6个2048字节分片的页面簇,亦可将其转换成一个包含96个128字节分片的页面簇。为了减少页面簇类型转换可能引起的震荡,在步骤B中规定了一个条件,作为选择上述两种途径的依据,即判断空闲内存区占整个内存空间的比例是否已小于等于设定的最小值,如果是,选择第二种;如果否,选择第一种。此比例如果太高,系统进行页面簇类型转换的操作会增多,而比例太低了,则不利于处理对于某种类型分片的大量需求。根据比较,空闲内存区占整个内存空间比例的最小值可设定为大于10%小于15%的任一数值。There are two ways to get a new page cluster, the first is to divide a corresponding type of page cluster from the free memory area, the second is to find a free page cluster from other types of page clusters, and then change it For the required type of page cluster, the so-called changing the type of page cluster is to change the type of fragments in the page cluster. For example, a page cluster containing 24 512-byte fragments can be converted into a page cluster containing 6 2048-byte fragments. It can also be converted into a page cluster containing 96 128-byte fragments. In order to reduce the shock that may be caused by page cluster type conversion, a condition is stipulated in step B as the basis for choosing the above two methods, that is, to judge whether the proportion of free memory area to the entire memory space is less than or equal to the set minimum value, If yes, choose the second option; if no, choose the first option. If the ratio is too high, the system will perform more page cluster type conversion operations, and if the ratio is too low, it will not be conducive to handling a large number of certain types of shards. According to the comparison, the minimum value of the ratio of the free memory area to the entire memory space can be set to any value greater than 10% and less than 15%.

本发明引入页面簇作为划分内存空间的单位,每个页面簇中至少包含一个页面,每个页面能且只能容纳一个分片,在同一种类型的页面簇中,所有页面中的分片的字节数相同。每个页面簇中的页面数量可任意设定,实际应用中,以2至4个为宜。假设实际应用中最大的分片长度为4096字节,每个页面簇中的页面数量为3个,那末页面簇就可以是包含6个2048字节分片的类型或包含12个1024字节分片的类型等,依此类推。The present invention introduces page clusters as the unit for dividing memory space. Each page cluster contains at least one page, and each page can and can only accommodate one fragment. In the same type of page cluster, the fragments in all pages The number of bytes is the same. The number of pages in each page cluster can be set arbitrarily, and in practical applications, 2 to 4 pages are suitable. Assuming that the maximum fragment length in practical applications is 4096 bytes, and the number of pages in each page cluster is 3, then the page cluster can be of the type containing 6 fragments of 2048 bytes or 12 fragments of 1024 bytes. The type of slice, etc., and so on.

在使用中,可以链表的形式对页面簇进行管理,给每个页面簇设置一个页面簇头记录以下信息:In use, page clusters can be managed in the form of a linked list, and a page cluster header is set for each page cluster to record the following information:

(1)页面簇类型——本页面簇包含的分片类型,如32字节、64字节、128字节等;(1) Page cluster type - the fragment type contained in this page cluster, such as 32 bytes, 64 bytes, 128 bytes, etc.;

(2)页面数——本页面簇包含的页面数量;(2) Number of pages - the number of pages contained in this page cluster;

(3)空闲指针——在本页面簇空闲时,指向同一类型的下一个空闲页面簇的页面簇头。(3) Free pointer—when the current page cluster is free, it points to the page cluster head of the next free page cluster of the same type.

页面簇头中还可以携带其他用于算法控制的信息。The page cluster head can also carry other information used for algorithm control.

在本发明的实施中,也可以对相同类型的空闲分片采用链表方式管理,设置空闲分片头指针用于指向此空闲分片链的链首。链中的空闲分片分属于多个不同的页面簇,为了便于对空闲页面簇进行回收转换处理,我们需要对空闲分片的连接顺序作一定的限制,即要使位于同一个页面簇中的空闲分片被连在以上链表中相连的区段,于是可对属于同一页面簇的分片予以标识,用于在分片被释放时,将其归入所属的页面簇。再对每个页面簇设置用于指向本页面簇中第一个分片的头指针和用于指向本页面簇中最后一个分片的尾指针,用于在分片被释放时,若此分片所在的页面簇已经有空闲分片,则将该分片加入尾指针之后,然后再调整尾指针指向刚释放的分片;若分片所在页面簇中无空闲分片,则将所在页面簇的头指针和尾指针都指向此分片,再将此分片加入由头指针所指向的该种长度的空闲分片链的链首。若一个分片经过释放后,此分片所在的页面簇中所有分片都变为空闲分片,则此页面簇变为空闲页面簇。In the implementation of the present invention, the idle fragments of the same type can also be managed in the form of a linked list, and the idle fragment header pointer is set to point to the head of the idle fragment chain. The idle fragments in the chain belong to multiple different page clusters. In order to facilitate the recycling and conversion of the idle page clusters, we need to restrict the connection sequence of the idle fragments, that is, to make the pages in the same page cluster The free fragments are connected to the connected segments in the above linked list, so the fragments belonging to the same page cluster can be identified, so that when the fragments are released, they can be classified into the page clusters to which they belong. Then set the head pointer for pointing to the first fragment in this page cluster and the tail pointer for pointing to the last fragment in this page cluster for each page cluster, so that when the fragment is released, if the fragment If there is already a free fragment in the page cluster where the fragment is located, add the fragment to the tail pointer, and then adjust the tail pointer to point to the newly released fragment; Both the head pointer and the tail pointer point to this fragment, and then add this fragment to the head of the free fragment chain of the length pointed to by the head pointer. If after a fragment is released, all the fragments in the page cluster where this fragment is located become free fragments, then this page cluster becomes a free page cluster.

当从某一类型的页面簇中进行分片申请时,若空闲分片头指针不为空,则将其所指向的分片分配给该申请,并将空闲分片头指针指向下一个空闲分片;若空闲分片头指针为空,表示此类型的页面簇已经被全部使用,则先分配一个同类型的页面簇,然后再从此新的页面簇中进行分片的分配。When a fragment application is made from a certain type of page cluster, if the free fragment header pointer is not empty, the fragment it points to is allocated to the application, and the free fragment header pointer points to the next free fragment; If the free fragment header pointer is empty, it means that this type of page cluster has been fully used, then allocate a page cluster of the same type first, and then allocate fragments from this new page cluster.

系统亦可预留一部分不使用本发明方法的内存空间,用于对大于最大分片的内存申请进行分配。The system can also reserve a part of the memory space that does not use the method of the present invention for allocating memory applications larger than the largest fragment.

Claims (6)

1、一种自适应动态内存管理方法,其特征在于:对内存空间依各种分片的字节数划分不同种类型的页面簇,以页面簇为单位从占整个内存空间一定比例的空闲内存区中分配以供申请,每个页面簇中至少包含一个页面,每个页面能且只能容纳一个分片,在同一种类型的页面簇中,所有页面中的分片的字节数相同,当申请某种字节数的内存时,包括下述步骤:1. An adaptive dynamic memory management method, characterized in that: the memory space is divided into different types of page clusters according to the number of bytes of various fragments, and the page cluster is taken as a unit from the free memory that accounts for a certain proportion of the entire memory space Area allocation for application, each page cluster contains at least one page, each page can only accommodate one fragment, in the same type of page cluster, the number of bytes of fragments in all pages is the same, When applying for a certain number of bytes of memory, the following steps are included: A、检查该种字节数分片类型的页面簇中是否有空闲分片,如果有,转步骤E;如果无,继续步骤B;A. Check whether there are free fragments in the page cluster of this byte fragmentation type, if yes, go to step E; if not, continue to step B; B、判断空闲内存区占整个内存空间的比例是否小于等于设定值,如果是,转步骤D;如果否,执行步骤C;B. Determine whether the ratio of the free memory area to the entire memory space is less than or equal to the set value, if yes, go to step D; if not, go to step C; C、从空闲内存区中划分出一个相应类型的页面簇,转步骤E;C. Divide a page cluster of a corresponding type from the free memory area, and turn to step E; D、从其他类型的页面簇中找出所有分片均处于空闲的页面簇,将其改变为所需类型的页面簇;继续步骤E;D. Find a page cluster in which all fragments are free from other types of page clusters, and change it to a page cluster of the required type; continue with step E; E、从页面簇中分配分片。E. Allocate fragments from page clusters. 2、如权利要求1所述的自适应动态内存管理方法,其特征在于:所述页面簇中包含的页面数为2、3或4个。2. The adaptive dynamic memory management method according to claim 1, wherein the number of pages included in the page cluster is 2, 3 or 4. 3、如权利要求1所述的自适应动态内存管理方法,其特征在于:将所述空闲内存区占整个内存空间最小比例的设定值设为大于10%小于15%的任一数值。3. The adaptive dynamic memory management method according to claim 1, characterized in that: setting the minimum ratio of the free memory area to the entire memory space as any value greater than 10% and less than 15%. 4、如权利要求1、2或3所述的自适应动态内存管理方法,其特征在于:对属于同一页面簇的分片予以标识,用于在分片被释放时,将其归入所属的页面簇。4. The self-adaptive dynamic memory management method according to claim 1, 2 or 3, characterized in that: the fragments belonging to the same page cluster are identified, so that when the fragments are released, they are classified into the corresponding page clusters. page clusters. 5、如权利要求4所述的自适应动态内存管理方法,其特征在于:对每个页面簇设置用于指向本页面簇中第一个分片的头指针和用于指向本页面簇中最后一个分片的尾指针。5. The adaptive dynamic memory management method as claimed in claim 4, characterized in that: for each page cluster, a head pointer for pointing to the first fragment in the page cluster and a header pointer for pointing to the last slice in the page cluster are set. A shard tail pointer. 6、如权利要求5所述的自适应动态内存管理方法,其特征在于:当分片被释放时,若此分片所在的页面簇已经有空闲分片,则将该分片加入所述尾指针之后,然后再调整尾指针指向刚释放的分片;若分片所在页面簇中无空闲分片,则将所在页面簇的头指针和尾指针都指向此分片,再将此分片加入由头指针所指向的该种长度的空闲分片链的链首。6. The adaptive dynamic memory management method according to claim 5, characterized in that: when a fragment is released, if the page cluster where the fragment is located already has a free fragment, the fragment is added to the tail pointer After that, adjust the tail pointer to point to the newly released fragment; if there is no free fragment in the page cluster where the fragment is located, point both the head pointer and the tail pointer of the page cluster to this fragment, and then add this fragment to the head The head of the free shard chain of the length pointed to by the pointer.
CNB011188731A 2001-06-28 2001-06-28 Adaptive Dynamic Memory Management Method Expired - Fee Related CN1181434C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011188731A CN1181434C (en) 2001-06-28 2001-06-28 Adaptive Dynamic Memory Management Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011188731A CN1181434C (en) 2001-06-28 2001-06-28 Adaptive Dynamic Memory Management Method

Publications (2)

Publication Number Publication Date
CN1393780A CN1393780A (en) 2003-01-29
CN1181434C true CN1181434C (en) 2004-12-22

Family

ID=4663473

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011188731A Expired - Fee Related CN1181434C (en) 2001-06-28 2001-06-28 Adaptive Dynamic Memory Management Method

Country Status (1)

Country Link
CN (1) CN1181434C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303534C (en) * 2003-03-03 2007-03-07 华为技术有限公司 Memory pool managing method
CN100343826C (en) * 2003-04-29 2007-10-17 华为技术有限公司 Method for implementing memory management
CN100365593C (en) * 2003-06-16 2008-01-30 华为技术有限公司 Memory Management Method of Computer System
US7325118B2 (en) 2003-09-30 2008-01-29 Samsung Electronics, Co., Ltd. Method and apparatus for executing dynamic memory management with object-oriented program
CN1652616B (en) * 2004-02-07 2010-04-14 华为技术有限公司 An Adaptive System Management Method
CN100452761C (en) * 2004-04-27 2009-01-14 华为技术有限公司 Method for storing data packets in communication equipment
CN100359489C (en) * 2004-07-13 2008-01-02 中兴通讯股份有限公司 A Method of Memory Allocation in Embedded Real-time Operating System
CN1606092B (en) * 2004-11-11 2010-07-28 威盛电子股份有限公司 Method for cross configuration of memory space
CN101281491B (en) * 2008-05-12 2010-04-14 北京邮电大学 VxWorks-based Memory Module and Management Method of Space Robot Central Processor
CN101286177B (en) * 2008-05-30 2010-06-02 中兴通讯股份有限公司 Method and device for allocating space to files in file allocation table
CN102455974A (en) * 2010-10-21 2012-05-16 上海宝信软件股份有限公司 High-speed internal memory application and release management system with controllable internal memory consumption and high-speed internal memory application release management method
WO2016127291A1 (en) * 2015-02-09 2016-08-18 华为技术有限公司 Memory management device and method
CN111562983B (en) * 2020-04-30 2023-01-06 Oppo(重庆)智能科技有限公司 Memory optimization method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN1393780A (en) 2003-01-29

Similar Documents

Publication Publication Date Title
CN1181434C (en) Adaptive Dynamic Memory Management Method
CN115599544B (en) Memory management method, device, computer equipment and storage medium
CN104317742B (en) A Thin Provisioning Method for Optimizing Space Management
CN103902467B (en) Compressed memory access control method, device and system
CN1271524C (en) Static internal storage management method
CN1303534C (en) Memory pool managing method
CN105095099B (en) A kind of big page integration method based on the change of page bitmap
KR100528967B1 (en) Apparatus and method for controlling memory allocation for variable sized packets
CN1722106A (en) Method for internal memory allocation in the embedded real-time operation system
CN1859325A (en) News transfer method based on chained list process
CN115145493B (en) A resource allocation method based on ZNS SSD system
US8209513B2 (en) Data processing system with application-controlled allocation of file storage space
US12197727B2 (en) Dynamic storage for adaptive mapping for data compression on a storage device
CN103389945A (en) Memory management method and device
CN1287290C (en) Non-buffer memory dynamic allocation method in embedded real-time operating system
CN1430150A (en) Virtual internal storage allocating and managing method of subsystem in communication system
EP4411530A1 (en) Adaptive mapping for transparent block device level compression
CN113535597A (en) Memory management method, memory management unit and Internet of things equipment
CN1691637A (en) Method of data packet storage in communication equipment
CN115658561A (en) Power distribution terminal memory management method and device, electronic equipment and storage medium
CN119537262B (en) Cache request processing method, equipment and medium
CN113886282B (en) Packet processing system, method and apparatus for optimizing packet buffer space
JP2014048895A (en) Virtual memory management system, virtual memory management device, virtual memory initialization method, and virtual memory initialization program
US10579515B1 (en) Recycling segment pages while preserving integrity of memory addressing
CN121029377A (en) An in-memory computing device and its compressed memory page swapping method

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041222

Termination date: 20110628