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

log writing should be fadvise'd

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • None
    • Logging
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: