Evaluate using Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) #1247
zamazan4ik
started this conversation in
Ideas
Replies: 1 comment
-
@zamazan4ik Thanks for the suggestion. We will look into this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects. The results are available here. According to the tests, PGO can help with achieving better performance in many cases for many applications including log-oriented solutions like Vector, Rsyslog, FluentBit, etc. I think trying to optimize Hayabusa with PGO can be a good idea.
I can suggest the following action points:
Testing Post-Link Optimization (PLO) techniques (like LLVM BOLT) would be interesting too (Clang and Rustc already use BOLT as an addition to PGO) but I recommend starting from the usual PGO.
Here are some examples of how PGO optimization is integrated into other projects:
configure
scriptHere are some examples of how PGO-related documentation could look in the project:
Below are listed some LLVM BOLT results:
For the Rust projects I recommend using cargo-pgo for performing PGO and PLO optimizations.
I would be happy to answer your questions about PGO and PLO.
Beta Was this translation helpful? Give feedback.
All reactions