Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LTO + PGO + Bolt optimizations #3597

Open
zamazan4ik opened this issue Dec 29, 2022 · 0 comments
Open

Add LTO + PGO + Bolt optimizations #3597

zamazan4ik opened this issue Dec 29, 2022 · 0 comments

Comments

@zamazan4ik
Copy link

Is your feature request related to a problem? Please describe.
Not actually a problem - just an improvement request.

Describe the solution you'd like
Add support for building comdb2 with enabled LTO + PGO + BOLT. It allows getting more performance from the application. E.g. ScyllaDB in some tests up to 20% performance win from the optimizations above.

Describe alternatives you've considered
Left all things as is :)

Additional context
Such changes could influence significantly on the CI pipelines. Since LTO requires much more RAM during the build (especially "fat" LTO) and triggers more UB shootings. PGO and BOLT require multi-stage builds, so it increases the release build time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant