-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
How to configure tcmalloc parameters while compilng?
Like these parameters:tcmalloc-maxsize, tcmalloc-pagesize and tcmalloc-target-transfer-kb.
there are some descriptions in mongo-r4.3.1/src/third_party/gperftools-2.7/dist/ChangeLog:
(1)commit 61c8a436f13f2f813dd0530be2f77c720d119f07commit 61c8a436f13f2f813dd0530be2f77c720d119f07
Configurable max size mongodb (#4)
Allow kMaxSize to be configurable, limit available options to power-of-2 sizes.
(2)commit e18b055b128cd2cdecf7ee07d5d4792b90405ba9commit e18b055b128cd2cdecf7ee07d5d4792b90405ba9
Allow configuring page size to 4K, 8K, 16K, 32K, 64K, 128K and 256K (#5)
(3)commit 56f9308ec0144750a8cedc3d4b0ccd31a4ef4019commit 56f9308ec0144750a8cedc3d4b0ccd31a4ef401
Add --enable-tcmalloc-target-transfer-kb and --enable-tcmalloc-unclamped-transfer-sizes (#8)
--------------------------------------------------------------------------------------------
but, while compiling mongod using python and SConstruct from source code, There are no above configuration parameters to set ?
How to configure tcmalloc parameters?