AutoFDO / PGO for Fusion Compiler & signoff runtime — comparison + white paper - #10
Draft
sethupathib wants to merge 1 commit into
Draft
AutoFDO / PGO for Fusion Compiler & signoff runtime — comparison + white paper#10sethupathib wants to merge 1 commit into
sethupathib wants to merge 1 commit into
Conversation
Reproducible harness for user-space GCC PGO on a PD-shaped proxy, mechanism microbench, farm kernel AutoFDO cookbook (~10% literature), white paper, DEFEND_QA, and honest CLAIM_GATE measurements. Co-authored-by: Sethupathi Balakrishnan <b.sethupathi@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
autofdo-fc-runtime/: a numbers-backed, honesty-gated project for the theme CPU · AutoFDO · up to ~10% kernel latency, mapped to reducing Fusion Compiler / signoff wall time.Framing (important)
tcp_rrliterature) — not “FC got 10% faster.”What’s in the folder
src/signoff_proxy.cpp— PD-shaped proxy + GCC PGO harnesssrc/dispatch_hot.cpp— mechanism (skewed switch) microbenchfarm/KERNEL_AUTOFDO.md+farm/FC_AB_MEASURE.md— farm cookbook / A/B templateWHITEAPER.md+ PDF,DEFEND_QA.md, mechanism GIF + figuresresults/SUMMARY.txt+CLAIM_GATE.txtfrom measured runsMeasured on authoring host
CITEABLE=yes_proxy_measured_neutral) — codegen changed (size), wall time did not improve on this cloud CPUReproduce
Three levers
Literature 10%
autofdo_fc_pipeline.gif
Test plan
make baseline pgo+./examples/compare_all.sh— MATCH correctness, CLAIM_GATE writtenmake mechanism+./examples/compare_mechanism.shTo show artifacts inline, enable in settings.