Make AlignedLockStats alignment respect platform specific cache lines

XMLWordPrintableJSON

    • Fully Compatible
    • Platforms 2017-07-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Andrew Morrow (Inactive)
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: