Create a test network using network namespaces and tc-netem
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trinity-1686a 5a8be6fc73 Merge pull request 'Upstreaming patches written for Garage's benchmark' (#1) from quentin/mknet:improvements into main 12 months ago
example Change env name + fix python casting 12 months ago
.gitignore mvp 1 year ago
LICENSE add license 12 months ago fix pip instruction 12 months ago
config.yml update to support garage new layout concept 1 year ago
mknet Change env name + fix python casting 12 months ago add support for upstream port and add garage example script 1 year ago Make mknet installable via pip 12 months ago



sudo pip3 install git+


sudo rm -rf /tmp/garage-testnet/ # always start by deleting previous run
sudo mknet create ./config.yml
sudo mknet run-all example/
sudo mknet run dc1:dc1s1 garage -c /tmp/garage-testnet/dc1/dc1s1/garage.toml status
sudo mknet destroy

Instrumented daemons

If you want to use the scripts provided in the example folder, you must add to your path some tools.

Garage (

# see versions on
export GRG_ARCH=x86_64-unknown-linux-musl
export GRG_VERSION=v0.5.0

sudo wget${GRG_VERSION}/${GRG_ARCH}/garage -O /usr/local/bin/garage
sudo chmod +x /usr/local/bin/garage

garage help

Minio (

sudo wget -O /usr/local/bin/minio
sudo chmod +x /usr/local/bin/minio