[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: |
|
||||
| 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 |