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

Reduce need for StringBuilder allocations in WiredTiger configuration strings

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-02-05

      We have two places we build up strings for WiredTiger config based on checks in MongoDB:

      These have an outsized impact on workloads, accounting for example 8% of all allocations in mixed_genny_workloads_rate_limited.

      It seems possible here to either have a pre-allocated buffer, or even something really dumb like a separate static string for each configuration enumeration if the underlying WiredTiger code doesn't need to modify the string.

      This seems like a low amount of effort to potentially positively affect the performance of high-value workloads.

      Reach out for details on how to see the heap analysis information.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: