Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3212

Description of "page fault" in mongostat and other places not totally clear

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.8
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
    • Environment:
      All

      The description of page fault as observed in mongostat and in serverStatus is not 100% clear and often leads O/S oriented people to misinterpret the meaning. The docs glossary def inition of page fault is even less appropriate for the mongoDB meaning. The description everywhere should always compare and contrast our page fault def to the more tradition def so that it is very very clear that our page faults do not necessarily imply a yellow flag for poor system performance or configuration. The def should look something like this:

      page_fault:
      Reports the total number of page faults in one second.
      Do not confuse basic operating system / physical memory page
      fault behavior with mongoDB page faults. In basic operating system
      parlance, page faults occur when physical memory is exhausted and pages of physical memory are swapped to disk. In mongoDB, page faults occur when operations (both read AND write) access parts of the memory mapped files that are not currently available in physical memory. The faults counter may increase dramatically during moments of poor performance and may correlate with limited physical memory environments and accessing much larger data sets (like scanning an entire collection). Limited and sporadic page faults do not
      necessarily indicate a problem or a need for tuning.

            Assignee:
            tim.slavin Tim Slavin
            Reporter:
            buzz.moschetti Buzz Moschetti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 40 weeks, 1 day ago