Merging profiles is quite expensive, but easily paralleizable.
8359 profiles on n2d-standard-128:
single-thread: 808s
multi-thread: 200s (~75% speed up)
Paths
| Differential D149014
[BOLT] Parallelize legacy profile merging ClosedPublic Authored by kongyi on Apr 23 2023, 2:20 AM.
Details Summary Merging profiles is quite expensive, but easily paralleizable. 8359 profiles on n2d-standard-128:
Diff Detail Event Timeline
This revision is now accepted and ready to land.Apr 26 2023, 11:32 AM Closed by commit rG35af20d9e036: [BOLT] Parallelize legacy profile merging (authored by kongyi). · Explain WhyApr 26 2023, 11:37 PM This revision was automatically updated to reflect the committed changes. kongyi marked an inline comment as done. Comment Actions It might be that this commit introduced a sporadic test failure. My last revisions that ran the bolt tests seemed to sporadically trigger this issue, see: https://lab.llvm.org/buildbot/#/builders/241/builds/4711 kongyi added a reverting change: rG78d8d0164909: Revert "[BOLT] Parallelize legacy profile merging".Apr 28 2023, 5:25 AM
Revision Contents
Diff 516133 bolt/tools/merge-fdata/merge-fdata.cpp
|
Don't we need a lock here?