mratsim / constantine

Constantine: modular, high-performance, zero-dependency cryptography stack for verifiable computation, proof systems and blockchain protocols.
Other
413 stars 44 forks source link

Parallel MSM load balancing: minimize work per-thread #451

Open mratsim opened 4 months ago

mratsim commented 4 months ago

Currently the MSM scheduler is minimizing the global number of additions and doublings.

However to benefits from maximum parallelism it might be worthwhile to minimize per-thread number of additions and doublings even if there are slightly more globally.

Motivating example: