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

Reduce instruction count in decoration creation path

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible
    • Programmability 2024-07-22, Programmability 2024-08-05
    • 200

      In SERVER-91116, we allowed decorations to have extended alignment requirement, by making the allocation of the underlying decoration buffer alignment aware. This caused a small regression in our benchmark of hot-path instructions. SERVER-91892 resolves nearly all of that regression, but there is still a potential small regression of 16 instructions in the 32-thread benchmark and ~30 in the 1-thread benchmark, which is still about a 0.1% regression from the baseline.
      This ticket tracks investigating that remaining regression, if we want to, and seeing if there are any additional savings to be had by optimizing this code path.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: