Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-lab/node-loadtesting
Stress test for M-Lab Kubernetes nodes
https://github.com/m-lab/node-loadtesting
Last synced: about 1 month ago
JSON representation
Stress test for M-Lab Kubernetes nodes
- Host: GitHub
- URL: https://github.com/m-lab/node-loadtesting
- Owner: m-lab
- License: apache-2.0
- Created: 2016-05-23T18:54:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T23:10:54.000Z (over 1 year ago)
- Last Synced: 2024-10-29T13:45:39.587Z (about 2 months ago)
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NDT Load Test
## Pre-Requisites
* Access to at least one M-Lab sandbox node from which you will launch the
load test.
* **IMPORTANT**: disable the TxController of the target ndt-server. If you do
not do this, the load testing will not work. One easy way to do this is to
manually edit the `ndt` DaemonSet in the mlab-sandbox cluster (`kubectl
edit ds ndt`) and set `-txcontroller.max-rate=0`. This will affect all
ndt-servers in the mlab-sandbox cluster, so don't forget to undo this
change when you are done.## Running tests
On the M-Lab sandbox node, run something like the following:
```
# docker run --rm --workdir=/root/bin --net=host --tty \
measurementlab/node-loadtesting:v1.0.0 ./run.sh 50 250 10
```run.sh accepts five arguments, the first three of which are required:
```
./run.sh
```Option descriptions:
* _\_: The initial/starting number of concurrent NDT clients to launch
against _server_.
* _\_: The maximum number of concurrent tests to launch against _server_.
* _\_: Increments the number of concurrent tests against _\_ by
this amount each _\_ from _\_ until _\_ count is reached.
* _\_: The target server to run the tests against.
Default: mlab3v4-lga0t.mlab-sandbox.measurement-lab.org.
* _\_: The amount of time to run each incremental number of concurrent
tests before adding _\_ more concurrent tests.