[SERVER-80876] Enable LTO in release builds Created: 07/Sep/23 Updated: 05/Feb/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Alex Neben | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Build
|
||||||||||||||||
| Backport Requested: |
v7.3
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The desired state of this is that for all binaries that we release in 7.2 we build those binaries with LTO enabled to improve performance. I think we might just want to do this but default enabling LTO in SCons but daniel.moody@mongodb.com probs has opinions on exactly how to do this. |
| Comments |
| Comment by Alex Neben [ 18/Nov/23 ] |
|
Did it help at all? Should we still turn it on to get a perf win? |
| Comment by Alex Neben [ 14/Nov/23 ] |
|
This is to make our release builds for 7.2 build with LTO this is not a backport. I think this will be a medium size ticket since this will involve a lot of changes in misc_release.yml and others. |