- Enter the total memory size (between 100 and 2048 bytes) and click the SUBMIT button.
- Specify the number of partitions (between 5 and 15) and click the SUBMIT button.
- Observe how the physical memory is divided into the defined partitions, all having the same size. Each partition will be a contiguous block of memory.
- Enter the size of the process and click the SUBMIT button. The following steps occur when a process is submitted:
- When a process arrives for execution, its memory requirement is determined.
- Checked, if there is a partition that can accommodate the process based on its size.
- One of the available partitions is allocated to the process. If there are multiple partitions that can accommodate the process, one is selected (often the first available one).
- The allocated partition is marked as occupied in the data structures used for managing partitions. The process's details (such as process ID) is recorded in the partition.
- Continue repeating step 3 until all partitions are filled.