0xPolygonZero / plonky2

Apache License 2.0
745 stars 273 forks source link

plonky2 works very slow after MacOS Sonoma 14.4 has beed updated #1553

Closed xiyu1984 closed 4 months ago

xiyu1984 commented 4 months ago

It works nicely in the previous version of MacOS Sonoma, but after I updated it to Sonoma 14.4, everything slowed down. The underlying schedule of the parallel mechanism seems to have changed in Sonoma 14.4.

This may not be the problem of plonky2. Is there anyone met this problem too?

xiyu1984 commented 4 months ago

https://github.com/rayon-rs/rayon/issues/1144#issuecomment-1993024782

xiyu1984 commented 4 months ago

I'd found that if using CircuitConfig::wide_ecc_config() to make a circuit(plonky2-ecdsa for example), the problem mentioned above would happen. And if changing to CircuitConfig::standard_ecc_config(), the situation will be greatly alleviated.

Still, note that everything works fine before version 14.4 of MacOS Sonoma

xiyu1984 commented 4 months ago

https://github.com/rayon-rs/rayon/issues/1144#issuecomment-2014271964

plonky2-ecdsa is memory costly.