Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5799

Report only "hard" page faults on Windows

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Diagnostics
    • Labels:
    • Environment:
      Windows
    • Backwards Compatibility:
      Fully Compatible

      Description

      On Windows, we are calling the Windows API GetProcessMemoryInfo() and returning the PageFaultCount as serverStatus.extra_info.page_faults. This value is the sum of "soft" and "hard" page faults, which makes the value not directly comparable with Linux and other OSs. We should instead report only "hard" page faults: page faults that cause a read from the page file or other file (such as a MongoDB database file).

        Attachments

          Activity

            People

            • Votes:
              7 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: