Skip to content

Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT #1

Description

@zamazan4ik

Hi!

There are a lot of examples of different software, where PGO helps a lot with performance - you can check it here. E.g. in this list are a lot of databases like Redis and DragonflyDB.

We need to check the PGO effects on CachewDB, and if it works well - write a note in the CachewDB documentation about PGO. I'd appreciate your providing an easy way to build CachewDB with PGO. And experienced users will be able to do it on their own for their own usage scenarios. Another option is to optimize CachewDB build with a generic-enough profile. Providing PGO-optimized binaries could be a trickier task (since it requires preparing a good-enough profile) but as an option would be great to see too.

As an additional optimization, I suggest looking at LLVM BOLT. But from my experience, starting with PGO and then using BOLT would be better.

For the Rust projects, I recommend starting with cargo-pgo.

I understand that the project is still in the early development stages. So I think the issue is just an improvement idea for future developments.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions