Skip to content
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

Further summonerd parallelization #3272

Merged
merged 3 commits into from
Nov 2, 2023

Conversation

cronokirby
Copy link
Contributor

Because some of the circuits are smaller, you want a slightly more intrusive level of parallelization for some operations,
in order to more effectively distribute work. This PR does that in a couple places.

Server Side

Deserialization, which needs to validate elements, now parallelizes the validation in each circuit. (The infamous scalar multiplications).

Client Side

Parallelize phase1 contribution creation further, now it consistently utilizes all cores.

The client side part is less important, since we don't control it, but it's still nice if beefier contributors can finish making their contribution faster.

This will pin down cores more effectively, which is nice for beefier or
high core laptops.
@cronokirby cronokirby temporarily deployed to smoke-test November 2, 2023 09:50 — with GitHub Actions Inactive
@cronokirby cronokirby temporarily deployed to smoke-test November 2, 2023 16:29 — with GitHub Actions Inactive
@cronokirby cronokirby temporarily deployed to smoke-test November 2, 2023 16:29 — with GitHub Actions Inactive
Copy link
Member

@redshiftzero redshiftzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I agree the deserialization methods are equivalent to the corresponding Arkworks ones

@cronokirby cronokirby merged commit 4a00776 into main Nov 2, 2023
9 checks passed
@cronokirby cronokirby deleted the summonerd-parallel-deserialization branch November 2, 2023 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants