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

Ensure that MongoDB builds with ARM LSE atomics

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.2.13, 4.4.5
    • None
    • None
    • Fully Compatible
    • v4.4, v4.2
    • Dev Platform 2021-03-08

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: