diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 6 insertions, 21 deletions
@@ -5,42 +5,27 @@ locally thanks to network namespaces and traffic control (tc). ## Prepare your environment -Get the repository and its submodules: +Get the repository: ```bash git clone https://git.deuxfleurs.fr/Deuxfleurs/mknet.git cd mknet -git submodule update --init ``` -Compile benchmark tools: +Run our configuration script: ```bash -( cd benchmarks/warp && go build ) -( cd benchmarks/s3concurrent && go build ) -( cd benchmarks/s3lat && go build ) +./prepare.py ``` -Switch to root as it is required by our tool, -and setup your python environment. +Now, you are ready to launch an experiment: ```bash sudo -i -pip3 install --user . -( cd scenarios && pip3 install --user -r requirements.txt ) -``` - -Sometimes, it is required to add manually your local python lib folder to the environment: - -```bash -export PYTHONPATH=$PYTHONPATH:$HOME/.local/lib/python3.10/site-packages/ +source .venv/bin/activate +./mknet scenario ./topo/50ms.yml ./scenarios/garage-s3lat garage-v0.8 ``` -You can check that everything has been installed by running in a python REPL: - -``` -import garage_admin_sdk -``` ## Topologies |