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

log writing should be fadvise'd

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Logging
    • Labels:
      None

      the log writing should be fadvised as "don't cache for long" as we typically don't go back and read it. if the log were gigantic, this will push db data out of the filesystem cache if the data is touched infrequently.

      the same would apply to other files that output big files we don't need – not sure what those are – mongodump? mongoexport? i guess most temp files we generate we quickly use so probably doesn't make sense there.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: