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

Performance degradation due to TCMalloc scalability

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc4
    • Fix Version/s: 3.0.0-rc7
    • Component/s: Performance, Storage
    • Labels:
      None
    • Environment:
      Mongodb using the TCMalloc memory allocator.
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                30 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: