the unaligned variables in counter.h contribute to high use contention

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Platforms 2017-07-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In counters.h, the variables with types AtomicUInt32 and AtomicInt64 need to be cache line aligned. as the comment says, "there will be a lot of cache line contention on these." false sharing with these counters creates significant contention when loads are high.

              Assignee:
              Andrew Morrow (Inactive)
              Reporter:
              Jim Van Fleet
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: