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

Adjust efficient num workers for Apple M1 Max #223

Open
maht0rz opened this issue Dec 16, 2023 · 1 comment
Open

Adjust efficient num workers for Apple M1 Max #223

maht0rz opened this issue Dec 16, 2023 · 1 comment

Comments

@maht0rz
Copy link

maht0rz commented Dec 16, 2023

I was investigating proving performance on Apple M1 Max, and managed to double the proving speed by adjusting the number of threads/workers used in this config:

'Apple M1 Max': 3,

The associated issue has apparently been fixed in newer chromium (?) and/or nodejs. So i've upgraded to nodejs v21.4.0 and set the num workers to 7, which double my proving speed for 2^16 constraints from ~50s to ~24s.

I'm unsure of all implications this has for the bindings or o1js in general, but its a significant improvement from my sparse testing.

@mitschabaude
Copy link
Contributor

Nice! Let's change the config then

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

No branches or pull requests

2 participants