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

Provide an option to force journal preallocation and recycling

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: MMAPv1, Storage
    • None
    • Storage Execution

      Journal file preallocation and recycling (see preallocj in the code) is enabled based on the outcome of a short performance test run at process start. When mongod is deployed at scale this is likely to result in some servers using preallocj=true and others using preallocj=false. That non-determinism is not good for a DBA.

      I get 10% better throughput from insert benchmark workloads using fast (PCIe flash) storage after forcing preallocj to be true. See http://smalldatum.blogspot.com/2014/03/redo-logs-in-mongodb-and-innodb.html

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mdcallag Mark Callaghan
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: