Skip to content

Add LTO + PGO + Bolt optimizations #3597

Open
@zamazan4ik

Description

@zamazan4ik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions