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
          MMAP-26.csv.ops.png
          202 kB
        2. MMAP-28.csv.ops.png
          MMAP-28.csv.ops.png
          255 kB
        3. rc4.png
          rc4.png
          70 kB
        4. WorkloadSuspension.png
          WorkloadSuspension.png
          48 kB

            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: