Skip to content

Commit eb5f0ec

Browse files
committed
profiling with info_span && update openvm dep to scroll-tech ceno branch
1 parent a47b8dc commit eb5f0ec

File tree

9 files changed

+599
-447
lines changed

9 files changed

+599
-447
lines changed

Cargo.lock

Lines changed: 267 additions & 269 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -139,40 +139,40 @@ openvm-cuda-backend = { git = "https://github.com/openvm-org/stark-backend.git",
139139
# the openvm-sdk commit doesn't change any guest libraries, they are compatible
140140
# This allows us to not update revm and openvm-kzg each time we change openvm-sdk
141141
# Using main from 10/13/2025 for now
142-
openvm-build = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
143-
openvm = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
144-
openvm-transpiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
145-
openvm-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
146-
openvm-continuations = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
147-
openvm-benchmarks-prove = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
148-
openvm-keccak256-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
149-
openvm-keccak256-transpiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
150-
openvm-rv32im-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
151-
openvm-rv32im-transpiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
152-
openvm-bigint-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
153-
openvm-bigint-transpiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
154-
openvm-algebra-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
155-
openvm-algebra-transpiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
156-
openvm-ecc-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
157-
openvm-ecc-transpiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
158-
openvm-pairing-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
159-
openvm-sdk = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
160-
openvm-native-circuit = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
161-
openvm-native-compiler = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
162-
openvm-native-recursion = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
163-
openvm-algebra-guest = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
164-
openvm-ecc-guest = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
165-
openvm-keccak256 = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
166-
openvm-pairing = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false, features = [
142+
openvm-build = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
143+
openvm = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
144+
openvm-transpiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
145+
openvm-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
146+
openvm-continuations = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
147+
openvm-benchmarks-prove = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
148+
openvm-keccak256-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
149+
openvm-keccak256-transpiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
150+
openvm-rv32im-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
151+
openvm-rv32im-transpiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
152+
openvm-bigint-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
153+
openvm-bigint-transpiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
154+
openvm-algebra-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
155+
openvm-algebra-transpiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
156+
openvm-ecc-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
157+
openvm-ecc-transpiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
158+
openvm-pairing-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
159+
openvm-sdk = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
160+
openvm-native-circuit = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
161+
openvm-native-compiler = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
162+
openvm-native-recursion = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
163+
openvm-algebra-guest = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
164+
openvm-ecc-guest = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
165+
openvm-keccak256 = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
166+
openvm-pairing = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false, features = [
167167
"bn254",
168168
"bls12_381",
169169
] }
170-
openvm-sha2 = { git = "https://github.com/openvm-org/openvm.git", branch = "main", default-features = false }
170+
openvm-sha2 = { git = "https://github.com/scroll-tech/openvm.git", branch = "feat/v1.4.1-scroll-ext", default-features = false }
171171

172172
openvm-kzg = { git = "https://github.com/axiom-crypto/openvm-kzg.git", branch = "openvm-main", default-features = false }
173173

174-
openvm-k256 = { git = "https://github.com/openvm-org/openvm.git", package = "k256", branch = "main" }
175-
openvm-p256 = { git = "https://github.com/openvm-org/openvm.git", package = "p256", branch = "main" }
174+
openvm-k256 = { git = "https://github.com/scroll-tech/openvm.git", package = "k256", branch = "feat/v1.4.1-scroll-ext" }
175+
openvm-p256 = { git = "https://github.com/scroll-tech/openvm.git", package = "p256", branch = "feat/v1.4.1-scroll-ext" }
176176

177177
[patch."https://github.com/scroll-tech/ceno-gpu-mock.git"]
178178
ceno_gpu = { git = "ssh://git@github.com/scroll-tech/ceno-gpu.git", package = "cuda_hal", branch = "main", default-features = false, features = ["bb31"] }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cargo build --release --feature profiling
2424
below command fetch L1 block `23817600` (without recursion)
2525

2626
```
27-
RUSTFLAGS="-C target-feature=+avx2" JEMALLOC_SYS_WITH_MALLOC_CONF=retain:true,metadata_thp:always,thp:always,dirty_decay_ms:-1,muzzy_decay_ms:-1 RUST_LOG=off,ceno_emul=debug,ceno_host=debug,ceno_zkvm=debug cargo run --features jemalloc --bin ceno-reth-benchmark-bin --release -- --block-number 23817600 --rpc-url <rpc url> --cache-dir block_data --mode prove-app
27+
OUTPUT_PATH="metrics.json" RUSTFLAGS="-C target-feature=+avx2" JEMALLOC_SYS_WITH_MALLOC_CONF=retain:true,metadata_thp:always,thp:always,dirty_decay_ms:-1,muzzy_decay_ms:-1 RUST_LOG=info cargo run --features jemalloc --bin ceno-reth-benchmark-bin --release -- --block-number 23817600 --rpc-url <rpc url> --cache-dir block_data --mode prove-app
2828
```
2929

3030
To prove with GPU, add `--features gpu --config net.git-fetch-with-cli=true` as [ceno-gpu](https://github.com/scroll-tech/ceno-gpu) is non-public repo

bin/ceno-host/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ metrics = ["openvm-reth-benchmark/metrics"]
2424
evm-verify = ["openvm-reth-benchmark/evm-verify"]
2525
perf-metrics = ["openvm-reth-benchmark/perf-metrics"]
2626
tco = ["openvm-reth-benchmark/tco"]
27-
aot = ["openvm-reth-benchmark/aot"]
27+
# aot = ["openvm-reth-benchmark/aot"]
2828
mimalloc = ["openvm-reth-benchmark/mimalloc"]
2929
jemalloc = ["openvm-reth-benchmark/jemalloc"]
3030
nightly-features = ["openvm-reth-benchmark/nightly-features"]

0 commit comments

Comments
 (0)