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

Make AlignedLockStats alignment respect platform specific cache lines

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Platforms 2017-07-10

      Description

      Cache line sizes vary by platform, and specific processors.

      Processor Family Cache Line Size
      x64 64
      PowerPC64 128
      s390x 256

      For PowerPC64, I am considering POWER8 instead of older processors.

      An case where we try to align to cache line size: https://github.com/mongodb/mongo/blob/master/src/mongo/db/concurrency/lock_state.cpp#L90

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: