-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Server Security
-
Fully Compatible
-
Security 2024-04-01, Security 2024-04-15
-
43
TCMalloc cache size is 1.5 MB. We should experiment with a larger size for the per cpu caches. This logic needs to set the cache size at CpuCache::Activate() time. The behavior will be controlled by a environment variable
MONGO_TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES
We should use similar logic to the gperftools tcmalloc.
This behavior cannot be controlled by server parameter since the cpu cache size is determined as part of a C++ static initializer.
- related to
-
SERVER-89226 Make tcmalloc cpu cache size consistent
- Closed