Evaluate using Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) #757
zamazan4ik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects - all the results are available here. I think such optimization can be useful for the project too since it cares about performance.
I suggest evaluating PGO applicability to the mail server in some typical work scenarios. If it helps to achieve better performance - add a note to the documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for the application. Also, PGO integration into the build scripts can help users and maintainers easily apply PGO to their workloads. Even prebuilt binaries can be pre-optimized with PGO on a generic enough sample workload (e.g.
rustc
already does it).After PGO, I can suggest evaluating LLVM BOLT as an additional optimization step - it can help to optimize the application even after applying PGO.
For the Rust projects, I recommend starting with cargo-pgo - it makes PGO optimization easier in many cases.
I would be happy to answer all your questions about PGO!
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions