Paging allows programs memory to be non-contiguous by dividing a process's logical memory into pages and mapping them to frames in physical memory. The page table stores the frame number for each page. During memory access, the CPU uses the page, frame, and offset to locate data. Segmentation is another approach that variably divides logical memory into segments of unequal size, each mapped to a segment in physical memory using a segment table. Both techniques allow more efficient use of memory but introduce overhead for memory mapping.
Related topics: