[Ideas] Evaluate using Profile-Guided Optimization (PGO) for better performance #461
Unanswered
zamazan4ik
asked this question in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi!
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including many databases like PostgreSQL, ClickHouse, Redis, MongoDB, etc.) - the results are available here. Since the performance improvement from enabling PGO is big enough, I think it's worth trying to apply PGO to CloudberryDB.
I can suggest the following things to do:
Here are some examples of how PGO is already integrated into other projects' build scripts:
configure
scriptHere are some examples of how PGO-related documentation could look in the project:
After PGO, I can suggest evaluating PLO with LLVM BOLT as an additional optimization step.
Use case/motivation
Improve the database performance overall
Related issues
N/A
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions