Location:
Search - buddy memory
Search list
Description: 伙伴系统虚拟分配和回收内存方法,buddy算法-A method about partner systems distribute and recycle memory visually
Platform: |
Size: 1910 |
Author: 河南 |
Hits:
Description: Buddy(伙伴)算法每次分配包含一个或者多个物理页面的内存块,页面以2的次幂的内存块来分配。首先搜寻满足请求大小的页面,它从满足当前申请大小的Buddy数据结构的m_ freePages域着手沿链来搜索空闲页面。如果没有这样请求大小的空闲页面,则它搜索两倍于请求大小的内存块。这个过程一直将持续到所有的Buddy 被搜索完或找到满足要求的内存块为。如果找到的页面块大于请求的块则对其进行分割以使其大小与请求块匹配。由于块大小都是2的次幂所以分割过程十分简单:空闲块(低地址)被连进相应大小的队列而这个页面块被分配给调用者。 释放时,先检查该块的伙伴的使用情况,如果没有被使用,则合并这对Buddy,再检查该两倍大小的块的Buddy,一直持续到合并后的块没有Buddy为止,并将之链到该大小的freepage队列中。-Buddy (partners) each allocation algorithm contains a number of physical pages or blocks of memory, two pages to the Powers of the block of memory to allocate. First of all search requests to meet the size of pages, from the application to meet the current size of the data structure Buddy 8 freePages domain proceed along the chain to search leisure pages. If no such request size spare pages, which then search request twice the size of a memory block. This process has to continue until all the Buddy Search End or were found to meet the requirements for the memory block. If found in the pages block greater than the requested block is divided in its size and make it the request block matching. As pieces are the two Powers So segmentation process is very simple : free block (low-address) was e
Platform: |
Size: 4311 |
Author: npu |
Hits:
Description: Linux物理内存分配方法:伙伴系统算法原码-Linux physical memory allocation method : Partnership original algorithm system code
Platform: |
Size: 6753 |
Author: yuweiE |
Hits:
Description: 伙伴系统虚拟分配和回收内存方法,buddy算法-A method about partner systems distribute and recycle memory visually
Platform: |
Size: 2048 |
Author: 河南 |
Hits:
Description: Buddy(伙伴)算法每次分配包含一个或者多个物理页面的内存块,页面以2的次幂的内存块来分配。首先搜寻满足请求大小的页面,它从满足当前申请大小的Buddy数据结构的m_ freePages域着手沿链来搜索空闲页面。如果没有这样请求大小的空闲页面,则它搜索两倍于请求大小的内存块。这个过程一直将持续到所有的Buddy 被搜索完或找到满足要求的内存块为。如果找到的页面块大于请求的块则对其进行分割以使其大小与请求块匹配。由于块大小都是2的次幂所以分割过程十分简单:空闲块(低地址)被连进相应大小的队列而这个页面块被分配给调用者。 释放时,先检查该块的伙伴的使用情况,如果没有被使用,则合并这对Buddy,再检查该两倍大小的块的Buddy,一直持续到合并后的块没有Buddy为止,并将之链到该大小的freepage队列中。-Buddy (partners) each allocation algorithm contains a number of physical pages or blocks of memory, two pages to the Powers of the block of memory to allocate. First of all search requests to meet the size of pages, from the application to meet the current size of the data structure Buddy 8 freePages domain proceed along the chain to search leisure pages. If no such request size spare pages, which then search request twice the size of a memory block. This process has to continue until all the Buddy Search End or were found to meet the requirements for the memory block. If found in the pages block greater than the requested block is divided in its size and make it the request block matching. As pieces are the two Powers So segmentation process is very simple : free block (low-address) was e
Platform: |
Size: 4096 |
Author: npu |
Hits:
Description: 自己写的一个演示伙伴算法内存分配的程序,不过性能不是很好,有兴趣的朋友可以加以改进-himself wrote a demonstration of the partnership algorithm memory allocation procedures, but performance was not very good. Interested friends can be improved
Platform: |
Size: 419840 |
Author: |
Hits:
Description: Linux物理内存分配方法:伙伴系统算法原码-Linux physical memory allocation method : Partnership original algorithm system code
Platform: |
Size: 6144 |
Author: yuweiE |
Hits:
Description: Buddy(伙伴算法)最让人为之激动的在于它释放回收页面过程中将小内存合并成大内存进而减少碎片的功能,
下面让我们来看看释放页面的函数__free_pages_ok()的具体实现.-Buddy (partner algorithm) was the most exciting is that it will release the process of recovery page at National Cheng Kung University small memory combined to reduce the debris of memory function, following the release of Let s look at the function page __free_pages_ok () concrete realization.
Platform: |
Size: 2048 |
Author: feng |
Hits:
Description: 内存是计算机系统中储存指令代码和各种数据的主要部件,如果内存短缺或者管理不当,将导致整个系统反应迟缓,甚至崩溃。所以,建立稳定、高效的内存管理策略是一个很重要的且必须面对的问题。现代的操作系统中运用位图、链表等多种手段和算法来管理内存。伙伴算法(Buddy System)是一种经典的内存管理算法。在Unix和Linux操作系统中都有用到。其作用是减少存储空间中的空洞,减少碎片,增加利用率。
本程序模拟了内存管理的过程-Memory is stored in a computer system code and instructions of the main components of data, if the memory shortage or mismanagement will lead to the whole system slow to respond, or even collapse. Therefore, to establish a stable and efficient memory management strategy is a very important and must face. Modern operating systems use digital maps, list and algorithm means to manage memory. Partners algorithm (Buddy System) is a classic algorithm for memory management. In Unix and Linux operating systems are used. Its role is to reduce the storage space in the hollow, to reduce the debris, increasing the utilization rate. This procedure simulated the process of memory management
Platform: |
Size: 2048 |
Author: echo |
Hits:
Description: 一个内存管理的伙伴算法,实现内存块申请时的分配和释放后的回收。-Memory management algorithm for a partner to achieve an application memory block allocation and post-release recovery.
Platform: |
Size: 2048 |
Author: chenchen |
Hits:
Description: fast buddy memory pool
Platform: |
Size: 1024 |
Author: dongju |
Hits:
Description: 伙伴系统(buddy system)算法实现。两个文件
buddysystem.c,buddysystem.h,主要实现了两个主功能函数1.Buddy System 内存块分配算法,函数AllocBuddySpace;2.Buddy System 空闲块回收算法,函数FreeBuddy。-Buddy system (buddy system) algorithm. Two files buddysystem.c, buddysystem.h, mainly to achieve two main functions function 1.Buddy System memory block allocation algorithm, function AllocBuddySpace 2.Buddy System free block recovery algorithms, function FreeBuddy.
Platform: |
Size: 2048 |
Author: peterwong |
Hits:
Description: 阐述linux 2.6内核的内存管理,包含页面映射,伙伴系统-linux kernel memory management, page mapping and buddy system,etc
Platform: |
Size: 97280 |
Author: xuming |
Hits:
Description: linux内存分配的经典算法buddy_system的基本算法-linux memory allocation of the basic algorithm of the classical algorithm buddy_system
Platform: |
Size: 2048 |
Author: |
Hits:
Description: 实现一个内存分配模拟系统,分配的原则参见“伙伴系统”。
要点:使用链表保存各块内存信息,同一个链表中保存的各块大小相同。
链表中的每个结点形式如下:
从键盘输入欲分配的块的大小,系统给出分配结果,并在屏幕上显示出来(图示方式或文本方式)。
-A memory allocation simulation system, the principle of allocation see the " buddy system" . Points: the use of linked lists to save each block of memory, the same block size saved with a linked list. Each node in the list, in the following form: For the size of the allocated block input from the keyboard, the system gives the distribution results, and displayed on the screen (icon or text).
Platform: |
Size: 29696 |
Author: luokun |
Hits:
Description: 伙伴系统内存管理方法模拟演示代码,用于操作系统学习和教学。-Partner System memory management demo code for teaching and learning.
Platform: |
Size: 223232 |
Author: zhengdp |
Hits:
Description: 伙伴存储管理系统,附有实验报告,实现内存的分配和回收-Partner storage management system, with a test report, to implement memory allocation and recovery
Platform: |
Size: 96256 |
Author: lxf |
Hits:
Description: 详细说明:Linux物理内存分配方法:伙伴系统算法原码-Linux physical memory allocation method : Partnership original algorithm system code-buddy buddy system linux Buddy buddy memory allocator source buddy memory allocator code
Platform: |
Size: 4096 |
Author: 刘华生 |
Hits:
Description: 伙伴系统虚拟分配和回收内存方法,buddy算法,不错代码-Partner system virtual distribution and recovery of memory method, buddy algorithm, a good code
Platform: |
Size: 2048 |
Author: qhilip |
Hits:
Description: 通过C语言实现了操作系统内存管理中的伙伴算法(Buddy)(The partner algorithm (Buddy) in memory management of operation system is realized through C language)
Platform: |
Size: 2048 |
Author: x-jyf |
Hits: