[SERVER-85591] Optimize currentOp document source to reduce (re)allocations Created: 23/Jan/24  Updated: 06/Feb/24

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

Type: Improvement Priority: Major - P3
Reporter: Yujin Kang Park Assignee: Yujin Kang Park
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-84100 Investigate $currentOp latency spikes Closed
Assigned Teams:
Catalog and Routing
Sprint: CAR Team 2024-02-05, CAR Team 2024-02-19
Participants:

 Description   

We have observed that the latency for $currentOp can be very high when the system is under memory pressure. Off-cpu analysis showed time is spend on the memory allocator, growing the BSON object builder buffer.

We should optimise to minimise or eliminate memory reallocations.


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