Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

IT2105

Instructions: Analyze the illustrations and answer the


corresponding questions for each. Use 3-5 sentences in
answering. (6 items x 5 points)

Part I: Fixed Partitioning Part II: Dynamic Partitioning

Figure 2. A sequence of memory allocation of four processes,


implementing the dynamic partitioning technique – 64MB memory.

Questions:
4. What do you think is the possible reason why
Figure 1. An illustration of fixed partitioning with an (a) equal and (b) Process 2 was pulled/swapped out (e) of the
unequal sized memory partitions – 64MB memory. memory?
5. When Process 1 finishes the execution (g) and
Questions: Process 2 is swapped back in the memory (h),
1. Which partitioning setup could possibly reduce what possible condition or phenomenon can
internal fragmentation and how? occur within the memory? Rationalize your
2. Based on the two partitioning setup above, would answer.
you recommend the implementation of the fixed 6. If you are to develop a file management system,
partitioning technique in developing automated would you suggest the implementation of the
machines? Why or why not? dynamic partitioning technique in memory
3. In your perspective, what are the possible management? Why or why not?
downside of utilizing an equally sized memory
partitions? Rationalize your answer.

Grading Rubric:
Criteria Performance Indicator Points
Content Correct ideas, concepts, and/or 3
examples were included.
Organization The presentation of idea was 2
generally organized.
TOTAL 5

Maming, Jameson M.
BSIT303
Part I: Fixed Partitioning
1. The operating system encounters an undesirable problem known as fragmentation when processes are loaded
and unloaded from memory. Additionally, the available RAM is fragmented. Using a dynamic partitioning
strategy can help reduce internal fragmentation throughout the partitioning process. as protocols manifest. Since
no fixed-size partition is being employed, there is internal fragmentation. The memory management fixed
partition system has two types of fragmentation: internal and external.

2. Yes, given that the flaw in automated machines is immediately detectable, I may recommend using fixed
partitioning in theses platting up. In addition, it is quite simple to use.

3. The disadvantage of equal size partitioning is


a) Wastage of space that will cause fragmentation both internally and outside
b) With these partitioning methods, the maximum number of processes that may be put into memory will be
lower.

Part II: Dynamic Partitioning

4. The memory-containing Process 2 is taken out of memory and then put back into memory. The explanation for
this
that CPU and I/O time are necessities for all processes. The process exits and enters a wait state when it needs
input/output time.
improve the system's performance. For this reason, process P2 is removed from the I/O operations
memory, and it is pushed there following the completion of I/O once more.

5. Process 1 is removed from memory after it has completed running, however Process 2 remains in memory.
This results in the formation of several non-continuous holes. External fragmentation occurs when a 10M process
tries to push into memory and finds no continuous space in the last generated memory.

6. Yes, since dynamic partitioning outperforms static partitioning in terms of system performance. Static
partitioning uses fixed-size blocks; the large-size partition is the maximum process size maintained in memory.
More room is lost as a result. Any size process can be maintained in memory by using dynamic partitioning, and
non-contiguous storage of the process can be achieved by utilizing paging, segmentation, and indexing
techniques in dynamic partitioning.
Recall.

Maming, Jameson M.
BSIT303

You might also like