固定式分区分配

固定式分区分配

Fixed (or static) Partitioning in Operating System - GeeksforGeeks

1.实现原理
固定式分区是在处理作业之前存储器就已经被划分成若干个分区,每个分区的大小可以相同,也可以不同。但是,一旦划分好分区后,主存储器中的分区的个数就固定了,且每个分区的大小固定不变。
2.硬件支持
3.软件算法
这种分区方式一般将内存的用户区分成大小不等的分区,以适应不同大小作业的需要。系统中有一张分区说明表,每个表目记录一个分区的大小、起始地址和分区的状态,当系统为某个作业分配主存空间时,根据所需要的内存容量,在分区表中找到一个足够大的空闲分区分配给它,然后将此作业装入内存。如果找不到足够大的空闲分区,则这个作业暂时无法分配内存空间,系统将调度另一个作业。当一个作业运行结束时,系统将回收该作业所占据的分区并将该分区改为空闲。

 

Fixed (or static) Partitioning in Operating System

 

Fixed partitioning, also known as static partitioning, is one of the earliest memory management techniques used in operating systems. In this method, the main memory is divided into a fixed number of partitions at system startup, and each partition is allocated to a process. These partitions remain unchanged throughout system operation, ensuring a simple, predictable memory allocation process. Despite its simplicity, fixed partitioning has several limitations, such as internal fragmentation and inflexible handling of varying process sizes. This article delves into the advantages, disadvantages, and applications of fixed partitioning in modern operating systems.

 

posted @ 2026-11-17 10:18  papering  阅读(6)  评论(0)    收藏  举报