Questions tagged [pgo]
Profile Guided Optimization is a method of supplying the compiler with data about common flows which should be optimized.
49
questions
0
votes
0
answers
59
views
Pgbackrest point in time restore, database does not start
I use pgBackRest 2.38 for postgresql 13 database backup and restore, I got a strange issue for point-in-time recovery. Once the point-in-time-recovery is done the pgbackrest kick starts postgresql ...
0
votes
0
answers
25
views
Can the binary optimized by Autofdo and bolt be iteratively optimized?
Iterative optimization refers to sampling the optimized binary to obtain pgo_bolt_bin.perf_data, and using pgo_bolt_bin.perf_data for pgo and bolt optimization.
Let me start with what I know so far ...
1
vote
1
answer
95
views
How to automate Profile-Guided Optimization as part of build in Visual C++?
I want to incorporate PGO into the Visual C++ build steps in an automated fashion.
Specifically, I wish to be able to:
Select a build configuration (let's call it Release (PGO))
Click Build Solution ...
3
votes
0
answers
194
views
How to use GCC Profile Guided Optimization with large Makefile?
I'm trying to figure out PGO with GCC, but all the examples I can find online just feature a single .c file where the compilation is quite straightforward. Are there any resources that talk about how ...
1
vote
0
answers
227
views
.profdata file not being detected by compiler
I'm trying to enable PGO on a ps4 build on clang.
I'm able to generate the .profraw files using -fprofile-instr-generate and -fprofile-coverage-mapping. I've also merged them to the required .profdata ...
0
votes
0
answers
99
views
/USEPROFILE command isn't giving PGO logs
Trying to create an optimized executable after creating an instrumented build using /GL,/LTCG and /FASTGENPROFILE and /USEPROFILE
I'm trying to create an optimized executable after creating an ...
3
votes
0
answers
137
views
Can gcc's profile guided optimisation (PGO) be affected by emulation?
Let's imagine that we compiled some code with a cross-compiler for another CPU architecture with enabled PGO, so now we have to run it in order to generate profiling data. Since we can not run this ...
0
votes
0
answers
412
views
My my Postgres-operator Pods dont transfer to new node if one node is failed?
I have a k8s cluster with one master and 3 worker nodes. I have set up crunchy operator high availability with 2 replica sets. This is my deployment file.
apiVersion: postgres-operator.crunchydata.com/...
1
vote
1
answer
353
views
LLVM14: Profile Guided Optimization yields "Malformed Instrumentation Profile Data"
Windows 10, Ryzen 3700x, gcc 8.1.0 (Posix, SEH-enabled)
I am building clang, llvm, and compiler-rt (the PGO tools) from source. I have downloaded the clang+llvm source for 14.0.0, and built it ...
0
votes
1
answer
1k
views
How to fix k8s PGO operator network issue and crash loop-back?
I am trying to install PGO operator by following this Docs. When I run this command
kubectl apply --server-side -k kustomize/install/default
my Pod run and soon it hit to crash loop back.
What I have ...
-1
votes
1
answer
113
views
my .sh script for PGO client setup show error of invalid value?
When I run .sh script I see this error
error: error executing template "{{.data.username | base64decode }}:{{.data.password | base64decode}}": template: output:1:19: executing &...
1
vote
0
answers
148
views
Impossible constraint in ‘asm’ error with kernel FDO
I'm trying to compile the aarch64 kernel with FDO. The initial compilation process works fine, however the second phase of using the gcda files (-fprofile-use) runs into error. Any idea, what this ...
2
votes
0
answers
89
views
Are there ways to inspect PGO compiler optimizations?
We have been testing profile-guided builds for a database project and found that it was significantly improving the performance of particular parts of the systems (in our case, the aggregation).
As we ...
1
vote
1
answer
413
views
How to use GCC PGO with source code in different folder?
I've compiled PGO-instrumented build from A/src and collected the profile. Now I want to apply this profile when building from B/src. Is this possible? GCC complains about the lack of profile since ...
1
vote
1
answer
459
views
How do I start Dynamic PGO with Docker in NET6?
As some documents to enable PGO:
export DOTNET_ReadyToRun=0
export DOTNET_TieredPGO=1
export DOTNET_TC_QuickJitForLoops=1
But I didn't find how to config in dockerfile, or where should I config in ...