Tutorial Chapter 2
Tutorial Chapter 2
External fragmentation is total memory space exists to satisfy a request, but it is not
contiguous. Internal fragmentation means allocated memory may be slightly larger the
requested memory, this size difference is memory internal to a partition, but not being used.
Fixed partitions will cause internal fragmentation when the partition is too large and
dynamic partitions will cause external fragmentation while subsequent allocation.
4. Imagine an operating system that does not perform memory de-allocation. Name at least
three unfortunate outcomes that would result and explain your answer.
Run out of memory. The computer will run out of memory because there is no extra
space to let other’s memory allocate.
Fragmentation both internal and external. When an operating system doesn’t
perform memory de-allocation, the external and internal fragmentation will always
exist until the memory de-allocation.
Tutorial 2 Page 1
The computer will get slower, and battery will drain. When computer’s memory gets
clogged up and the computer must work hard to find available memory, potentially
getting so clogged that it can’t run anything, and the computer will get slower.
5. Compare and contrast a fixed partition system and a dynamic partition system.
6. Compare and contrast a dynamic partition system and a re-locatable dynamic partition
The main memory of dynamic partition system is partitioned. Jobs given memory requested
when loaded and one contiguous partition per job. It uses “First come, First Serve”
allocation method in allocating job and its memory waste is comparatively small. For
relocatable dynamic partition system, the memory manager relocates programs of which it
gathers together all empty blocks. Compact the empty blocks and make one block of
memory large enough to accommodate some or all of the jobs waiting to get in.
Tutorial 2 Page 2
7. Given the following information.
BLOCK 1
JOB 1
690 K 900 K
BLOCK 2
JOB 2
275 K 910 K
BLOCK 3
JOB 3 300 K
760 K
Indicate which memory blocks are allocated to each of the three arriving jobs.
Tutorial 2 Page 3
Introduction to Operating Systems
_________________________________________________________________________________
_
8. Given the following information...
JOB 1 BLOCK 1
275 K
900 K
JOB 2 BLOCK 2
920 K
910 K
JOB 3
BLOCK 3
690 K
300 K
Indicate which memory blocks are allocated to each of the three arriving jobs.
Tutorial 2 Page 4