Dump PGO profiles to a memory with GraalVM PGO (and similar PGO runtime intrinsics) #7991
Unanswered
zamazan4ik
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I understand correctly, the only option with GraalVM PGO is to dump PGO profiles to a filesystem. I am looking for an option to dump PGO profiles into a memory buffer. LLVM infrastructure has such an ability - it's documented here. If GraalVM has such an ability - would be great if it would be described somewhere in the PGO documentation (or in any other better place in your opinion). If there are other runtime PGO-related intrinsics in GraalVM - would be nice to document them as well. Like, trigger PGO dump manually from the code or something like that.
The use case for having this is simple - in some systems, a filesystem can be read-only (e.g. due to security concerns) or even not enough free space to handle the PGO profile. With the memory approach, we will be able to collect PGO profiles and then deliver and expose them via other interfaces like HTTP or MQTT.
Beta Was this translation helpful? Give feedback.
All reactions