Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-11974

investigate influence of tcmalloc TCMALLOC_TRANSFER_NUM_OBJ setting on memory fragmentation and performance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.2
    • 3.0
    • performance
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      In MB-11961 we found that -DTCMALLOC_SMALL_BUT_SLOW is actually causing visible degradation in performance.

      But in order to try to limit aggressiveness of tcmalloc's trade of memory fragmentation for performance we can still try playing with TCMALLOC_TRANSFER_NUM_OBJ. Specifically because in 2.1 default number of items to transfer was bumped significantly for small memory chunks. Which may negatively affect memory fragmentation.

      So we should try to do at least one run wth TCMALLOC_TRANSFER_NUM_OBJ so to 40. We can also play with larger values. I.e. 512 and 4096.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thomas Thomas Anderson (Inactive)
              alkondratenko Aleksey Kondratenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty