User Details
- User Since
- Feb 20 2015, 10:57 AM (421 w, 6 d)
Sep 24 2021
LGTM.
Sep 23 2021
Sep 22 2021
Sep 20 2021
Thanks Sergey. That looks like a good work to improve the consistency of the profile. Have you checked whether the new algorithm can infer the missing parts based on equivalence relationship on the CFG? If it can, could you add a test for it?
Sep 10 2021
LGTM.
Sep 9 2021
Sep 7 2021
Sep 1 2021
LGTM.
LGTM.
Aug 31 2021
Aug 25 2021
LGTM.
LGTM.
Aug 23 2021
LGTM.
LGTM, thanks.
Aug 20 2021
Aug 19 2021
Thanks Hongtao. The compile time result looks great. The patch is large. Is it possible to split it into smaller ones, SampleContext related change and SecCSNameTable related change for example?
Got a testcase and put it here: https://bugs.llvm.org/show_bug.cgi?id=51540
Aug 18 2021
LGTM. Thanks.
Aug 17 2021
LGTM.
Aug 16 2021
LGTM.
Aug 12 2021
Aug 11 2021
Could you remind me the discriminator difference between debug info based AFDO and pseudo probe based AFDO? I forgot it. I am sure it is described in some patch but I havn't found it. Give me a pointer is good enough.
Aug 10 2021
This extra pass turns to be positive in performance -- I'm seeing additional 0.6% - 0.8% improvement.
Aug 5 2021
I tried the idea of using vector<Callsite> (Callsite is a struct containing function name and LineLocation) in SampleContext and changed the ProfileMap to be map<SampleContext, FunctionSamples> in the last two days. I believed the idea should work but I found the required change was much larger than I thought since ProfileMap has been used in many interfaces. I am worried that for the moment I cannot devote enough time to finish the whole change, so now I tend to use Hongtao's md5 patch and leave the further improvement to the future since the current patch has already significantly improved the build process and unblocked our experiment. We can always come back to revisit it. What is your opinion?
Thanks for the heads-up, Wei. Sounds good to stick with this patch for now, if you need more time to complete your idea which I think will get us a bigger win and be more aligned with the non-CS implementation. Will you continue working on that?
Aug 4 2021
I tried the idea
Aug 3 2021
Aug 2 2021
Jul 30 2021
Thanks for the work to reduce the CS profile size! It is something we really need.
Jul 28 2021
Jul 26 2021
LGTM.
Jul 22 2021
Good catch.
Jul 20 2021
We saw a performance regression caused by this change and filed a bug here: https://bugs.llvm.org/show_bug.cgi?id=51149
Jul 9 2021
LGTM.
Jul 2 2021
-funique-internal-linkage-names is not enabled by default. Will -fpseudo-probe-for-profiling implicitly enable -funique-internal-linkage-names?
Jun 25 2021
Thanks Hongtao, I will try it.
Jun 22 2021
Jun 21 2021
Jun 16 2021
In "6. Be consistent with non-CS dwarf line number based profile", if you can mention how the compiler treat missing line number and missing pseudo in the description as a record, that will be helpful.
Jun 3 2021
LGTM.
LGTM.
Jun 2 2021
May 27 2021
LGTM.
May 25 2021
LGTM.
LGTM.
May 18 2021
LGTM.
LGTM.
May 17 2021
If we target AutoFDO as well, would be good to mention the impact on AutoFDO too.
I haven't tested for non-CS case. In theory it should help there but with a less-than-ideal counts quality, the change may not help in practice.
May 14 2021
LGTM.
May 13 2021
Thanks for splitting the patches.
May 12 2021
Can you split the changes under ProfileData into a separate patch?
May 7 2021
May 4 2021
May 3 2021
Apr 26 2021
LGTM.
Apr 21 2021
LGTM, thanks.
Apr 19 2021
LGTM, thanks.
Apr 18 2021
LGTM.
Apr 7 2021
LGTM.
Mar 30 2021
Address Teresa's comment.
LGTM.
LGTM.