wakurtosis/wls-module
Alberto Soutullo 557e149a2e Added tests for Moved node builder star files to types folder.py 2023-03-10 12:41:10 +01:00
..
src Added tests for Moved node builder star files to types folder.py 2023-03-10 12:41:10 +01:00
.dockerignore Simplify dockerfiles and mark files as executable 2023-03-10 12:41:00 +01:00
Dockerfile Refactor and restructured wls 2023-03-10 12:41:08 +01:00
README.md Renamed propperly WSL to WLS to avoid confussions 2023-03-10 12:40:54 +01:00
__init__.py Refactor and restructured wls 2023-03-10 12:41:08 +01:00
build.sh Refactor and restructured wls 2023-03-10 12:41:08 +01:00
requirements.txt Renamed propperly WSL to WLS to avoid confussions 2023-03-10 12:40:54 +01:00
wls.py First refactor after rebase with Analysis 2023-03-10 12:41:07 +01:00

README.md

Wakurtosis Load Simualtor (WLS)

Kurtosis: https://docs.kurtosis.com/

How to use:

To build docker image: sh ./build.sh

Name of the image is wls:0.0.1

Parameters

  • simulation_time: int. Default: 300. Specifies the simulation time in seconds.
  • message_rate: int. Default: 25. Specifies the message rate in packets per second.
  • min_packet_size: int. Default: 1. Specifies the minimum size of the packet in bytes. Must be an even number (Waku constrain).
  • min_packet_size: int. Default: 1024. Specifies the maximum size of the packet in bytes. Must be an even number (Waku constrain).
  • dist_type: int. Default: uniform. Specifies the size distribution of the messages being injected into the network. Options are: gaussian and uniform
  • emitters_fraction: int. Default: 0.5. Specifies the fraction of nodes that will be injecting traffic.
  • inter_msg_type: int. Default: poisson. Specifies the inter-message times. Options are: poisson and uniform

dist_type : "gaussian"

# Fraction (of the total number of nodes) that inject traffic
# Values: [0., 1.]
emitters_fraction : 0.5

# Inter-message times
# Values: uniform and gaussian
inter_msg_type : "uniform"