Memory Management Flashcards
1
Q
What are the similarities of paging and segmentation?
A
- Both allow programs to run despite insufficient memory
- Both pages and segments are stored on disk
- Both pages and segments are transferred into memory when needed
2
Q
What are the differences of paging and segmentation?
A
Paging • Pages are fixed size • Pages are made to fit sections of memory • Pages are physical divisions Segmentation • Segments are different sizes • Segments are complete sections of programs • Segments are logical divisions
3
Q
What is the problem with paging and segmentation?
A
If physical memory is running low, virtual memory as to be used if more time is spent moving pages/segments in and out of the memory to the disk (Thrashing) than actually processing the instructions, the computer will be very slow.