[DOCS-11776] Provide example(s) of WiredTiger cacheSizeGB default calculation Created: 07/Jun/18  Updated: 02/Jul/18  Resolved: 25/Jun/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Stephen Cohorn Assignee: Nicholas Larew
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 35 weeks, 1 day ago

 Description   

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."



 Comments   
Comment by Githook User [ 12/Jun/18 ]

Author:

{'username': 'nlarew', 'name': 'Nick Larew', 'email': 'nick.larew@10gen.com'}

Message: (DOCS-11776): add examples of WT cacheSizeGB default calculation
Branch: master
https://github.com/mongodb/docs/commit/f2f967a9504d5c45ef7f7f264b4cd028705c9044

Generated at Thu Feb 08 08:03:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.