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 #122

Open
zamazan4ik opened this issue Sep 25, 2023 · 1 comment
Open

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

zamazan4ik opened this issue Sep 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@zamazan4ik
Copy link

Hi!

Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including many databases like PostrgreSQL, MongoDB, Redis, and many others) - the results are available here, all databases results are located here. So that's why I think it's worth trying to apply PGO to Proton as well.

I can suggest the following things to do:

  • Evaluate PGO's applicability and benchmark results to Proton.
  • If PGO helps to achieve better performance - add a note to Proton's documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for Proton.
  • Provide PGO integration into the build scripts. It can help users and maintainers easily apply PGO for their own workloads.

Here are some PGO integration examples in the existing build scripts in other projects:

Some PGO documentation examples:

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

@yokofly yokofly added the enhancement New feature or request label Sep 25, 2023
@chenziliang
Copy link
Collaborator

This looks v interesting. Look like worth giving it a try

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

No branches or pull requests

3 participants