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

Make AlignedLockStats alignment respect platform specific cache lines

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 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

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: