Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Adjust efficient num workers for Apple M1 Max #223

@maht0rz

Description

@maht0rz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions