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

zkVM framework benchmark #100

Open
Tracked by #95
hero78119 opened this issue Aug 6, 2024 · 4 comments
Open
Tracked by #95

zkVM framework benchmark #100

hero78119 opened this issue Aug 6, 2024 · 4 comments
Assignees

Comments

@hero78119
Copy link
Collaborator

hero78119 commented Aug 6, 2024

This issue is for tracking benchmark result in rolling update fasion

@hero78119
Copy link
Collaborator Author

hero78119 commented Aug 6, 2024

Benchmark create_proof
Commits: 7b5ce9f

RAYON_NUM_THREADS=16 cargo bench --bench riscv_add --package ceno_zkvm on 1:

  • 2^20 add instances take [737.24 ms 740.09 ms 742.92 ms], ~1.41Mhz
  • 2^21 add instances take [1.8537 s 1.8630 s 1.8716 s], ~768khz

RAYON_NUM_THREADS=8 cargo bench --bench riscv_add --package ceno_zkvm on 2:

  • 2^20 add instances take [1.0532 s 1.0681 s 1.0801 s], ~981khz
  • 2^21 add instances take [2.6562 s 2.6826 s 2.7102 s], ~782khz

Footnotes

  1. AMD EPYC 9R14 (16 phy cores) + 64GB memory

  2. AMD R7 5800x (8 phy cores) + 32GB memory

@hero78119 hero78119 self-assigned this Aug 6, 2024
@hero78119
Copy link
Collaborator Author

hero78119 commented Aug 15, 2024

Benchmark create_proof
Commits: a35d642

RAYON_NUM_THREADS=32 cargo bench --bench riscv_add --package ceno_zkvm on 1:

  • 2^20 add instances take 0.3870s, ~2.7Mhz
  • 2^21 add instances take 0.9035s, ~2.3Mhz

Footnotes

  1. AMD EPYC 9R14 (16 phy cores) + 64GB memory

@hero78119
Copy link
Collaborator Author

Benchmark create_proof on master branch after #91 merge
Command: RAYON_NUM_THREADS=32 cargo bench --bench riscv_add --package ceno_zkvm
Commits: 0a40721

RAYON_NUM_THREADS=32 cargo bench --bench riscv_add --package ceno_zkvm on 1:

  • 2^20 add instances take 0.3870s, ~2.7Mhz
  • 2^21 add instances take 0.9035s, ~2.3Mhz

more or less the same as prev result

Footnotes

  1. AMD EPYC 9R14 (16 phy cores) + 64GB memory

@hero78119
Copy link
Collaborator Author

hero78119 commented Sep 18, 2024

command

RAYON_NUM_THREADS=32 cargo bench --bench riscv_add --package ceno_zkvm -- --save-baseline baseline

A throught put drop (+43.176%) on command between 2 commits on master, see comparison 5a68423...71b1aa2

Need investigate reason

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

1 participant