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 degree of multiprogramming?, What is degree of multiprogramming ? ...

What is degree of multiprogramming ? Degree of multiprogramming signifies the number of processes in memory. If the degree of Multiprogramming is steady after that the average

How many disks can be used effectively by one fast wide bus, Q. More than ...

Q. More than one disk drive is able to be attached to a SCSI bus. Especially a fast wide SCSI-II bus can be connected to at most 15 disk drives. Remember that this bus has a bandw

What are the issues in designing a network-fault tolerance, Fault tolerance...

Fault tolerance : Machine failures, Communication faults, storage device crashes, and decays of storage media must be tolerated by the system to some extent. A fault tolerant sy

Differentiate pre-emptive and non-preemptive scheduling, Differentiate pre-...

Differentiate pre-emptive and non-preemptive scheduling In a pre-emptive scheduling technique, CPU can be taken away from a process if there is a requirement while in a non-pre

DMA block diagram, I need help,i want a brief and easy explanation to under...

I need help,i want a brief and easy explanation to understand and write in exams and easy to understand topic of DMA block diagram which Is of I/O management and scheduling? can u

Can broadcast packets pass between networks, Q. Why would it be an awful id...

Q. Why would it be an awful idea for gateways to pass broadcast packets between networks? What would be the merite of doing so? Answer: All broadcasts would be spreads to all

Explain partitions and mounting, Partitions and mounting A disk can be ...

Partitions and mounting A disk can be sliced into many partitions, or a partition can span multiple disks. Every partition can be either "raw", having no file system, or "cooke

Define segmentation, Define Segmentation  The memory allocation method...

Define Segmentation  The memory allocation method subject to “external” fragmentation is Segmentation.

Explain system-wide open-file and per-process open-file, Explain system-wid...

Explain system-wide open-file and per-process open-file The system-wide open-file table have a copy of the FCB of each open file, as well as other information. The per-pr

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