-
Notifications
You must be signed in to change notification settings - Fork 508
DO NOT SUBMIT: halve ultra honk degree #17124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: merge-train/barretenberg
Are you sure you want to change the base?
Conversation
Results of running the
|
7ebf5b5
to
4b4c226
Compare
Sumcheck.prove Degree Scaling AnalysisExecutive SummaryAnalysis of performance changes in Performance Data TablesCircuit Size 2^15
Circuit Size 2^20
Summary Statistics
Key FindingsComponents That Scale with DegreeThese components show significant performance improvements when degrees are halved: 1. accumulate_relation_univariates ✅
2. batch_over_relations ✅
Components That DON'T Scale with DegreeThese components show little to no improvement when degrees are halved: 1. extend_edges ❌
2. partially_evaluate ❌
3. PartiallyEvaluatedMultivariates constructor ❌
4. GateSeparatorPolynomial::compute_beta_products ❌
5. extend_edges in compute_virtual_contribution ❌
Overall Performance ImpactCircuit Size 2^15
Circuit Size 2^20
Bottleneck AnalysisPrimary Bottlenecks (Degree-Independent)
Secondary Bottlenecks (Partially Degree-Dependent)
RecommendationsSome of these AI recommendations may not make sense but I'll just leave them here Short-term Optimizations
Long-term Architectural Considerations
ConclusionHalving the relation degrees provides a 11-12% improvement in total sumcheck.prove time, but 78-82% of the computation remains degree-independent. The primary bottlenecks are:
These degree-independent operations dominate the runtime and represent the best opportunities for further optimization. |
This PR is not intended to be merged, but only serve as testing the performance when the degree is reduced.
Before halving the degree:
After halving the degree: