8000 GitHub - MichiganMoey/node-loadtesting: Stress test for M-Lab Kubernetes nodes
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MichiganMoey/node-loadtesting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 <start> <stop> <step> <target> <period>

Option descriptions:

  • <start>: The initial/starting number of concurrent NDT clients to launch against server.
  • <stop>: The maximum number of concurrent tests to launch against server.
  • <step>: Increments the number of concurrent tests against <server> by this amount each <period> from <start> until <stop> count is reached.
  • <target>: The target server to run the tests against. Default: mlab3v4-lga0t.mlab-sandbox.measurement-lab.org.
  • <period>: The amount of time to run each incremental number of concurrent tests before adding <step> more concurrent tests.

About

Stress test for M-Lab Kubernetes nodes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 92.1%
  • Dockerfile 7.9%
0