stress-ng workload plugin for Arcaflow
This plugin provides the functionality of stress-ng with various stressors using the Arcaflow python SDK.
To run directly with the Arcaflow engine:
In order to run the arca-stressng plugin follow these steps:
Containerized
- Clone this repository
- Create the container with either
docker build -t arca-stressng <clone-directory>
orpodman build -t arca-stressng <clone-directory>
- Run the container with either
cat stressng_example.yaml | docker run -i arca-stressng -f -
orcat stressng_example.yaml | podman run -i arca-stressng -f -
Native
- Prerequisite: stress-ng needs to be installed on your system *
- Clone this repository
- Create a python
venv
in the current directory withpython3 -m venv ./venv
- Activate the
venv
by runningsource ./venv/bin/activate
- Run
pip install -r requirements.txt
- Edit
stressng_example.yaml
to suit your needs - Run
./stressng_plugin.py -f stressng_example.yaml