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

Graviton compilation target #1084

Merged
merged 3 commits into from
Oct 10, 2023
Merged

Graviton compilation target #1084

merged 3 commits into from
Oct 10, 2023

Conversation

bobbinth
Copy link
Contributor

@bobbinth bobbinth commented Oct 3, 2023

This PR adds Graviton compilation target to the makefile. When compiling to this target we enable sve feature on miden-crypto recently introduced in 0xPolygonMiden/crypto#190.

I also bumped up minimum rustc version to 1.73 (this should address #917) and generally cleaned up .toml files a bit.

Performance impact

The time it takes to generate a proof for a program taking $2^{20}$ cycles on a 64-core Graviton3 instance:

Hash function used SVE acceleration Time (seconds) Implied frequency Baseline multiple
BLAKE3 No 3.9 268 KHz 1x
RPO256 No 22.1 47 Khz 5.7x
RPO256 Yes 15.2 69 Khz 3.9x

Copy link
Contributor

@hackaugusto hackaugusto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bobbinth bobbinth merged commit 082affc into next Oct 10, 2023
15 checks passed
@bobbinth bobbinth deleted the bobbin-graviton branch October 10, 2023 21:05
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

Successfully merging this pull request may close these issues.

2 participants