@@ -22,13 +22,21 @@ USER committer_benchmark
2222ENTRYPOINT [ "starknet_committer_cli" , "storage-benchmark" ]
2323# Default parameters for the storage benchmark:
2424# - run with 1000000 block iterations
25- # - use the provided storage directory and data directory (override for a persistent storage dir of
26- # a specific node)
27- # - checkpoint every 1000 blocks.
2825# - generate 4000 state diffs (new leaves) per block.
29- CMD ["1000000" , \
30- "--storage-path" , "/mnt/pd-ssd-new/storage" , \
31- "--data-path" , "/mnt/pd-ssd-new/committer_storage_benchmark" , \
32- "--checkpoint-interval" , "1000" \
33- "--n-diffs" , "4000" \
26+ # - use cached mdbx storage with a cache size of 1000000.
27+ # - checkpoint every 1000 blocks.
28+ # - log level is info.
29+ # - use the provided data, storage, output and checkpoint directories (override for a persistent storage dir of
30+ # a specific node)
31+
32+ CMD ["--n-iterations" , "1000000" , \
33+ "--n-diffs" , "4000" , \
34+ "--storage-type" , "cached-mdbx" , \
35+ "--cache-size" , "1000000" , \
36+ "--checkpoint-interval" , "1000" , \
37+ "--log-level" , "info" , \
38+ "--data-path" , "/mnt/data/committer_storage_benchmark" , \
39+ "--storage-path" , "/mnt/data/storage" , \
40+ "--output-dir" , "/mnt/data/csvs" , \
41+ "--checkpoint-dir" , "/mnt/data/checkpoints" \
3442 ]
0 commit comments