English

State the various steps involved in the allocation of partition in case of fixed partition memory management. - Computer Science 1

Advertisements
Advertisements

Question

State the various steps involved in the allocation of partition in case of fixed partition memory management.

Solution

(1) It is the simplest method for memory allocation. It divides the memory into fixed size sections. These sections are called as partitions. Each partition may contain exactly one process. When the partition is free, a process is selected from the input queue and loaded into free partitions. When the process terminates, the partition becomes available for another process.
(2) The partitions are fixed at the time of system generation. It is the process of tailoring the operating system to specific  requirements. After declaring partitions the operating system  creates a partition description table.

(3) The Memory Map for processes is as follows:

Process: P0-(0-200K)
Process: P1-(200-700K)
Process: P2-(700-800K)
Process: P3-(800-1100K)
Process: P4-(1100-1500K)

(4) Partition Description Table:

           Fixed partition

Partition ID Partition
Starting
Address
Size Status
0 0 100K FREE
1 100 300K ALLC
2 400 200K ALLC
3 600 300K FREE
4 900 100K ALLC

5) Each process block contains process ID. If the block is allocated, it is shown allocated. Otherwise it is free and it is shown as free. 

shaalaa.com
Introduction to Operating System (OS)
  Is there an error in this question or solution?
2016-2017 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×