| 1. |
What do you understand about demand paging in Operating Systems? |
|
Answer» Demand paging in Operating Systems is a technique for loading pages (In a virtual memory operating system, a page is the smallest unit of data for memory management. A page frame is the smallest fixed-length contiguous unit of physical memory into which the operating system maps memory pages) into memory only when they are needed. Virtual Memory is a storage allocation system that allows secondary memory to be addressed as if it were the main memory. The addresses used by a program to refer to memory are distinct from the addresses used by the memory system to designate physical storage sites, and program generated addresses are automatically translated to machine addresses. The capacity of virtual storage is limited by the computer system's addressing METHOD, and the amount of secondary memory available is determined by the number of main storage sites available rather than the actual number of main storage locations. A page is only brought into memory in this case when a position on the page is addressed during execution. In general, the steps for bringing a page into the main memory or demand paging are as FOLLOWS:
|
|