Paging
Paging
Introduction
• Paging is a memory management technique in
which the memory is divided into fixed size
pages. Paging is used for faster access to data.
When a program needs a page, it is available
in the main memory as the OS copies a certain
number of pages from your storage device to
main memory. Paging allows the physical
address space of a process to be
noncontiguous.
Paging
• Logical address space of a process can be noncontiguous;
process is allocated physical memory whenever it is available.
Avoids external fragmentation
Example:
14 bit address : size of logical ADDRESS SPACE
IN CASE OF 1 BYTE ADDRESSABLE
Example:
14 bit address : size of logical ADDRESS SPACE
IN CASE OF 1 BYTE ADDRESSABLE
4
1
3 2
4