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

Performance degradation due to TCMalloc scalability

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc7
    • Affects Version/s: 2.8.0-rc4
    • Component/s: Performance, Storage
    • None
    • Environment:
      Mongodb using the TCMalloc memory allocator.
    • Fully Compatible
    • ALL

      Performance degradation due to TCMalloc scalability with very large number of threads. After a few minutes of running with hundreds of threads, the large majority of CPU time is spent scavenging memory. As this often occurs in critical sections, system throughput may degrade by an order of magnitude or more. Increasing the TCMalloc thread cache to its maximum of 1 GB does not avoid this problem. Using the system allocator does, but costs performance in most other cases.

        1. MMAP-26.csv.ops.png
          202 kB
          John Page
        2. MMAP-28.csv.ops.png
          255 kB
          John Page
        3. rc4.png
          70 kB
          David Daly
        4. WorkloadSuspension.png
          48 kB
          David Daly

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            john.page@mongodb.com John Page
            Votes:
            1 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: