[SERVER-60138] Improve the allocated memory for getMore commands Created: 22/Sep/21 Updated: 29/Oct/23 Resolved: 26/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Query Execution |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mohammad Dashti (Inactive) | Assignee: | Mohammad Dashti (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | QE 2021-10-04, QE 2021-10-18, QE 2021-11-01 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 120 | ||||||||||||||||
| Description |
|
We want to improve the reservation of the maximum size versus when we should reserve something smaller for the getMore command. Here's a pragmatic approach:
We can better fine-tune the above heuristics based on the performance benchmarks in PERF-2565 and PERF-2566. Another worthwhile question that's worth answering as part of this task and its related experiments is that "What happens if we do not do pre-allocation at all"? |
| Comments |
| Comment by Githook User [ 26/Oct/21 ] |
|
Author: {'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}Message: |
| Comment by Githook User [ 21/Oct/21 ] |
|
Author: {'name': 'Mohammad Dashti', 'email': 'mdashti@gmail.com', 'username': 'mdashti'}Message: |
| Comment by Mohammad Dashti (Inactive) [ 21/Oct/21 ] |
|
All reviewers accepted the PR and it's ready to be merged. bernard.gorman suggested waiting on merging this PR until |