[DOCS-11374] Calculation for WiredTiger cache is misleading Created: 28/Feb/18  Updated: 30/Oct/23  Resolved: 15/Mar/18

Status: Closed
Project: Documentation
Component/s: dochub, manual
Affects Version/s: 3.6 Core Server, 3.4.7
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Minor - P4
Reporter: Kevin Arhelger Assignee: Brian Moss
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 48 weeks ago

 Description   

https://docs.mongodb.com/manual/faq/storage/

50% of RAM minus 1 GB, or

I read this as (.5 * RAM) - 1GB.

The calculation is actually:
(RAM - 1GB) * .5

https://github.com/mongodb/mongo/blob/r3.6.2/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp#L342



 Comments   
Comment by Githook User [ 15/Mar/18 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-11374 Clarify WT cache calculation
Branch: v3.4
https://github.com/mongodb/docs/commit/aa6e513a461829f710ab542635770650c7fe0c8b

Comment by Kay Kim (Inactive) [ 14/Mar/18 ]

Done and merged

Comment by Githook User [ 14/Mar/18 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-11374 Clarify WT cache calculation
Branch: master
https://github.com/mongodb/docs/commit/bbfafff376decf7333ffeb11bfdfd8ad5dea7136

Comment by Kevin Adistambha [ 14/Mar/18 ]

kay.kim this is a very small change. Could you please review the PR when you have the chance? Thanks!

Comment by Brian Moss [ 09/Mar/18 ]

PR: https://github.com/mongodb/docs/pull/3259

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