log writing should be fadvise'd

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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 Stearn
            Reporter:
            Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: