[SERVER-66014] switch testing build targets to dynamic link model in evergreen Created: 27/Apr/22 Updated: 29/Oct/23 Resolved: 17/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Daniel Moody | Assignee: | Juan Gu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Sprint: | Dev Platform 2022-05-16, Dev Platform 2022-05-30, Dev Platform 2022-07-25 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 19 | ||||||||||||||||||||||||||||||||||||
| Description |
|
Due to memory pressure, we should aim to switch our testing build targets (such as compile_unittests and compile_all) to use a dynamic link model to reduce memory footprint of the build. A reoccurring issue is running out of memory during numerous concurrent links during link-model static builds for the testing build targets. This should be straight forward due to the way scons and scons cache work, but the tradeoff for reduced memory footprint will be additional compilation and cache transfers. There are other nuances such as jlink? We still would want jlink active for the static non testing build targets, so we would need some way to prevent that jlink from affecting the dynamic link testing targets. Possible a dynamic link-model should just ignore the jlink setting? |
| Comments |
| Comment by Githook User [ 12/Apr/23 ] |
|
Author: {'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}Message: |
| Comment by Githook User [ 31/Oct/22 ] |
|
Author: {'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}Message: |
| Comment by Alex Neben [ 04/Oct/22 ] |
|
+1 to daniel.moody@mongodb.com |
| Comment by Alex Neben [ 25/May/22 ] |
|
We might want to look into some half way measures like just unit test and dbtests (and others). |