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

Closed
zamazan4ik opened this issue Sep 25, 2023 · 2 comments
Closed

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

zamazan4ik opened this issue Sep 25, 2023 · 2 comments

Comments

@zamazan4ik
Copy link

Hi!

Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (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 NFSserve.

I can suggest the following things to do:

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

Here are some examples of how PGO is already integrated into other projects' build scripts:

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

For the Rust projects, I recommend starting with cargo-pgo.

I understand that the project is in the earliest stages of its lifecycle. So just think about the issue as a possible idea for improvements.

@ylow
Copy link
Contributor

ylow commented Oct 2, 2023

Not planned right now.

@ylow ylow closed this as completed Oct 2, 2023
@zamazan4ik
Copy link
Author

Not planned right now.

@ylow I guess you can leave the issue open. So if anyone from the community will be interested in work on this task - the issue will be already open for them.

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

No branches or pull requests

2 participants