Windows 8 and 8.1 Forums

How Do I Minimize The Amount Of Page Faults For Programs?

  1. #1

    Posts : 224
    Windows 8.1 Professional (64-Bit)

    How Do I Minimize The Amount Of Page Faults For Programs?

    I have read up on Page Faults a bit, and can conclude that, in general, the more Page Faults exist for a program, the lower its (and possibly the computer's) Performance will become... until you restart the computer.

    Sometimes I have the computer just on for a few days at times, it could go to sleep, yet when it comes back, the Page Faults (which you can view in the Task Manager -> Details tab) continues where it left off.

    So for example, "explorer.exe"'s is about to reach 10 million (as you can see in the picture), and you could notice a little bit of a lack of Performance in File Explorer..... of course until I restart the computer, then that number, like all the other programs, resets back to 0, and increases slowly over time.

    What is possible to be able to slow down the Page Faults from increasing, not only for explorer.exe, but for all other essential Operating System programs?

    (I am aware that if I have a 3rd party program open, for example, I can shut that program down, and open it up once again, and that number resets back from 0.)

    Thanks bunch!
    Attached Thumbnails Attached Thumbnails Page Faults.png  

      My System SpecsSystem Spec

  2. #2

    A page fault (sometimes called #PF or PF) is a type of interrupt, called trap, raised by the hardware when a running program accesses a memory page that is mapped into the virtual address space, but not loaded in physical memory.
    So to reduce page faults, install more memory. It won't eliminate faults but will reduce them.
      My System SpecsSystem Spec

  3. #3

    Posts : 224
    Windows 8.1 Professional (64-Bit)

    Thanks for the reply.

    According to the properties of the computer, I have 8.00 GB installed. That's a lot of RAM already, and it functions fast enough to where I don't want to add more RAM to it. Do you have any other suggestions/work-arounds to help with this?
      My System SpecsSystem Spec

  4. #4

    I have read up on Page Faults a bit, and can conclude that, in general, the more Page Faults exist for a program, the lower its (and possibly the computer's) Performance will become... until you restart the computer.

    That is just a running count of the number of Page Faults a process has incurred since it started. That specific number has no influence on how process will perform now or in the future. Resetting the number will do nothing more than resetting the odometer in a car.

    A large number of page faults occurring in a specific time period may slow a process. A high total may indicate that has happened. But in the real world things are rarely that simple. Many processes will incur a large number during startup and very few after that. The count also makes no distinction between hard and soft page faults. Hard page faults require disk access to resolve and can be expensive in terms of performance. Soft page faults occur entirely in memory and have relatively little influence on performance. Typically the latter will outnumber the former by a wide margin, particularly when the numbers are high.

    There is nothing simple about page faults, in either theory or practice. And it doesn't help that many Internet articles get it seriously wrong.

    In a general sense the only thing you can do to reduce page faults is add memory. With a 32 bit OS you are limited to 4 GB. There are exceptions but determining that is not simple.

    There are many things that can cause performance issues, page faults being only one.

    As the screenshot gives no indication of how long the system has been up or what it has been doing the page fault counts have no real meaning.
      My System SpecsSystem Spec

  5. #5

    Excellent post, great info, thanks.
      My System SpecsSystem Spec

  6. #6

    Posts : 224
    Windows 8.1 Professional (64-Bit)

    ... Okay. I don't want the computer to slow down over a period of days. I want it to perform just as fast as it did once it started up. I close off all the 3rd party applications (and make sure there are no 3rd party running tasks in Task Manager.. except for the ones I have that start up with the computer) and make it look like it just started up. Yet there's a bit of lag in comparison to when it started up. What's the reason of that lag?
      My System SpecsSystem Spec

  7. #7

    Windows Update, anti-virus update or scan, search indexer ... hard to say. How noticeable is the lag?

    How about filling out your System Specs: See here: How to See Your System Specs with "System Info"

    Also Please Run the PCPitstop Full Tests, here: PCPitstop Full Tests

    You must use Internet Explorer as it needs to install an ActiveX program.

    Note: Vista/Windows 7 users with UAC must first Right-click IE - Select "Run as Administrator"

    If you haven't already registered, Click - Sign up now! (left hand column in User Login)

    Register and create a password
    Accept the ActiveX component to allow your machine to run the Full Tests
    Registering and accepting the ActiveX are both SAFE and FREE.

    The Full Tests take less than 5 minutes for most machines.

    To start, click on the Green Scan system now! button.

    Once you have your Results, please post the URL (the http:// stuff) back here into this thread for review.

    Note: Vista/Windows 7 users, please close your instance of IE "Running as Administrator" after you are finished reviewing your Results.

    Caution: During the testing of Video Adapter, a variety of patterns, shapes, colors and text are “flashed” onto the users monitor screen. In the many thousands of daily uses of the PCPitstop Full Tests over several years, two individuals who suffer epilepsy experienced discomfort and temporary dizziness when viewing the flashing patterns.

    If you know that you are susceptible to photo driven seizure, please look away from your screen during the Video Adapter testing sequence.

    Note: The PCPitstop Full Tests Results is a free service, but is supported by various paid product advertisements for utilities that "could" remedy the OP's problem.

    Since this site is a "free-help" forum, we do not recommend or endorse purchase of automated utilities, and will assist you in manually correcting any problems and settings necessary to optimize your machine's performance. Ask your questions here. We'll help you walk through any necessary steps.
      My System SpecsSystem Spec

  8. #8

    Posts : 224
    Windows 8.1 Professional (64-Bit)

    Thanks for that reply, I appreciate that. I don't really want to install/uninstall programs n such. I'm pretty expert at computer hardware/software except for this issue that I've always pondered about through-out time. I am aware of what's installed and what's not installed on this computer. There is no malware on this computer, and there's a minimum of 3rd party [software/services/tasks from the task scheduler/etc...] that load up with the computer.
    I remember back then, this issue existed in Windows XP, yet at a much more intense rate. Suppose you kept XP on for 4-5 days, you would definitely be able to notice the lag.
    This lag isn't so bad at all; I'm just doing a certain project that will last a few weeks on the computer, and I prefer not to restart/shut down the computer because of the slight hassle of re-opening the programs and such. Yet after noticing this, I remembered that I've always had this question, and I remember I reached the conclusion that it had something to do with Page Faults. I remember back in XP that I did something that actually helped out so well (not install extra hardware), yet I cannot remember what it was... maybe something that unloaded the Operating System files and kept my 3rd party programs open, then reloaded the Operating System, and it functioned so much quicker.

    You remember all that?
      My System SpecsSystem Spec

  9. #9

    Windows 8 is not XP though. Many similarities but some significant differences, especially in memory management.

    If you want to pursue this please fill out your specs and run the PCPitStop test, that will give us a place to start.
      My System SpecsSystem Spec

  10. #10

    Posts : 224
    Windows 8.1 Professional (64-Bit)

    I filled out my system specifications.

    I notice that when File Explorer (or Windows Explorer) starts lagging, I could End the "explorer.exe" Task, and re-run it, and the lag is almost all completely gone. This is practically the main reason to why I think it has to do with Page Faults. Why does the lag go away when I re-launch explorer.exe? What's the exact reason why it runs quicker once I restart a new instance of it?
      My System SpecsSystem Spec

Page 1 of 3 123 LastLast
How Do I Minimize The Amount Of Page Faults For Programs?

Similar Threads
Thread Forum
Computer hangs with high Hard Faults/sec
My Win 8.1 system has been running quite poorly as of late. It will be running beautifully, and then suddenly bogs down. Programs will stop responding, usually recover, but not always. FPS in games drops, from near 100 in SW:TOR to 0-10 fps. I've also seen Chrome's pages turning white if i'm not on...
Performance & Maintenance
Is this a normal amount of partitions?
So my computer likes to crash normally or stop playing any sounds, so I wanted to back it up and then factory reset it and see if it fixes both problems. I downloaded macrium and saw a lot of partitions and I'm wondering if it seems weird and which ones, if not all, I should choose to back up. ...
General Support
When sfc /scannow says it can fix all faults..
I am getting the below error when running sfc /scannow. I have not been messing with the Windows folder other than changing ownership, so I set the ownership back to "TrustedInstaller". But still not getting a clear run with fixing the faults. I checked the log bug it's very long and going...
Performance & Maintenance
rediculous amount of errors
I installed windows 8.1 just over a month ago and ever since then i have been getting this weird stuttering problem. I notice it in games the most, but it does happen at the desktop. I have been trying to figure it out for awhile now. I have updated my drivers, updated windows, and tried some...
BSOD Crashes and Debugging
Full amount of ram not available
Hello, Haven't needed help from you guys in a while. I'm even using windows 8 now. Your advice was so good the last time.. I'm back. Ok so I have a brand new kingston 4gb ram chip installed on my ecs p-45-t black series board. It replaced a 1gb chip. My other chips all say 1.8v this new one...
Performance & Maintenance
How SSD power faults scramble your data
Interesting work in this article about how SSDs behave under power failure. It's not good news, although as they point out it's much more likely to affect desktops more than laptops (with their built-in batteries). The ZDNet article is here: How SSD power faults scramble your data | ZDNet
Chillout Room
Possible Virus? Action Centre reporting unknown faults
-My new Packard Bell laptop with Windows 8 came with a ready-installed copy of Norton Internet Security which seems to have worked well for now: It shows I have protection on (both on the program, and on the Google Chrome plug-in). However while installing software (from discs) my computer prompted...
System Security

Eight Forums Android App Eight Forums IOS App Follow us on Facebook