[SERVER-61195] Scale BucketCatalog memory limit based on RAM size Created: 02/Nov/21  Updated: 11/Mar/22  Resolved: 01/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.6

Type: Task Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Dan Larkin-York
Resolution: Done Votes: 0
Labels: time-series
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Related
related to SERVER-61925 add requires_replication tag to times... Closed
Backport Requested:
v5.1, v5.0
Sprint: Execution Team 2021-11-15, Execution Team 2021-11-29, Execution Team 2021-12-13
Participants:
Linked BF Score: 50

 Description   

Currently the BucketCatalog has a fixed threshold of 100MB before it will begin to evict idle buckets. While this is an appropriate limit for machines with ~4GB of RAM or less, it's less than ideal for larger instances. We want to consider increasing it to 2% or 3% of system RAM so that we can use vertical scaling to handle high-cardinality use cases.



 Comments   
Comment by Githook User [ 05/Jan/22 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-61195 Scale BucketCatalog memory limit based on RAM size
Branch: v5.0
https://github.com/mongodb/mongo/commit/1518d1a1b22aafcbb8fcecb04a657b7315e41bd4

Comment by Githook User [ 01/Dec/21 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-61195 Scale BucketCatalog memory limit based on system memory size
Branch: master
https://github.com/mongodb/mongo/commit/eb7f44a814968b3785e78fa10a268fb3e0fd6b3e

Generated at Thu Feb 08 05:51:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.