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

I want to run on arm architecture #235

Closed
KwonMinho opened this issue Dec 17, 2022 · 3 comments
Closed

I want to run on arm architecture #235

KwonMinho opened this issue Dec 17, 2022 · 3 comments

Comments

@KwonMinho
Copy link

Tried to run polygon zkevm on arm architecture. (with docker)

However, the zkevm-prover component did not run. (because of cpu architecture)

I have two questions here.

  1. Why arm architecture is not supported by zkevm-prover?.. What are the challenges?

  2. Is there any way to run zkevm-prover on arm architecture?

@KwonMinho
Copy link
Author

@eduadiez
Copy link
Contributor

eduadiez commented Dec 21, 2022

Why arm architecture is not supported by zkevm-prover?

Mainly it's currently not supported because we have implemented optimizations only for the x86_64 architecture, especially for the case of BN128 curve since we use ffiasm, although we also have optimizations for goldilocks with the AVX2 instruction set.

What are the challenges?

In order to reach a performance level close to x86_64, it would be necessary to have a vectorized version with the ARM instruction set for both primes.

Is there any way to run zkevm-prover on arm architecture?

Sorry but it's not possible at this time

Also keep in mind that ~480GB of available ram is currently required, and there are not many ARM instances with this capacity

@KwonMinho
Copy link
Author

Interesting!!

thank you for the reply.

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