Consider using relaxed atomic RMW and CAS for stats

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • None
    • Storage Engines, Storage Engines - Foundations
    • SE Foundations - Q3+ Backlog
    • 5

      In many places where stat fields are changed/increased or subtracted we currently use RMW operations with seq-cst memory order. Consider weakening these operations to relaxed where it is possible (should be possible (almost) everywhere if we are talking about stats only). Requires TSAN testing and additional performance measurements.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: