Pages into physical memory, Operating System

For reading, most operating systems use demand paging. This means that pages are only read from the disk into physical memory when they are needed. In the page table, there is a resident status bit, which says whether or not a valid page resides in physical memory. If the MMU tries to get a physical page number for a valid page which is not resident in physical memory, it issues a pagefault to the operating system. The OS then loads that page from disk, and then returns to the MMU to ?nish the translation.

In addition, many operating systems make some use of pre-fetching, which is called pre-paging when used for pages. The OS guesses which page will be needed next, and begins loading it in the background, to avoid future pagefaults. This depends heavily on locality of accesses, namely that future accesses will be near recent accesses, and this often true.

Posted Date: 3/12/2013 5:51:16 AM | Location : United States







Related Discussions:- Pages into physical memory, Assignment Help, Ask Question on Pages into physical memory, Get Answer, Expert's Help, Pages into physical memory Discussions

Write discussion on Pages into physical memory
Your posts are moderated
Related Questions
Demand paging With demand paging, a page is called into memory only when a location on that page is actually indexed during run time. With pre-paging, pages other than the one

What is meant by context switch? Switching the CPU to another process needs saving the state of the old process and loading the saved state for the latest process. This task is

List disadvantages of using a single directory. Users have no privacy. Users must be careful in choosing file names, to avoid names used by others. Users may destroy each othe

Q. Define the difference among pre-emptive and non pre-emptive scheduling. Answer: Pre-emptive scheduling permits a process to be interrupted in the midst of its execution ta

File structure Certain files must conform to a needed structure that is understood by the operating system. The operating system may consist that an executable file has a parti

Priority Scheduling leads to the risk of starvation: a process is ready, but never is given the processor. Some preemptive priority schedulers therefore reserve a fraction of the p

What is the basic approach of page replacement? If no frame is free is available, find one that is not presently being used and free it. A frame can be freed by writing its con


how does DMA increase system concurrency

Explain the Sleep (ms) Function  This call places the current thread in a suspended state for the number of milliseconds passed as the parameter (ms). After that Windows NT wil