mirror of https://github.com/vacp2p/dst-shadow.git
2934aa98e3 | ||
---|---|---|
nimbledeps | ||
tools | ||
vendor | ||
.gitignore | ||
.gitmodules | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
add_submodule.sh | ||
cron_runner.sh | ||
dstnode.nimble | ||
main.nim | ||
nimbus-build-system.paths | ||
runner.sh |
README.md
dst-gossipsub-test-node
- DST gossipsub test node
- incl shadow simulation setup
Shadow example
nimble install -dy
cd shadow
# the default shadow.yml will start 5k nodes, you might want to change that by removing
# lines and setting PEERS to the number of instances
./run.sh
# the output is a "latencies" file, or you can find each host output in the
# data.shadow folder
# you can use the plotter tool to extract useful metrics & generate a graph
cd ../tools
nim -d:release c plotter
./plotter ../shadow/latencies "Clever graph name"
# will output averages, and generate a "test.svg" graph
The dependencies will be installed in the nimbledeps
folder, which enables easy tweaking