Storagenode-benchmark so far is more an internal tool as itβs a bit more complicated to run it and we are still removing some issues from it as we are using it internally. Just small disclaimer
This benchmark is designed to tests uploads/downloads against full storage node binary. To run it:
- generate fake identities for satellite and storage node to separate things from existing configurations
- identity create satellite01 --difficulty 1
- identity create storagenode01 --difficulty 1
- run fake satellite
- storagenode-benchmark run-satellite --identity-dir
- create empty directory for benchmark
- run storage node for benchmark
storagenode setup --defaults=release --config-dir ./
storagenode run \
--storage2.trust.sources your_fake_satellite_id@localhost:7777 \
--config-dir ./ \
--identity-dir <fake-storagenode-identity> \
--operator.wallet <wallet> \
--contact.external-address "localhost:28967" \
--storage.allocated-disk-space "1TB" \
--storage2.piece-scan-on-startup=false \
--defaults=release \
--preflight.local-time-check=false \
--storage2.monitor.minimum-disk-space 10GB
- run benchmark
storagenode-benchmark run-benchmark --node-url fake_node_id@localhost:28967 --identity-dir <fake-satellite-id-dir>
This should be minimal set of things that need to be done to run this benchmark. If you will be still interested I can provide more details about some options that can be used to run it.