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

Provide example(s) of WiredTiger cacheSizeGB default calculation

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      On https://docs.mongodb.com/manual/reference/configuration-options/#storage.wiredTiger.engineConfig.cacheSizeGB we indicate default as the larger of either:

      50% of (RAM - 1 GB), or
      256 MB.

      It may not be immediately clear to all readers that the "-" character indicates subtraction of 1GB from total RAM. This could be more clear if we provide an example, i.e. something like "On a system with 4GB of ram, this effectively results in `(4 - 1) * .5` = 1.5GB of ram being allocated for the WiredTiger internal cache."

            Assignee:
            nick.larew@mongodb.com Nicholas Larew
            Reporter:
            stephen.cohorn Stephen Cohorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 46 weeks, 2 days ago