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?

Nested Macro calls, . Nested Macro calls are expanded using the

. Nested Macro calls are expanded using the

Paging, what is the use of valid invalid bits in paging

what is the use of valid invalid bits in paging

Define the sleep (sec) function, Define the Sleep (sec) Function Sleep ...

Define the Sleep (sec) Function Sleep function suspends execution of this process for sec number of seconds. While this function is used in our example for consistency, other f

Write a short note about process, Write a short note about process. Unc...

Write a short note about process. Unceremoniously, a process is a program in implementation. A process is too much than the program code, which is occasionally known as the tex

Explain the booting process for a windows xp system, Q. Explain the booting...

Q. Explain the booting process for a Windows XP system? Answer: (1) Since the hardware powers on the BIOS begins executing From ROMand loads as well as executes the bootstrap

Binary arithmetic, The principle is that of ordinary addition; however reme...

The principle is that of ordinary addition; however remember the highest number is 1.   Calculate the following:                             11001 +                           11

Cosled loop, What are the two principles in Hungarian method?

What are the two principles in Hungarian method?

Nachos file system, File System Interface and Implementation The Nachos ...

File System Interface and Implementation The Nachos file system, as distributed, uses a single-level index allocation method for data allocation of files. In the current design,

Process execution priorities, Priority Scheduling leads to the risk of star...

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

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