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

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

Open
zamazan4ik opened this issue Sep 30, 2023 · 0 comments
Open

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

zamazan4ik opened this issue Sep 30, 2023 · 0 comments

Comments

@zamazan4ik
Copy link

Hi!

Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including many databases like PostgreSQL, SQLite, ClickHouse, and others) - the results are available here. I think it could interesting to try to test PGO for optimizing InfluxDB.

I can suggest the following things to do:

  • Evaluate PGO's applicability to InfluxDB.
  • If PGO helps to achieve better performance - add a note to InfluxDB's documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for InfluxDB.
  • Provide PGO integration into the build scripts. It can help users and maintainers easily apply PGO for their own workloads.
  • Optimize prebuilt binaries with PGO (if it's possible to prepare a generic enough test workload)

Here are some examples of how PGO is already integrated into other projects' build scripts:

After PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.

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

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