[SERVER-48272] Reduce startup time for dynamically linked server binaries and shell Created: 18/May/20 Updated: 29/Oct/23 Resolved: 15/Jun/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (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: | Dev Platform 2020-06-01, Dev Platform 2020-06-15, Dev Platform 2020-06-29 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
In It is probably impossible to get to complete parity with the static build, but we can almost certainly do better. We need to figure out why the startup cost is so high, and bring it down to a level where we feel that the increased startup time is small enough that the benefits (much faster compiles) outweigh any residual test slowdown due to slower startup. |
| Comments |
| Comment by Githook User [ 09/Jun/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Githook User [ 01/Jun/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Githook User [ 27/May/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: Minimizing the list of NEEDED entries directly attached to the core |
| Comment by Githook User [ 27/May/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Githook User [ 20/May/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: Avoid a potential future collision when renaming shell.cpp to mongo.cpp |
| Comment by William Schultz (Inactive) [ 18/May/20 ] |
|
Sounds good. Thanks for making a note of it. |
| Comment by William Schultz (Inactive) [ 18/May/20 ] |
|
Just to add a note here, keeping an eye on the startup and total execution times in the replsettest_control_1_node.js test and replsettest_control_12_nodes.js would be a good metric to get a rough idea of how mongod startup times might be impacting test durations. We log how long it takes to complete the startup of nodes in the ReplSetTest here, which is a duration that should be affected by mongod startup time. |