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
Q. Provide two programming instances in which multithreading provides better performance than a single-threaded solution. Answer: (1) A Web server that services every request


Cold Backup: It is copying the three groups of files when the object is shut down. This is a straight file copy, generally from the storage disk directly to tape. You must end th

We have stressed the need for an operating system to make efficient use of the computing hardware. When is it appropriate for the operating system to forsake this principle and to

What is the sequence in which resources may be utilized? Under normal mode of operation, a process may utilize a resource in the following sequence: Request: If the requ

You have a system with two primary workloads. One performs sequential access to a set of large files, the other performs small, independent, random reads to a separate set of large

Explain Busy Waiting Semaphores Weak, Busy-wait Semaphores a) The simplest way to implement semaphores. b) Useful while critical sections last for a short time, or we com

List and discuss the various services provided by the operating system. Program execution - system capability to load a program into memory and to run it. I/O operatio

This is a group project as described in the 'AssignmentDescription.pdf' file. I am doing a sub project which is "sub project Mobile application. Android or Apple based. Turn based

What are the disadvantages of linked allocation? The drawbacks are a. Used only for sequential access of files. b. Direct access is not supported c. Memory space neede