[FEATURE] Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT #2823
zamazan4ik
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
Hi @zamazan4ik , Thanks for the detailed issue with excellent resources for reference. Since code path execution/profiling will need some external triggers/API calls, I'll leave this unassigned for now until someone can pick up and add it to appropriate CI. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Description
Not a feature - just an idea of how to improve Hyperswitch performance (CPU usage part).
Possible Implementation
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including many network-related projects like Envoy, HAProxy, etc.) - the results are available here. I think it could interesting to try to test PGO for optimizing the CPU part of Hyperswitch.
I can suggest the following things to do:
Here are some examples of how PGO is already integrated into other projects' build scripts:
configure
scriptAfter PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.
For the Rust projects, I recommend starting with cargo-pgo.
Have you spent some time checking if this feature request has been raised before?
Have you read the Contributing Guidelines?
Are you willing to submit a PR?
No, I don't have time to work on this right now
Beta Was this translation helpful? Give feedback.
All reactions