2022-12-12 15:48:26 +00:00
Wakurtosis
2022-10-13 16:46:01 +00:00
=====================
2022-12-12 15:48:26 +00:00
Starting version for Waku network simulations (https://github.com/waku-org/pm/issues/2)
2022-12-23 12:21:42 +00:00
More info about Kurtosis: https://docs.kurtosis.com/
2022-12-12 15:48:26 +00:00
### How to use:
2022-12-23 12:21:42 +00:00
#### Before using this repository note that:
2022-12-12 15:48:26 +00:00
2023-07-30 11:42:18 +00:00
- **You are using Kurtosis version 0.70.2**. This is important, as they are working on it and changes can be huge depending on different versions. You can find all Kurtosis versions [here ](https://github.com/kurtosis-tech/kurtosis-cli-release-artifacts/releases ).
2023-02-12 01:15:55 +00:00
- The topology files that will be used by default are defined in `config/topology_generated/` . This topology is created with the [gennet ](gennet-module/Readme.md ) module.
2023-02-12 02:01:38 +00:00
- Kurtosis can set up services in a parallel manner, defined in the `config.json` file (see below).
2022-12-23 12:21:42 +00:00
- Only `kurtosis` and `docker` are needed to run this.
2022-12-12 15:48:26 +00:00
2022-12-23 12:21:42 +00:00
#### How to run
2022-12-14 11:51:15 +00:00
2023-01-12 15:26:05 +00:00
From the root of the repo run:
2022-12-14 11:51:15 +00:00
2023-06-09 16:27:00 +00:00
`./build.sh`
`./run.sh <measurement_infra> [enclave_name] [config_file]`
2022-12-12 15:48:26 +00:00
2023-06-09 16:27:00 +00:00
There are 4 different measurements: `cadvisor` , `dstats` , `host-proc` , `container-proc` . The other parameters are optional.
2022-12-20 11:09:21 +00:00
2023-06-09 16:27:00 +00:00
By default, the enclave name is `wakurtosis` and the config file is in `config/config.json` .
2022-12-23 12:21:42 +00:00
2023-01-04 13:18:05 +00:00
#### JSON main configuration file options
2023-01-05 17:35:05 +00:00
These are arguments that can be modified:
2023-01-04 13:18:05 +00:00
2023-02-12 01:15:55 +00:00
- _prng_seed_: int. Seed to reproduce results.
2023-01-12 15:26:05 +00:00
- _enclave_name_: string. Default: **wakurtosis** . Defines the name of the Kurtosis enclave being created.
2023-06-09 16:27:00 +00:00
- _topology_path_: string. Topology information that will be read.
2023-02-12 02:01:38 +00:00
- _jobs_: int. Defines how many services will be instantiated at the same time.
2023-06-09 16:27:00 +00:00
- _interconnect_nodes_: It allows to skip the interconnection phase of the topology.
2023-02-12 02:01:38 +00:00
- _interconnection_batch_: int. If nodes are being connected by a given topology, this tells kurtosis how many connections will try to set up in the same node at a time. Used to avoid timeouts if a node has a lot of connections.
2023-02-12 01:15:55 +00:00
- [Gennet ](gennet-module/Readme.md ) module configuration
2023-06-09 16:27:00 +00:00
- [WLS ](wls-module/README.md ) module configuration
2023-01-12 15:26:05 +00:00