Skip to content

Commit ef65085

Browse files
Update benchmarks.md
1 parent 9f5ea70 commit ef65085

1 file changed

Lines changed: 21 additions & 19 deletions

File tree

aggregation_mode/benchmarks.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- **GPU**: NVIDIA RTX 3090 (24GB VRAM)
66
- **RAM**: 32GB
7-
- **CPU**: AMD EPYC 7443 (24-Core)
7+
- **CPU**: AMD EPYC 7443 (16-Core)
88
- **Operating System**: Ubuntu
99

1010
## Benchmark Setup
@@ -23,11 +23,15 @@
2323

2424
The step by step to run the benchmarks:
2525

26-
1. Deploy aligned infrastructure locally with `ethereum-package`.
26+
1. Deploy aligned infrastructure locally with `ethereum-package`, see the [guide here](https://github.com/yetanotherco/aligned_layer/blob/testnet/docs/0_internal/ethereum_package.md).
2727
2. Fund a wallet on aligned, for example with rich account number 7:
28+
```shell
29+
# Install aligned cli
30+
make aligned_install_compiling
31+
```
2832

2933
```shell
30-
cargo run --release -- deposit-to-batcher \
34+
aligned deposit-to-batcher \
3135
--network devnet \
3236
--private_key 0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356 \
3337
--amount 1ether
@@ -36,25 +40,23 @@ cargo run --release -- deposit-to-batcher \
3640
3. Send `3968` fibonacci proofs for `Risc0` and `Sp1`:
3741

3842
```shell
39-
cd batcher/aligned
40-
4143
## Send SP1 Proofs
42-
cargo run --release -- submit \
44+
aligned submit \
4345
--proving_system SP1 \
44-
--proof ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
45-
--vm_program ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.elf \
46-
--repetitions 1000 \
46+
--proof scripts/test_files/sp1/sp1_fibonacci_5_0_0.proof \
47+
--vm_program scripts/test_files/sp1/sp1_fibonacci_5_0_0.elf \
48+
--repetitions 3968 \
4749
--private_key 0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356 \
4850
--instant_fee_estimate \
4951
--network devnet \
5052
--random_address
5153

5254
## Send Risc0 Proofs
53-
cargo run --release -- submit \
55+
aligned submit \
5456
--proving_system Risc0 \
55-
--proof ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_0.proof \ -
56-
--vm_program ../../scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_0.bin \
57-
--public_input ../../scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_0.pub \
57+
--proof scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_0.proof \
58+
--vm_program scripts/test_files/risc_zero/fibonacci_proof_generator/fibonacci_id_2_0.bin \
59+
--public_input scripts/test_files/risc_zero/fibonacci_proof_generator/risc_zero_fibonacci_2_0.pub \
5860
--repetitions 3968 \
5961
--private_key 0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356
6062
```
@@ -77,9 +79,9 @@ time make start_proof_aggregator_gpu_ethereum_package AGGREGATOR=risc0
7779

7880
**Performance Summary:**
7981

80-
- **Verification Time (Start to Aggregation Start)**: **4 minutes 56 seconds**
81-
- **Aggregation Time (Agg to End)**: **132.93 minutes**
82-
- **Total Time (Start to End)**: **137.87 minutes**
82+
- **Verification Time**: **4 minutes 56 seconds**
83+
- **Aggregation Time**: **132.93 minutes**
84+
- **Total Time**: **137.87 minutes**
8385

8486
---
8587

@@ -91,9 +93,9 @@ time make start_proof_aggregator_gpu_ethereum_package AGGREGATOR=risc0
9193

9294
**Performance Summary:**
9395

94-
- **Verification Time (Start to Aggregation Start)**: **33 minutes 45 seconds**
95-
- **Aggregation Time (Agg to End)**: **31 minutes 47 seconds**
96-
- **Total Time (Start to End)**: **92 minutes**
96+
- **Verification Time**: **33 minutes 45 seconds**
97+
- **Aggregation Time**: **31 minutes 47 seconds**
98+
- **Total Time**: **92 minutes**
9799

98100
---
99101

0 commit comments

Comments
 (0)