[SERVER-22100] memory pressure from find/getMore buffer preallocation causes concurrency suite slowness on Windows DEBUG Created: 07/Jan/16 Updated: 18/Nov/16 Resolved: 11/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.3, 3.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Adam Midvidy | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Completed: | |||||||||||||
| Sprint: | QuInt E (01/11/16), Integration F (02/01/16) | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
The additional memory pressure from find/getMore buffer preallocation, in conjunction with the overhead CRT heap debugging, causes the concurrency suite (fsm_all_replicated.js) to time out frequently. NOTE: This problem only affects DEBUG builds on Windows, so it is not a problem in production. |
| Comments |
| Comment by Githook User [ 15/Jan/16 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: (cherry picked from commit 9cce8846424654653e9449c134fadbe56a7c5df1) |
| Comment by Githook User [ 11/Jan/16 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Adam Midvidy [ 11/Jan/16 ] |
|
I'm still investigating the root cause of the slowdown but the patch I submitted for CR does fix the problem. The downside is that we run slightly different code in debug builds, which may cause issues down the line. |