What is page fault?, Operating System

Assignment Help:

What is page fault?

In the computer storage technology a page fault is an exception which is raised by the memory management unit when a requested page isn't mapped in physical memory. This exception is passed on to the OS (operating system) which is able to then try to handle the exception by making the required page accessible at a location in physical memory.

For instance a page fault may take place when a program requests a page in memory and the system can't find it at the requested location. If the page is elsewhere in memory then the fault is called as a soft page fault. If the page should be retrieved from disk, the fault is called as a hard page fault.

Opposing to what its name might suggest a page fault is never a fatal error. Actually, it is a relatively normal occurrence in any OS operating system that utilizes virtual memory in order to increase the amount of memory available to programs. The term General Page Fault is habitually found printed on the screens of computers running a Microsoft Windows operating system when a serious error has take placed in the paging algorithms that handle an ordinary and generally harmless page fault. This kind of paging error takes place in the software handling the exception, and isn't directly related to the page fault itself, which take place in hardware.

Page faults by their extremely nature degrade a program's or operating system's performance and is able to cause thrashing.  Optimizing any or every program's memory usage and commonly making more physical memory available reduces the number of page faults that occur, and get better the program's or the entire system's performance.

 

 


Related Discussions:- What is page fault?

What is a relocatable program, What is a Relocatable program? The Reloc...

What is a Relocatable program? The Relocatable programs can be loaded almost anywhere in memory.

How the nested macro calls are expanded, How the Nested Macro calls are exp...

How the Nested Macro calls are expanded LIFO (Last in First out)

Can we call trap as an interrupt??, is there any difference between the tra...

is there any difference between the trap and interrupt??

Multi-level page tables, Multi-level page tables are tree-like structures t...

Multi-level page tables are tree-like structures to hold page tables. As an example, consider a two- level page table, again on a 32-bit architecture with 212 = 4 kbyte pages. Now,

What is independent process, What is independent process? A process is ...

What is independent process? A process is independent it cannot influence or be affected by the other processes implementing in the system. Any process does not share data with

What are the functions of virtual file system (vfs), What are the functions...

What are the functions of virtual file system (VFS)? a. It separates file-system-generic operations from their execution defining a clean VFS interface. It permits transparent

Define approaches that require knowledge of the system state, Define approa...

Define approaches that require knowledge of the system state?  Answer: Deadlock detection, Deadlock prevention, Deadlock Avoidance.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd