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?

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

Vehicle tasks using semaphores, Gopher Gallery consists of a shopping mall ...

Gopher Gallery consists of a shopping mall and a cart ride that covers  the 150 acre habitat. There are m visitors and n single-person vehicles. Visitors  stroll around the mall at

Paging, ___paging fecthces a page only when needed

___paging fecthces a page only when needed

Explain linked allocation, Linked allocation With linked allocation, ev...

Linked allocation With linked allocation, every file is a linked list of disk blocks; the disk blocks might be scattered anywhere on the disk. The directory has a pointer to th

What is the basic approach of page replacement, What is the basic approach ...

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

Semaphores, Synchronization can be achieved by means other than locks and c...

Synchronization can be achieved by means other than locks and condition variables. One alternative is semaphores. A semaphore is used to regulate traf?c in a critical section. A se

Mechanism by which one segment belong to two address spaces, Q. Explain a m...

Q. Explain a mechanism by which one segment could belong to the address space of two different processes. Answer: Because segment tables are a collection of base-limit register

What circumstances is a token-passing network more effectual, Q. In what ci...

Q. In what circumstances is a token-passing network more effectual than an Ethernet network? Answer: A token ring is extremely effective under high sustained load as no colli

System structures, advantages and disadvantages of monolithic and layered a...

advantages and disadvantages of monolithic and layered approach

How memory utilization factor shall be computed, How Memory utilization fac...

How Memory utilization factor shall be computed  Memory utilization factor shall be defined as Memory in use/total memory connected

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