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

Do not need to use atomically ref-counted buffer for SharedBufferFragment

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Storage Execution

    Description

      The SharedBufferFragmentBuilder is designed to be a per-thread memory pool for allocating temporary buffers.

      It does so using an atomically reference counted SharedBuffer. This shows up around 2% of the time spent building an index.

      Since this builder is designed to be used in a single-threaded context, we should consider redesigning this builder to not share ownership if possible.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: