[SERVER-86239] Investigate removing large memory deallocations off the hotpath Created: 05/Feb/24 Updated: 06/Feb/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ben Shteinfeld | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
In our investigation of the LargeIndexedIn workload, we found a large amount of CPU cycles spent in ~PlanExecutor, specifically in ~IndexScan which deleted a large vector of OrderedIntervalList. The task of this ticket is to investigate the impact of delaying such a deallocation until after the server has written the response to the client on the wire. There may be other deallocations which can be delayed. |