SLIDE 123 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Differences between paging and segmentation
▶ Motivation and purpose
▶ Paging:system-oriented, discrete physically, reduce external & internal fragmentation, memory utility↑
▶ Page is the physical unit of infomation
▶ Segmentation: user-oriented, discrete logically, satisfy the user’s need
▶ Segment is the logical unit of information with relatively complete meaning
▶ Size
▶ Paging: size is fixed, depends on hardware ▶ Segmentation: size is not fixed, depends on the program and decided while compiling
▶ Dimension
▶ Paging:1-D ▶ Segmentation:2-D, segment name (number) + segment offset