[SERVER-85487] Use relaxed ordering and striping in time-series tracking allocator stats Created: 19/Jan/24  Updated: 25/Jan/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Storage Execution
Participants:

 Description   

We can use relaxed ordering for TrackingAllocatorStats::bytesAllocated since this only requires atomicity. Reading the value to report memory usage may return a slightly stale value, which is fine.

Additionally, we can stripe bytesAllocated to avoid hitting the same cache lines


Generated at Thu Feb 08 06:57:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.