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

Ensure that MongoDB builds with ARM LSE atomics

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.2.13, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.4, v4.2
    • Dev Platform 2021-03-08

      WiredTiger recently got an external contribution from Github user AGSaidi to use the -moutline-atomics flag for ARM in the cases where the compiler supports it.
      https://github.com/wiredtiger/wiredtiger/pull/6042

      In GCC-10, this flag is on by default. The functionality has apparently been backported to older versions of GCC however it needs to be explicitly set with the -moutline-atomics flag. On my local machine, I saw wtperf ops/sec increase by 2x on a few of the workloads that I tested.

      If you're already aware of this flag, feel free to close this. I figured I should let someone from the server org know just in case.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: