what are the differences between Paging and Segmentation?
Paging
- physical
- heterogeneous
- statically sized
Segmentation
- logical
- homogenous
- dynamically sized
What are the advantages and disadvantages of pure segmentation?
Advantages
- flexible and efficient memory allocation
Disadvantages
- contiguously allocated segments can cause external fragmentation.
How do we overcome the disadvantages of pure segmentation
We can use paged segmentation (compaction)
What does paged segmentation do
Gives each segment a page table