Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46132

configure tcmalloc parameters while compiling mongod

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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?

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            1030843709@qq.com Ye Haiyang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: