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

Performance degradation due to TCMalloc scalability

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.8.0-rc4
    • 3.0.0-rc7
    • Performance, Storage
    • None
    • Mongodb using the TCMalloc memory allocator.
    • Fully Compatible
    • 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. 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: