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

Evaluate if we can use modern standalone tcmalloc

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch

    Description

      Our current version of tcmalloc which comes from gperftools. Over time the tcmalloc standalone library which google uses in production has diverged from the version that comes with gperftools.

      See: https://google.github.io/tcmalloc/gperftools.html

      Modern versions of tcmalloc (the standalone library) have a new mode of operation, "per-CPU caching", where the library maintains memory caches local to individual logical cores on Linux >= 4.18 where restartable sequences are supported and falls back to older per-thread behavior when not supported.

      We should evaluate whether or not we could "upgrade" to the standalone tcmalloc to take advantage of per-core caches.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            tyler.brock@mongodb.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: